${function() {
const variantData = data.variant || {"id":"1f4f6337-d3be-4eb2-9080-b363abe0d8a0","product_id":"c2530b10-cb2c-440c-bbcd-0a5dc2407213","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS257909-GRN00S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2d941687b1d785187beb108080491864.jpeg","path":"2d941687b1d785187beb108080491864.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"46.99","price":"24.99","retail_price":"46.99","available":true,"url":"\/products\/womens-lahaina-strong-sweatshirt-2?variant=1f4f6337-d3be-4eb2-9080-b363abe0d8a0","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":47,"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.