${function() {
const variantData = data.variant || {"id":"386b0eb4-b4f3-4177-8fb0-72fa9023b855","product_id":"fe9e9bbd-446d-46c1-b9a6-72193ce3e16b","title":"White-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-White-M-A00428541","barcode":"","position":1,"option1":"White","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ec6c3150907ede43deb8f2887ec699f1.jpeg","path":"ec6c3150907ede43deb8f2887ec699f1.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"71.99","price":"35.99","retail_price":"71.99","available":true,"url":"\/products\/mens-casual-fashion-polo-suit-ri2i?variant=386b0eb4-b4f3-4177-8fb0-72fa9023b855","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"M"}],"off_ratio":50,"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.
${function(){
const variantData = data.variant || {"id":"386b0eb4-b4f3-4177-8fb0-72fa9023b855","product_id":"fe9e9bbd-446d-46c1-b9a6-72193ce3e16b","title":"White-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-White-M-A00428541","barcode":"","position":1,"option1":"White","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ec6c3150907ede43deb8f2887ec699f1.jpeg","path":"ec6c3150907ede43deb8f2887ec699f1.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"71.99","price":"35.99","retail_price":"71.99","available":true,"url":"\/products\/mens-casual-fashion-polo-suit-ri2i?variant=386b0eb4-b4f3-4177-8fb0-72fa9023b855","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}