${function() {
const variantData = data.variant || {"id":"52dfdaef-f014-4da6-bbde-4c5db6591beb","product_id":"597bac9a-265b-4932-96e3-9d09e5736d4a","title":"Green","weight_unit":"kg","inventory_quantity":1000,"sku":"17592193693278","barcode":"","position":2,"option1":"Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/553bdf91524dc7cfcf364cf4836fd506.jpeg","path":"553bdf91524dc7cfcf364cf4836fd506.jpeg","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":10.37,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"10.37","retail_price":"0","available":true,"url":"\/products\/boho-headbands-for-women-fashion-stretch-wide-hair-bands-knot-turban-head-bands-yoga-running-sweatband-elastic-headband-stylish-wrap-headbands-hair-accessories-for-teen-girls?variant=52dfdaef-f014-4da6-bbde-4c5db6591beb","available_quantity":999999999,"options":[{"name":"Color","value":"Green"}],"off_ratio":0,"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":"52dfdaef-f014-4da6-bbde-4c5db6591beb","product_id":"597bac9a-265b-4932-96e3-9d09e5736d4a","title":"Green","weight_unit":"kg","inventory_quantity":1000,"sku":"17592193693278","barcode":"","position":2,"option1":"Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/553bdf91524dc7cfcf364cf4836fd506.jpeg","path":"553bdf91524dc7cfcf364cf4836fd506.jpeg","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":10.37,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"10.37","retail_price":"0","available":true,"url":"\/products\/boho-headbands-for-women-fashion-stretch-wide-hair-bands-knot-turban-head-bands-yoga-running-sweatband-elastic-headband-stylish-wrap-headbands-hair-accessories-for-teen-girls?variant=52dfdaef-f014-4da6-bbde-4c5db6591beb","available_quantity":999999999,"options":[{"name":"Color","value":"Green"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}