${function() {
const variantData = data.variant || {"id":"6a1c8850-5b6b-4b9f-ba79-26d2c1b728e4","product_id":"fcfbded1-6df2-4e76-8336-64325bc0470b","title":"Colorful-S","weight_unit":"kg","inventory_quantity":950,"sku":"086-221123-17-MS0007FA2Q-Colorful-S","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/46341f9f07d211d13bc9e56fdce42d51.jpeg","path":"46341f9f07d211d13bc9e56fdce42d51.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"24.99","price":"24.99","retail_price":"24.99","available":true,"url":"\/products\/mens-rainbow-gradient-art-print-polo-shirt?variant=6a1c8850-5b6b-4b9f-ba79-26d2c1b728e4","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"name":"Size","value":"S"}],"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.