${function() {
const variantData = data.variant || {"id":"6054df25-eb05-4696-9076-f4b329759786","product_id":"79a5aaa3-a629-44d2-ba1b-bf2b064826c3","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS263872-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f01e10949776122b4dea94aeea5687dc.jpeg","path":"f01e10949776122b4dea94aeea5687dc.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"42.99","price":"26.99","retail_price":"42.99","available":true,"url":"\/products\/womens-lahaina-maui-strong-print-sweatshirt-2?variant=6054df25-eb05-4696-9076-f4b329759786","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":37,"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.