${function() {
const variantData = data.variant || {"id":"869e1a7e-f3c1-4334-ac5b-9d73206818e6","product_id":"ba2e32e6-dd62-4d60-b4a3-1d363e315f87","title":"Pink","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Pink","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1957b7ef3fea38010cee39500be2365d.jpeg","path":"1957b7ef3fea38010cee39500be2365d.jpeg","width":447,"height":442,"alt":"","aspect_ratio":1.01131221719457},"wholesale_price":[{"price":14.66,"min_quantity":1}],"weight":"0","compare_at_price":"27.32","price":"14.66","retail_price":"27.32","available":true,"url":"\/products\/\ud83c\udf84\ud83c\udf812023-christmas-hot-sale\ud83c\udf81-49-off2-in-1-silicone-charger-protectorbuy-2-free-shipping?variant=869e1a7e-f3c1-4334-ac5b-9d73206818e6","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"}],"off_ratio":46,"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"869e1a7e-f3c1-4334-ac5b-9d73206818e6","product_id":"ba2e32e6-dd62-4d60-b4a3-1d363e315f87","title":"Pink","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Pink","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1957b7ef3fea38010cee39500be2365d.jpeg","path":"1957b7ef3fea38010cee39500be2365d.jpeg","width":447,"height":442,"alt":"","aspect_ratio":1.01131221719457},"wholesale_price":[{"price":14.66,"min_quantity":1}],"weight":"0","compare_at_price":"27.32","price":"14.66","retail_price":"27.32","available":true,"url":"\/products\/\ud83c\udf84\ud83c\udf812023-christmas-hot-sale\ud83c\udf81-49-off2-in-1-silicone-charger-protectorbuy-2-free-shipping?variant=869e1a7e-f3c1-4334-ac5b-9d73206818e6","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"}],"off_ratio":46,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}