${function() {
const variantData = data.variant || {"id":"a3b2d186-49be-4265-8ad1-0e94ebfafb1e","product_id":"4e928dfa-2bf5-4e32-a993-8a8666c65232","title":"As shown-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-As shown-M-A00433896","barcode":"","position":1,"option1":"As shown","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ee5d2232aa3cc9e1db1fa174ed9d6869.png","path":"ee5d2232aa3cc9e1db1fa174ed9d6869.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-b8ld?variant=a3b2d186-49be-4265-8ad1-0e94ebfafb1e","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":"a3b2d186-49be-4265-8ad1-0e94ebfafb1e","product_id":"4e928dfa-2bf5-4e32-a993-8a8666c65232","title":"As shown-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-As shown-M-A00433896","barcode":"","position":1,"option1":"As shown","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ee5d2232aa3cc9e1db1fa174ed9d6869.png","path":"ee5d2232aa3cc9e1db1fa174ed9d6869.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-b8ld?variant=a3b2d186-49be-4265-8ad1-0e94ebfafb1e","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}