${function() {
const variantData = data.variant || {"id":"cd1450e5-7608-4a6e-a2e2-fe4b4e3629e2","product_id":"f545f746-7ea7-4262-9b82-ce4dad188ead","title":"Cream-M","weight_unit":"kg","inventory_quantity":1000,"sku":"MMZX02681_BE_M","barcode":"","position":1,"option1":"Cream","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8922f4f4d9527be603ec739bc8ec42cc.jpeg","path":"8922f4f4d9527be603ec739bc8ec42cc.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.37,"min_quantity":1}],"weight":"0","compare_at_price":"34.37","price":"34.37","retail_price":"34.37","available":true,"url":"\/products\/mens-solid-color-stand-collar-fashion-cardigan-sweater-knit-jacket41c6448f-986b-4ac8-a710-20727eca6080?variant=cd1450e5-7608-4a6e-a2e2-fe4b4e3629e2","available_quantity":1000,"options":[{"name":"Color","value":"Cream"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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.