${function() {
const variantData = data.variant || {"id":"8e7f5f1f-b029-4d34-80e4-a035e3d9a0b4","product_id":"30e97987-7e03-419f-a4a4-4a825d599cb9","title":"Light Wood Grain","weight_unit":"kg","inventory_quantity":1000,"sku":"WF02342-Light Wood Grain-A0011123","barcode":"","position":1,"option1":"Light Wood Grain","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3fe04e991ad360b0a10a6900edd33e88.jpeg","path":"3fe04e991ad360b0a10a6900edd33e88.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0","compare_at_price":"116.99","price":"38.99","retail_price":"116.99","available":true,"url":"\/products\/1pc-mini-mushroom-air-humidifier-ultrasonic-essential-oil-aromatherapy-air-diffuser?variant=8e7f5f1f-b029-4d34-80e4-a035e3d9a0b4","available_quantity":1000,"options":[{"name":"Color","value":"Light Wood Grain"}],"off_ratio":67,"flashsale_info":[],"sales":1000};
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 : WF02342-Light Wood Grain-A0011123
${function(){
const variantData = data.variant || {"id":"8e7f5f1f-b029-4d34-80e4-a035e3d9a0b4","product_id":"30e97987-7e03-419f-a4a4-4a825d599cb9","title":"Light Wood Grain","weight_unit":"kg","inventory_quantity":1000,"sku":"WF02342-Light Wood Grain-A0011123","barcode":"","position":1,"option1":"Light Wood Grain","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3fe04e991ad360b0a10a6900edd33e88.jpeg","path":"3fe04e991ad360b0a10a6900edd33e88.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0","compare_at_price":"116.99","price":"38.99","retail_price":"116.99","available":true,"url":"\/products\/1pc-mini-mushroom-air-humidifier-ultrasonic-essential-oil-aromatherapy-air-diffuser?variant=8e7f5f1f-b029-4d34-80e4-a035e3d9a0b4","available_quantity":1000,"options":[{"name":"Color","value":"Light Wood Grain"}],"off_ratio":67,"flashsale_info":[],"sales":1000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}