${function() {
const variantData = data.variant || {"id":"88eddda9-1dc6-4054-b413-18c3177f91d0","product_id":"f602ea71-72dd-4fb6-9ed5-0c96e56f2e31","title":"Colorful-S","weight_unit":"kg","inventory_quantity":997,"sku":"099-230411-21-ZDMS00L8YM-Colorful-S","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9074f7b850d752b69f5dcfca3999fb0c.jpeg","path":"9074f7b850d752b69f5dcfca3999fb0c.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.25","compare_at_price":"24.99","price":"24.99","retail_price":"24.99","available":true,"url":"\/products\/mens-rainbow-gradient-checkered-bar-polo-shirt?variant=88eddda9-1dc6-4054-b413-18c3177f91d0","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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.