${function() {
const variantData = data.variant || {"id":"96048f5d-3e4a-45a3-ba6f-a6fc21076fce","product_id":"1e8be42b-0ae5-4cfa-b276-ecc80a92ed68","title":"Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"K565721108143951872","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1e2fc21237846ce34c1a2978da7c80b8.jpeg","path":"1e2fc21237846ce34c1a2978da7c80b8.jpeg","width":900,"height":1200,"alt":"Women's Running Dachshund Dog Floral Print Casual Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"39.99","price":"22.99","retail_price":"39.99","available":true,"url":"\/products\/womens-running-dachshund-dog-floral-print-casual-sweatshirt?variant=96048f5d-3e4a-45a3-ba6f-a6fc21076fce","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":359};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Gray
${function(){
const optName = "Color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (': ' + optionValue) : '';
return `
${optionValueText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Size
: S
${function(){
const optName = "Size";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (': ' + optionValue) : '';
return `
${optionValueText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"96048f5d-3e4a-45a3-ba6f-a6fc21076fce","product_id":"1e8be42b-0ae5-4cfa-b276-ecc80a92ed68","title":"Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"K565721108143951872","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1e2fc21237846ce34c1a2978da7c80b8.jpeg","path":"1e2fc21237846ce34c1a2978da7c80b8.jpeg","width":900,"height":1200,"alt":"Women's Running Dachshund Dog Floral Print Casual Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"39.99","price":"22.99","retail_price":"39.99","available":true,"url":"\/products\/womens-running-dachshund-dog-floral-print-casual-sweatshirt?variant=96048f5d-3e4a-45a3-ba6f-a6fc21076fce","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":359};
return `
`
}()}