${function() {
const variantData = data.variant || {"id":"a28b6a9e-5fd6-4ba6-abc7-1dcda2935014","product_id":"dc5686fc-567a-402c-b9b5-ab150280111a","title":"Purple","weight_unit":"kg","inventory_quantity":100,"sku":"AA09031-Purple-A001037","barcode":"","position":3,"option1":"Purple","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f4d050abc5481674b9cf2d3673f80555.jpeg","path":"f4d050abc5481674b9cf2d3673f80555.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":120,"min_quantity":1}],"weight":"1","compare_at_price":"240","price":"120","retail_price":"240","available":true,"url":"\/products\/newtag-portable-40oz-large-capacity-leopard-print-water-bottles-stainless-steel-leakproof-tumbler-insulation-cup-with-lid-and-straw-for-men-women-outdoor-camping-hiking-driving?variant=a28b6a9e-5fd6-4ba6-abc7-1dcda2935014","available_quantity":100,"options":[{"name":"Color","value":"Purple"}],"off_ratio":50,"flashsale_info":[],"sales":5000};
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}
`
}()}
Product was out of stock.
Product is unavailable.
Sku : AA09031-Purple-A001037
Weight : 1kg
${function(){
const variantData = data.variant || {"id":"a28b6a9e-5fd6-4ba6-abc7-1dcda2935014","product_id":"dc5686fc-567a-402c-b9b5-ab150280111a","title":"Purple","weight_unit":"kg","inventory_quantity":100,"sku":"AA09031-Purple-A001037","barcode":"","position":3,"option1":"Purple","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f4d050abc5481674b9cf2d3673f80555.jpeg","path":"f4d050abc5481674b9cf2d3673f80555.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":120,"min_quantity":1}],"weight":"1","compare_at_price":"240","price":"120","retail_price":"240","available":true,"url":"\/products\/newtag-portable-40oz-large-capacity-leopard-print-water-bottles-stainless-steel-leakproof-tumbler-insulation-cup-with-lid-and-straw-for-men-women-outdoor-camping-hiking-driving?variant=a28b6a9e-5fd6-4ba6-abc7-1dcda2935014","available_quantity":100,"options":[{"name":"Color","value":"Purple"}],"off_ratio":50,"flashsale_info":[],"sales":5000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}