${function() {
const variantData = data.variant || {"id":"489339e5-e9ca-41d5-b716-16593463da62","product_id":"9cdb97f2-058d-43b9-acd0-52a8f67a08ff","title":"Red","weight_unit":"kg","inventory_quantity":1000,"sku":"MF03526","barcode":"","position":1,"option1":"Red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3d216c65da8fe423c62734994893e938.jpeg","path":"3d216c65da8fe423c62734994893e938.jpeg","width":2448,"height":2448,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":13.99,"min_quantity":1}],"weight":"0","compare_at_price":"23.99","price":"13.99","retail_price":"23.99","available":true,"url":"\/products\/1pc-rose-bear-artificial-foam-flowers-bear-made-of-roses-for-valentines-day-mothers-day-anniversary-wedding-gifts-6-69-9-05in?variant=489339e5-e9ca-41d5-b716-16593463da62","available_quantity":999999999,"options":[{"name":"color","value":"Red"}],"off_ratio":42,"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":"489339e5-e9ca-41d5-b716-16593463da62","product_id":"9cdb97f2-058d-43b9-acd0-52a8f67a08ff","title":"Red","weight_unit":"kg","inventory_quantity":1000,"sku":"MF03526","barcode":"","position":1,"option1":"Red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3d216c65da8fe423c62734994893e938.jpeg","path":"3d216c65da8fe423c62734994893e938.jpeg","width":2448,"height":2448,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":13.99,"min_quantity":1}],"weight":"0","compare_at_price":"23.99","price":"13.99","retail_price":"23.99","available":true,"url":"\/products\/1pc-rose-bear-artificial-foam-flowers-bear-made-of-roses-for-valentines-day-mothers-day-anniversary-wedding-gifts-6-69-9-05in?variant=489339e5-e9ca-41d5-b716-16593463da62","available_quantity":999999999,"options":[{"name":"color","value":"Red"}],"off_ratio":42,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}