${function() {
const variantData = data.variant || {"id":"b84f85da-6038-42d8-975d-25a17123a58f","product_id":"73777bb6-957e-4b76-bd60-fc038af57d9e","title":"grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"132-230825-15-WT0002X9V3-grey-S","barcode":"","position":1,"option1":"grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0a6510f90e1a093b0bb67ee3bb725ebc.jpeg","path":"0a6510f90e1a093b0bb67ee3bb725ebc.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/stop-with-maui-for-lahaina-casual-t-shirt?variant=b84f85da-6038-42d8-975d-25a17123a58f","available_quantity":999999999,"options":[{"name":"Color","value":"grey"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.