${function() {
const variantData = data.variant || {"id":"3f2d4286-8607-42f5-b04b-3669be10d866","product_id":"9dad7e08-7014-4b06-8682-3d305d02fcf8","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LSN-White-S-A00441624","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/31b165fa493a6be768ff0d4927d3456e.jpeg","path":"31b165fa493a6be768ff0d4927d3456e.jpeg","width":1200,"height":1596,"alt":"","aspect_ratio":0.7518796992481203},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"33.99","price":"23.99","retail_price":"33.99","available":true,"url":"\/products\/cotton-and-linen-botanical-print-crew-neck-loose-shirt?variant=3f2d4286-8607-42f5-b04b-3669be10d866","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":29,"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":"3f2d4286-8607-42f5-b04b-3669be10d866","product_id":"9dad7e08-7014-4b06-8682-3d305d02fcf8","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LSN-White-S-A00441624","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/31b165fa493a6be768ff0d4927d3456e.jpeg","path":"31b165fa493a6be768ff0d4927d3456e.jpeg","width":1200,"height":1596,"alt":"","aspect_ratio":0.7518796992481203},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"33.99","price":"23.99","retail_price":"33.99","available":true,"url":"\/products\/cotton-and-linen-botanical-print-crew-neck-loose-shirt?variant=3f2d4286-8607-42f5-b04b-3669be10d866","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":0};
return `
`
}()}