${function() {
const variantData = data.variant || {"id":"a4d4a7cd-f8a7-4104-b08b-6a2b84475e15","product_id":"962947e3-13a2-4183-9d90-9d8ed30244d4","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS266792-GRN00S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e2f2a3c6db7b806ef75627c8934cc4ae.jpeg","path":"e2f2a3c6db7b806ef75627c8934cc4ae.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"38.99","price":"24.99","retail_price":"38.99","available":true,"url":"\/products\/womens-casual-imaging-all-the-people-living-life-in-peace-print-long-sleeved-sweatshirt?variant=a4d4a7cd-f8a7-4104-b08b-6a2b84475e15","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":36,"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.