${function() {
const variantData = data.variant || {"id":"2e319883-d67c-463b-9ec5-adc897ea7458","product_id":"5443ed42-5271-46e4-9496-c14847f9ccb6","title":"Colorful-M","weight_unit":"g","inventory_quantity":999,"sku":"086-221029-03-7EZW3QV97H-Colorful-M","barcode":"","position":1,"option1":"Colorful","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ca17fac583c165bc2f0a6e356a81aa4a.jpeg","path":"ca17fac583c165bc2f0a6e356a81aa4a.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":59.99,"min_quantity":1}],"weight":"750","compare_at_price":"52.99","price":"59.99","retail_price":"52.99","available":true,"url":"\/products\/mens-art-plush-thick-long-sleeved-coat-3?variant=2e319883-d67c-463b-9ec5-adc897ea7458","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":4};
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.