${function() {
const variantData = data.variant || {"id":"9822c20f-15d1-44ea-92dd-5f12c56d20d3","product_id":"bfc7569f-25f2-469c-ad62-02a427e92d5f","title":"Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"K557465700848803840","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1befd66ffc0781b0af3d1dbfb2c5ff14.png","path":"1befd66ffc0781b0af3d1dbfb2c5ff14.png","width":675,"height":900,"alt":"Women's Dog Mama Print Round Neck Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"38.99","price":"22.99","retail_price":"38.99","available":true,"url":"\/products\/womens-dog-mama-print-round-neck-sweatshirt?variant=9822c20f-15d1-44ea-92dd-5f12c56d20d3","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":476};
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":"9822c20f-15d1-44ea-92dd-5f12c56d20d3","product_id":"bfc7569f-25f2-469c-ad62-02a427e92d5f","title":"Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"K557465700848803840","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1befd66ffc0781b0af3d1dbfb2c5ff14.png","path":"1befd66ffc0781b0af3d1dbfb2c5ff14.png","width":675,"height":900,"alt":"Women's Dog Mama Print Round Neck Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"38.99","price":"22.99","retail_price":"38.99","available":true,"url":"\/products\/womens-dog-mama-print-round-neck-sweatshirt?variant=9822c20f-15d1-44ea-92dd-5f12c56d20d3","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":476};
return `
`
}()}