${function() {
const variantData = data.variant || {"id":"3ff1724d-a1f2-4d48-be31-abfb21e994ec","product_id":"74d3b3a0-7049-4942-acb9-9ef5a2c62f96","title":"white-M","weight_unit":"kg","inventory_quantity":1000,"sku":"1415171091141279746","barcode":"","position":1,"option1":"white","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/93a23876dd22cb0df5997968182c69d9.jpeg","path":"93a23876dd22cb0df5997968182c69d9.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.12,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32.12","retail_price":"0","available":true,"url":"\/products\/mens-casual-long-three-quarter-sleeve-plain-shirt?variant=3ff1724d-a1f2-4d48-be31-abfb21e994ec","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.
${function(){
const variantData = data.variant || {"id":"3ff1724d-a1f2-4d48-be31-abfb21e994ec","product_id":"74d3b3a0-7049-4942-acb9-9ef5a2c62f96","title":"white-M","weight_unit":"kg","inventory_quantity":1000,"sku":"1415171091141279746","barcode":"","position":1,"option1":"white","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/93a23876dd22cb0df5997968182c69d9.jpeg","path":"93a23876dd22cb0df5997968182c69d9.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.12,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32.12","retail_price":"0","available":true,"url":"\/products\/mens-casual-long-three-quarter-sleeve-plain-shirt?variant=3ff1724d-a1f2-4d48-be31-abfb21e994ec","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}