${function() {
const variantData = data.variant || {"id":"fe0e7a0f-db56-4707-94c0-8dfbf071c9a5","product_id":"3583b015-d2c0-423b-85c9-e947684ac0b1","title":"Grey-M","weight_unit":"g","inventory_quantity":1000,"sku":"X131-230718-01-HKPNX4VY72-Grey-M","barcode":"","position":11,"option1":"Grey","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b3ea991b44bbc2ccfcf91a31bc083831.jpeg","path":"b3ea991b44bbc2ccfcf91a31bc083831.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"200","compare_at_price":"27.99","price":"27.99","retail_price":"27.99","available":true,"url":"\/products\/mens-short-sleeved-sweater-summer-thin-loose-polo-shirt?variant=fe0e7a0f-db56-4707-94c0-8dfbf071c9a5","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":6};
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.