${function() {
const variantData = data.variant || {"id":"07d30092-b0ac-4ad0-94ee-7593f5e7e721","product_id":"13f253e9-b709-4fed-9c28-5d599754038f","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"x099-240412-04-KZ7Z3X3DRV-white-S","barcode":"","position":6,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9774b0dc767389c462ce3e7490892bf6.jpeg","path":"9774b0dc767389c462ce3e7490892bf6.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"300","compare_at_price":"25.99","price":"25.99","retail_price":"25.99","available":true,"url":"\/products\/mens-cotton-and-linen-lace-casual-wristband-pocket-casual-shirt?variant=07d30092-b0ac-4ad0-94ee-7593f5e7e721","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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.