${function() {
const variantData = data.variant || {"id":"2fa1f621-df2b-4910-b025-c8c015ac7d10","product_id":"5b63ab5b-acd1-4f32-a434-48db2974a0a4","title":"Colorful-M","weight_unit":"g","inventory_quantity":999,"sku":"103-221102-08-MT004359U9-Colorful-M","barcode":"","position":1,"option1":"Colorful","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5dba8b1c883ec5796eecc26b8b2b1761.jpeg","path":"5dba8b1c883ec5796eecc26b8b2b1761.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-4?variant=2fa1f621-df2b-4910-b025-c8c015ac7d10","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.