${function() {
const variantData = data.variant || {"id":"15eb0ef2-7da3-4a09-998f-8ce9d34b011d","product_id":"17a138a8-b35e-45ad-b3c5-fcaabacaad03","title":"Colorful-M","weight_unit":"g","inventory_quantity":999,"sku":"103-221102-03-MT0043NH2L-Colorful-M","barcode":"","position":1,"option1":"Colorful","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/30fd5ce60f1fb3c761452ab57249b364.jpeg","path":"30fd5ce60f1fb3c761452ab57249b364.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-simple-long-sleeved-sweater-coat-cardigan-8?variant=15eb0ef2-7da3-4a09-998f-8ce9d34b011d","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":5};
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.