${function() {
const variantData = data.variant || {"id":"36611780-9bb5-41be-b386-b0be77d7cc26","product_id":"79a4e74a-32e0-41da-aee1-222f09a19684","title":"Colorful1-M","weight_unit":"g","inventory_quantity":1000,"sku":"086-221020-A15-GFU9FB4SVD-Colorful1-M","barcode":"","position":1,"option1":"Colorful1","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cd541f8422ee9ec4b4e072108ecfb379.jpeg","path":"cd541f8422ee9ec4b4e072108ecfb379.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":59.99,"min_quantity":1}],"weight":"0","compare_at_price":"52.99","price":"59.99","retail_price":"52.99","available":true,"url":"\/products\/mens-gay-bears-print-thick-loose-long-sleeved-coat-cardigan?variant=36611780-9bb5-41be-b386-b0be77d7cc26","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful1"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.