${function() {
const variantData = data.variant || {"id":"64dd3114-32d0-49d7-bbac-0a657fb38997","product_id":"e7d4272e-5ab2-4aca-a63d-f15aa7e9afa0","title":"Red-M","weight_unit":"kg","inventory_quantity":999,"sku":"X86-221017-06-PP4S7ZTP25-Red-M","barcode":"","position":1,"option1":"Red","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9d605c195aa47dea84ab40dee60f3f7c.jpeg","path":"9d605c195aa47dea84ab40dee60f3f7c.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":59.99,"min_quantity":1}],"weight":"0","compare_at_price":"35.99","price":"59.99","retail_price":"35.99","available":true,"url":"\/products\/mens-plush-thick-sweater-loose-knitted-sweater-long-sleeved-sweater-coat-cardigan-2?variant=64dd3114-32d0-49d7-bbac-0a657fb38997","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"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.