${function() {
const variantData = data.variant || {"id":"6755327a-ee2b-4118-87bd-507e0bf2ef74","product_id":"eb006d25-8e9c-4d5a-8ebf-14d177e4661d","title":"Colorful-S","weight_unit":"kg","inventory_quantity":999,"sku":"099-230504-01-MS0009PWDH-Colorful-S","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/176f7705c2b2cf05d10f7236954244ef.jpeg","path":"176f7705c2b2cf05d10f7236954244ef.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"28.99","price":"28.99","retail_price":"28.99","available":true,"url":"\/products\/mens-plaid-stripes-lines-rainbow-polo-shirt?variant=6755327a-ee2b-4118-87bd-507e0bf2ef74","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.