${function() {
const variantData = data.variant || {"id":"3f83524c-9060-4a66-b649-803c575c29ec","product_id":"12a02b2f-7b8f-476d-98bd-c633ef177027","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WTS258398-GRN00S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bddb0b55941d70b0c11083cd4ea4d225.jpeg","path":"bddb0b55941d70b0c11083cd4ea4d225.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"35.99","price":"22.99","retail_price":"35.99","available":true,"url":"\/products\/womens-lahaina-strong-v-neck-long-sleeve-t-shirt?variant=3f83524c-9060-4a66-b649-803c575c29ec","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":36,"flashsale_info":[],"sales":7};
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.