${function() {
const variantData = data.variant || {"id":"219a04c6-447b-4aa8-9510-28675ab96ea8","product_id":"1bc85740-7f8e-4b42-81a5-52bac5c9b9bc","title":"No. 1 11*11*8cm","weight_unit":"kg","inventory_quantity":200,"sku":"","barcode":"","position":1,"option1":"No. 1 11*11*8cm","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ede018be8083e7ae4adcd015ef8f12ae.jpeg","path":"ede018be8083e7ae4adcd015ef8f12ae.jpeg","width":1024,"height":1024,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/pumpkin-flower-pot-ornaments-resin-flower-pot-halloween-decorations-garden-small-ornaments?variant=219a04c6-447b-4aa8-9510-28675ab96ea8","available_quantity":200,"options":[{"name":"size","value":"No. 1 11*11*8cm"}],"off_ratio":0,"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":"219a04c6-447b-4aa8-9510-28675ab96ea8","product_id":"1bc85740-7f8e-4b42-81a5-52bac5c9b9bc","title":"No. 1 11*11*8cm","weight_unit":"kg","inventory_quantity":200,"sku":"","barcode":"","position":1,"option1":"No. 1 11*11*8cm","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ede018be8083e7ae4adcd015ef8f12ae.jpeg","path":"ede018be8083e7ae4adcd015ef8f12ae.jpeg","width":1024,"height":1024,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/pumpkin-flower-pot-ornaments-resin-flower-pot-halloween-decorations-garden-small-ornaments?variant=219a04c6-447b-4aa8-9510-28675ab96ea8","available_quantity":200,"options":[{"name":"size","value":"No. 1 11*11*8cm"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}