${function() {
const variantData = data.variant || {"id":"b2b37d69-d4b4-4c36-88a3-42d963678809","product_id":"e6405b1e-0fc5-4b77-ba8d-29703d326c9f","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS258406-GRN00S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f175b2a40e1092d4477fc3f3bb9f2d14.jpeg","path":"f175b2a40e1092d4477fc3f3bb9f2d14.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"35.99","price":"23.99","retail_price":"35.99","available":true,"url":"\/products\/womens-lahaina-strong-print-sweatshirt?variant=b2b37d69-d4b4-4c36-88a3-42d963678809","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":33,"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.