${function() {
const variantData = data.variant || {"id":"2148411d-75f1-4feb-bc62-126b3a76356e","product_id":"74240a3a-a4cf-480f-9520-ff0d54354bf7","title":"Multicolor-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-Multicolor-M-A00424254","barcode":"","position":1,"option1":"Multicolor","option2":"M","option3":"","note":"","image":null,"wholesale_price":[{"price":42.99,"min_quantity":1}],"weight":"0.55","compare_at_price":"85.99","price":"42.99","retail_price":"85.99","available":true,"url":"\/products\/mens-personalized-polo-shirt-and-pants-two-piece-set-elgl?variant=2148411d-75f1-4feb-bc62-126b3a76356e","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"name":"Size","value":"M"}],"off_ratio":50,"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.
${function(){
const variantData = data.variant || {"id":"2148411d-75f1-4feb-bc62-126b3a76356e","product_id":"74240a3a-a4cf-480f-9520-ff0d54354bf7","title":"Multicolor-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-Multicolor-M-A00424254","barcode":"","position":1,"option1":"Multicolor","option2":"M","option3":"","note":"","image":null,"wholesale_price":[{"price":42.99,"min_quantity":1}],"weight":"0.55","compare_at_price":"85.99","price":"42.99","retail_price":"85.99","available":true,"url":"\/products\/mens-personalized-polo-shirt-and-pants-two-piece-set-elgl?variant=2148411d-75f1-4feb-bc62-126b3a76356e","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"name":"Size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}