${function() {
const variantData = data.variant || {"id":"75a92482-019a-4e02-9800-d4629ac1b869","product_id":"08ad775b-9687-469d-ad2f-4d833e4e8016","title":"Colorful1-M","weight_unit":"g","inventory_quantity":996,"sku":"086-221025-10-7VW8CJMDA4-Colorful1-M","barcode":"","position":1,"option1":"Colorful1","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b5272ad9d3a4d6159d07a4decb421c27.jpeg","path":"b5272ad9d3a4d6159d07a4decb421c27.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-gradient-print-thick-loose-long-sleeved-coat-1?variant=75a92482-019a-4e02-9800-d4629ac1b869","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful1"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":32};
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.