${function() {
const variantData = data.variant || {"id":"9e528aed-52c0-41ab-a206-dd3e72e5bcb4","product_id":"588cd528-e75e-488b-9dd1-1e4473b74678","title":"As shown-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-As shown-M-A00431555","barcode":"","position":1,"option1":"As shown","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a3d9a2911b453e2298e1c818ff73b485.png","path":"a3d9a2911b453e2298e1c818ff73b485.png","width":530,"height":650,"alt":"","aspect_ratio":0.8153846153846154},"wholesale_price":[{"price":38.96,"min_quantity":1}],"weight":"0.5","compare_at_price":"77.92","price":"38.96","retail_price":"77.92","available":true,"url":"\/products\/mens-casual-polo-suit-a02l?variant=9e528aed-52c0-41ab-a206-dd3e72e5bcb4","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"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":"9e528aed-52c0-41ab-a206-dd3e72e5bcb4","product_id":"588cd528-e75e-488b-9dd1-1e4473b74678","title":"As shown-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-As shown-M-A00431555","barcode":"","position":1,"option1":"As shown","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a3d9a2911b453e2298e1c818ff73b485.png","path":"a3d9a2911b453e2298e1c818ff73b485.png","width":530,"height":650,"alt":"","aspect_ratio":0.8153846153846154},"wholesale_price":[{"price":38.96,"min_quantity":1}],"weight":"0.5","compare_at_price":"77.92","price":"38.96","retail_price":"77.92","available":true,"url":"\/products\/mens-casual-polo-suit-a02l?variant=9e528aed-52c0-41ab-a206-dd3e72e5bcb4","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}