${function() {
const variantData = data.variant || {"id":"da1be943-66aa-4292-8add-29d674dbd0f2","product_id":"dc5686fc-567a-402c-b9b5-ab150280111a","title":"Green","weight_unit":"kg","inventory_quantity":100,"sku":"AA09031-Green-A001035","barcode":"","position":1,"option1":"Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/70c8a1028d49a0e0965735b23713dd41.jpeg","path":"70c8a1028d49a0e0965735b23713dd41.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=da1be943-66aa-4292-8add-29d674dbd0f2","available_quantity":100,"options":[{"name":"Color","value":"Green"}],"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-Green-A001035
Weight : 1kg
${function(){
const variantData = data.variant || {"id":"da1be943-66aa-4292-8add-29d674dbd0f2","product_id":"dc5686fc-567a-402c-b9b5-ab150280111a","title":"Green","weight_unit":"kg","inventory_quantity":100,"sku":"AA09031-Green-A001035","barcode":"","position":1,"option1":"Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/70c8a1028d49a0e0965735b23713dd41.jpeg","path":"70c8a1028d49a0e0965735b23713dd41.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=da1be943-66aa-4292-8add-29d674dbd0f2","available_quantity":100,"options":[{"name":"Color","value":"Green"}],"off_ratio":50,"flashsale_info":[],"sales":5000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}