${function() {
const variantData = data.variant || {"id":"2214eb7e-030c-4a69-b37d-f64513893c02","product_id":"5b7810cd-7063-4c96-81a8-2be928b5e451","title":"Style 1","weight_unit":"kg","inventory_quantity":1000,"sku":"3256804531493013_Style 1","barcode":"","position":1,"option1":"Style 1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e7d7d63585d651caa43b535f878ecd4e.jpeg","path":"e7d7d63585d651caa43b535f878ecd4e.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"16.99","retail_price":"39.99","available":true,"url":"\/products\/woman-new-luxury-chiffon-floral-edge-banding-scrunchies-elastic-hairband-girls-folds-rubber-band-hair-ties-ponytail-holder?variant=2214eb7e-030c-4a69-b37d-f64513893c02","available_quantity":999999999,"options":[{"name":"Color","value":"Style 1"}],"off_ratio":58,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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":"2214eb7e-030c-4a69-b37d-f64513893c02","product_id":"5b7810cd-7063-4c96-81a8-2be928b5e451","title":"Style 1","weight_unit":"kg","inventory_quantity":1000,"sku":"3256804531493013_Style 1","barcode":"","position":1,"option1":"Style 1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e7d7d63585d651caa43b535f878ecd4e.jpeg","path":"e7d7d63585d651caa43b535f878ecd4e.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"16.99","retail_price":"39.99","available":true,"url":"\/products\/woman-new-luxury-chiffon-floral-edge-banding-scrunchies-elastic-hairband-girls-folds-rubber-band-hair-ties-ponytail-holder?variant=2214eb7e-030c-4a69-b37d-f64513893c02","available_quantity":999999999,"options":[{"name":"Color","value":"Style 1"}],"off_ratio":58,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}