${function() {
const variantData = data.variant || {"id":"05a55cc7-fbab-4e35-835b-ab97269a558e","product_id":"32b9e2c9-2370-4a4e-b009-44b86dd22449","title":"1","weight_unit":"kg","inventory_quantity":1000,"sku":"3256804169156442_1","barcode":"","position":1,"option1":"1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9d8b9a168bcc824892c35d34ce6f7b95.jpeg","path":"9d8b9a168bcc824892c35d34ce6f7b95.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\/new-woman-printted-triangle-chiffon-bandanas-girls-elastic-hairband-fashion-hair-accessories-headwear-turban-headband-ornament?variant=05a55cc7-fbab-4e35-835b-ab97269a558e","available_quantity":999999999,"options":[{"name":"Color","value":"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":"05a55cc7-fbab-4e35-835b-ab97269a558e","product_id":"32b9e2c9-2370-4a4e-b009-44b86dd22449","title":"1","weight_unit":"kg","inventory_quantity":1000,"sku":"3256804169156442_1","barcode":"","position":1,"option1":"1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9d8b9a168bcc824892c35d34ce6f7b95.jpeg","path":"9d8b9a168bcc824892c35d34ce6f7b95.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\/new-woman-printted-triangle-chiffon-bandanas-girls-elastic-hairband-fashion-hair-accessories-headwear-turban-headband-ornament?variant=05a55cc7-fbab-4e35-835b-ab97269a558e","available_quantity":999999999,"options":[{"name":"Color","value":"1"}],"off_ratio":58,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}