${function() {
const variantData = data.variant || {"id":"36667d42-d506-41b6-84e6-32bee0f37046","product_id":"4d731508-6c16-4d5c-91b3-fe69ba72b456","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS266292-GRN00S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6a7df8f337776c744a826a1f15f86f9d.jpeg","path":"6a7df8f337776c744a826a1f15f86f9d.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"25.99","retail_price":"39.99","available":true,"url":"\/products\/and-i-think-to-myself-what-a-woderful-world-hippie-womens-casual-long-sleeved-sweater-5?variant=36667d42-d506-41b6-84e6-32bee0f37046","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":35,"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.