${function() {
const variantData = data.variant || {"id":"e79660a1-3867-4c1d-a40e-e745653cff15","product_id":"c3aeb11f-e85c-4c1b-9bc4-4a3da05e0d7a","title":"Blue-S","weight_unit":"kg","inventory_quantity":997,"sku":"WSS259578-BLU00S","barcode":"","position":7,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f86d8bfee97e38b4ee6096f294f9823c.jpeg","path":"f86d8bfee97e38b4ee6096f294f9823c.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"37.99","price":"24.99","retail_price":"37.99","available":true,"url":"\/products\/womens-lahaina-strong-support-hawaii-maui-sweatshirt-4?variant=e79660a1-3867-4c1d-a40e-e745653cff15","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":34,"flashsale_info":[],"sales":147};
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.