${function() {
const variantData = data.variant || {"id":"5d92d6f3-c1c3-4322-b9f6-c11d608e51f0","product_id":"c3aeb11f-e85c-4c1b-9bc4-4a3da05e0d7a","title":"Green-S","weight_unit":"kg","inventory_quantity":998,"sku":"WSS259578-GRN00S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/edde9e815321fb7c9d2dcb6c4852d267.jpeg","path":"edde9e815321fb7c9d2dcb6c4852d267.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=5d92d6f3-c1c3-4322-b9f6-c11d608e51f0","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"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.