${function() {
const variantData = data.variant || {"id":"2a7672a4-41a2-4286-9277-33b101028469","product_id":"cd8d541b-3bf6-4bc0-bc7c-ff52266abfce","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS265801-GRN00S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bc7679c82ff4442cc72c30d5cca49f51.jpeg","path":"bc7679c82ff4442cc72c30d5cca49f51.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"41.99","price":"25.99","retail_price":"41.99","available":true,"url":"\/products\/and-i-think-to-myself-what-a-woderful-world-hippie-womens-casual-long-sleeved-sweater-3?variant=2a7672a4-41a2-4286-9277-33b101028469","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":1};
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.