${function() {
const variantData = data.variant || {"id":"3ecce170-4ee9-490f-b514-0f9ccbb8bf98","product_id":"34326477-94e9-4503-a81b-396db0238156","title":"coffee-M","weight_unit":"kg","inventory_quantity":0,"sku":"66230510976-coffee-M","barcode":"","position":9,"option1":"coffee","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2760610ab179a2b941f4f718d67aa648.jpeg","path":"2760610ab179a2b941f4f718d67aa648.jpeg","width":800,"height":800,"alt":"Literary lazy design sense of cotton and linen skirt","aspect_ratio":1},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"49","price":"38.99","retail_price":"49","available":true,"url":"\/products\/literary-lazy-design-sense-of-cotton-and-linen-skirt?variant=3ecce170-4ee9-490f-b514-0f9ccbb8bf98","available_quantity":999999999,"options":[{"name":"color","value":"coffee"},{"name":"size","value":"M"}],"off_ratio":20,"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.