${function() {
const variantData = data.variant || {"id":"e2525169-b7ab-415e-a966-dc32e96606a2","product_id":"41eb4def-f446-4e06-afc9-590fb7dc3ae9","title":"Colorful-S","weight_unit":"kg","inventory_quantity":998,"sku":"086-230328-02-MS00062ZE6-Colorful-S","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/102099e4cb57f1bd092c91e24a498a10.jpeg","path":"102099e4cb57f1bd092c91e24a498a10.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-art-print-polo-shirt-2?variant=e2525169-b7ab-415e-a966-dc32e96606a2","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.