${function() {
const variantData = data.variant || {"id":"347205d7-3723-458b-b030-b56f1209348b","product_id":"9d7ba45b-5578-4ca2-bc22-048d70c87281","title":"A","weight_unit":"kg","inventory_quantity":0,"sku":"WB23081601-A","barcode":"","position":1,"option1":"A","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/70bdeb8d92e855de7542b89a49777a52.jpeg","path":"70bdeb8d92e855de7542b89a49777a52.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":3,"min_quantity":1}],"weight":"0.2","compare_at_price":"3","price":"3","retail_price":"3","available":true,"url":"\/products\/halloween-portable-pumpkin-lantern?variant=347205d7-3723-458b-b030-b56f1209348b","available_quantity":999999999,"options":[{"name":"Style","value":"A"}],"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":"347205d7-3723-458b-b030-b56f1209348b","product_id":"9d7ba45b-5578-4ca2-bc22-048d70c87281","title":"A","weight_unit":"kg","inventory_quantity":0,"sku":"WB23081601-A","barcode":"","position":1,"option1":"A","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/70bdeb8d92e855de7542b89a49777a52.jpeg","path":"70bdeb8d92e855de7542b89a49777a52.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":3,"min_quantity":1}],"weight":"0.2","compare_at_price":"3","price":"3","retail_price":"3","available":true,"url":"\/products\/halloween-portable-pumpkin-lantern?variant=347205d7-3723-458b-b030-b56f1209348b","available_quantity":999999999,"options":[{"name":"Style","value":"A"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Barcode : ${variantData && variantData.barcode}
`
}()}