${function() {
const variantData = data.variant || {"id":"fce85822-a635-47f6-b788-6583b4818acc","product_id":"ce3c7a3a-1d4a-43de-a0e0-9c8ea4401838","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS262474-WHI00S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/74a92a0d71f1d7f13ca6701cfd26c359.jpeg","path":"74a92a0d71f1d7f13ca6701cfd26c359.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"42.59","price":"29.99","retail_price":"42.59","available":true,"url":"\/products\/womens-lahaina-strong-printed-casual-sweatshirt?variant=fce85822-a635-47f6-b788-6583b4818acc","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":2};
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.