${function() {
const variantData = data.variant || {"id":"59b05009-c5b8-42a2-bc90-8e64a3cb27c1","product_id":"8f381339-c269-4d79-aa12-1cd6fad2a127","title":"Blue-M","weight_unit":"kg","inventory_quantity":996,"sku":"PH1-220525-21-Blue-M","barcode":"","position":11,"option1":"Blue","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c351c720fda8df97b5148e49a1bc3c9e.jpeg","path":"c351c720fda8df97b5148e49a1bc3c9e.jpeg","width":1440,"height":1920,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"23.99","price":"23.99","retail_price":"23.99","available":true,"url":"\/products\/mens-everyday-hawaiian-dot-short-sleeve-shirt?variant=59b05009-c5b8-42a2-bc90-8e64a3cb27c1","available_quantity":996,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"M"}],"off_ratio":0,"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.