${function() {
const variantData = data.variant || {"id":"bf425cdb-5eee-44a4-9764-dddc89911b86","product_id":"14c85f37-0db0-46f0-bc78-5ffe71da5758","title":"Black","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f78f93a7964c6c1b2dcb62c9ed1d8016.jpg","path":"f78f93a7964c6c1b2dcb62c9ed1d8016.jpg","width":700,"height":700,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":47.8,"min_quantity":1}],"weight":"0","compare_at_price":"84.1","price":"47.8","retail_price":"84.1","available":true,"url":"\/products\/\ud83d\udd25\ud83c\udf812024-new-year-hot-sale\ud83c\udf81-49-\ud83d\udd25-bluetooth-fashion-smartwatch?variant=bf425cdb-5eee-44a4-9764-dddc89911b86","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"off_ratio":43,"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"bf425cdb-5eee-44a4-9764-dddc89911b86","product_id":"14c85f37-0db0-46f0-bc78-5ffe71da5758","title":"Black","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f78f93a7964c6c1b2dcb62c9ed1d8016.jpg","path":"f78f93a7964c6c1b2dcb62c9ed1d8016.jpg","width":700,"height":700,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":47.8,"min_quantity":1}],"weight":"0","compare_at_price":"84.1","price":"47.8","retail_price":"84.1","available":true,"url":"\/products\/\ud83d\udd25\ud83c\udf812024-new-year-hot-sale\ud83c\udf81-49-\ud83d\udd25-bluetooth-fashion-smartwatch?variant=bf425cdb-5eee-44a4-9764-dddc89911b86","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"off_ratio":43,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}