${function() {
const variantData = data.variant || {"id":"925b3db5-4a15-49db-88df-590ebbb0343f","product_id":"e1af055c-7322-4be0-9429-dc361fedc28d","title":"Blue-S","weight_unit":"kg","inventory_quantity":999,"sku":"WSS258859-BLU00S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8927b32a6c64bb1880854b78f99f76f5.jpeg","path":"8927b32a6c64bb1880854b78f99f76f5.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"35.99","price":"23.99","retail_price":"35.99","available":true,"url":"\/products\/womens-maui-strong-print-long-sleeve-sweatshirt-5?variant=925b3db5-4a15-49db-88df-590ebbb0343f","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":33,"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.