${function() {
const variantData = data.variant || {"id":"e932ccd8-564e-46aa-90ef-fbe35a90b267","product_id":"a2d88fb4-f8be-4c8b-be46-e97ba4d3d40b","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"K566207308580720640","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/25cea822363ffd6c4ed8051bcff72f5b.jpeg","path":"25cea822363ffd6c4ed8051bcff72f5b.jpeg","width":736,"height":981,"alt":"","aspect_ratio":0.7502548419979612},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"33.99","price":"24.99","retail_price":"33.99","available":true,"url":"\/products\/mens-ukiyoe-snow-mountain-moon-landscape-art-print-sweatshirt2c289758-b4e9-4c0f-b9a2-b8b6f39ab721?variant=e932ccd8-564e-46aa-90ef-fbe35a90b267","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":2};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.