${function() {
const variantData = data.variant || {"id":"1e3feadd-7985-473c-89e9-48f90ce815fa","product_id":"e802d488-77fc-44a0-b160-33dd569f1f41","title":"Black-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-Black-M-A00427397","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d3b58ed3bfb1f5ded7ef3b291c7408d1.jpeg","path":"d3b58ed3bfb1f5ded7ef3b291c7408d1.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0.5","compare_at_price":"77.99","price":"38.99","retail_price":"77.99","available":true,"url":"\/products\/mens-holiday-black-and-white-polka-dot-printed-polo-suit-1c34?variant=1e3feadd-7985-473c-89e9-48f90ce815fa","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":50,"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.
${function(){
const variantData = data.variant || {"id":"1e3feadd-7985-473c-89e9-48f90ce815fa","product_id":"e802d488-77fc-44a0-b160-33dd569f1f41","title":"Black-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-Black-M-A00427397","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d3b58ed3bfb1f5ded7ef3b291c7408d1.jpeg","path":"d3b58ed3bfb1f5ded7ef3b291c7408d1.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0.5","compare_at_price":"77.99","price":"38.99","retail_price":"77.99","available":true,"url":"\/products\/mens-holiday-black-and-white-polka-dot-printed-polo-suit-1c34?variant=1e3feadd-7985-473c-89e9-48f90ce815fa","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":1};
return `
`
}()}