${function() {
const variantData = data.variant || {"id":"3bf444c2-301d-4b70-87a9-1fa62c874f13","product_id":"19cf6af8-ce1e-4c87-af0a-a83bf1ea678c","title":"Blue-M","weight_unit":"g","inventory_quantity":500,"sku":"X86-221031-03-NLGSW4RS5B-Blue-M","barcode":"","position":1,"option1":"Blue","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/028e1c4cb4b2b17eaab99646103ce603.jpeg","path":"028e1c4cb4b2b17eaab99646103ce603.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":40,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"40","retail_price":"40","available":true,"url":"\/products\/womens-plush-thick-long-sleeved-coat-cardigan?variant=3bf444c2-301d-4b70-87a9-1fa62c874f13","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":9};
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.