${function() {
const variantData = data.variant || {"id":"dd9a87fc-5247-48cf-9074-9fe83641404f","product_id":"bba6a2b3-adc1-42da-860c-9bfcba85bed3","title":"Red-M","weight_unit":"kg","inventory_quantity":971,"sku":"X86-221013-02-7Z6YQUNHAP-Red-M","barcode":"","position":1,"option1":"Red","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/45404f60b70866130a5ff49e78f575ba.jpeg","path":"45404f60b70866130a5ff49e78f575ba.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":59.99,"min_quantity":1}],"weight":"0","compare_at_price":"43.99","price":"59.99","retail_price":"43.99","available":true,"url":"\/products\/mens-plush-thick-sweater-loose-knitted-sweater-long-sleeved-sweater-coat-cardigan?variant=dd9a87fc-5247-48cf-9074-9fe83641404f","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"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.