${function() {
const variantData = data.variant || {"id":"be282a6a-74dd-41cf-b377-f3cd1be9e622","product_id":"36a8e013-6398-40f2-9acf-21776c8baa7e","title":"1","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693057175620","barcode":"","position":1,"option1":"1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4302a6a8400985df0624fc21ad069e4c.webp","path":"4302a6a8400985df0624fc21ad069e4c.webp","width":600,"height":800,"alt":"Vintage Feather Pattern Sewing Buttons","aspect_ratio":0.75},"wholesale_price":[{"price":7.99,"min_quantity":1}],"weight":"0","compare_at_price":"7.99","price":"7.99","retail_price":"7.99","available":true,"url":"\/products\/vintage-feather-pattern-sewing-buttons-5022?variant=be282a6a-74dd-41cf-b377-f3cd1be9e622","available_quantity":1000,"options":[{"name":"Color","value":"1"}],"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":"be282a6a-74dd-41cf-b377-f3cd1be9e622","product_id":"36a8e013-6398-40f2-9acf-21776c8baa7e","title":"1","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693057175620","barcode":"","position":1,"option1":"1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4302a6a8400985df0624fc21ad069e4c.webp","path":"4302a6a8400985df0624fc21ad069e4c.webp","width":600,"height":800,"alt":"Vintage Feather Pattern Sewing Buttons","aspect_ratio":0.75},"wholesale_price":[{"price":7.99,"min_quantity":1}],"weight":"0","compare_at_price":"7.99","price":"7.99","retail_price":"7.99","available":true,"url":"\/products\/vintage-feather-pattern-sewing-buttons-5022?variant=be282a6a-74dd-41cf-b377-f3cd1be9e622","available_quantity":1000,"options":[{"name":"Color","value":"1"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}