${function() {
const variantData = data.variant || {"id":"1a3394a2-3640-4a42-8ccd-0bf6fe465cf0","product_id":"247c54a4-c51f-49a6-8b25-f9da2439d184","title":"Multi-S","weight_unit":"kg","inventory_quantity":990,"sku":"1416240573330800641","barcode":"","position":1,"option1":"Multi","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d76bf384fd89bec3f7d418c8dcaafba1.jpeg","path":"d76bf384fd89bec3f7d418c8dcaafba1.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.58,"min_quantity":1}],"weight":"0","compare_at_price":"22.58","price":"22.58","retail_price":"22.58","available":true,"url":"\/products\/mens-casual-style-summer-daily-stitching-zipper-design-polo-collar-short-sleeved-t-shirt_tfkd?variant=1a3394a2-3640-4a42-8ccd-0bf6fe465cf0","available_quantity":990,"options":[{"name":"Color","value":"Multi"},{"name":"Size","value":"S"}],"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.