${function() {
const variantData = data.variant || {"id":"851677be-5440-4fe7-911c-6e2b482de591","product_id":"4b8240d2-d85e-4d67-9f0b-d48dbd8855fd","title":"Red-M","weight_unit":"kg","inventory_quantity":957,"sku":"X86-221013-03-VPP6VMZC39-Red-M","barcode":"","position":1,"option1":"Red","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b2b395a446626aee79ea0086678b3a8c.jpeg","path":"b2b395a446626aee79ea0086678b3a8c.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":59.99,"min_quantity":1}],"weight":"0","compare_at_price":"45.99","price":"59.99","retail_price":"45.99","available":true,"url":"\/products\/mens-plush-thick-sweater-loose-knitted-sweater-long-sleeved-sweater-coat-cardigan-1?variant=851677be-5440-4fe7-911c-6e2b482de591","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":61};
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.