${function() {
const variantData = data.variant || {"id":"c3e133e7-1fd7-464a-92d3-aa3df25a0671","product_id":"d12203b0-8be5-4f29-8d2c-a332e0d64ccd","title":"pink","weight_unit":"kg","inventory_quantity":1000,"sku":"3256803240353247_pink","barcode":"","position":1,"option1":"pink","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cc3f063f9c89be43c5fa2a55f688bf95.jpeg","path":"cc3f063f9c89be43c5fa2a55f688bf95.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"9.99","retail_price":"19.99","available":true,"url":"\/products\/wash-face-hairband-lovely-woman-girls-plush-strawberry-headband-head-hoop-women-hair-accessories-headwear-turban?variant=c3e133e7-1fd7-464a-92d3-aa3df25a0671","available_quantity":999999999,"options":[{"name":"Color","value":"pink"}],"off_ratio":50,"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":"c3e133e7-1fd7-464a-92d3-aa3df25a0671","product_id":"d12203b0-8be5-4f29-8d2c-a332e0d64ccd","title":"pink","weight_unit":"kg","inventory_quantity":1000,"sku":"3256803240353247_pink","barcode":"","position":1,"option1":"pink","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cc3f063f9c89be43c5fa2a55f688bf95.jpeg","path":"cc3f063f9c89be43c5fa2a55f688bf95.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"9.99","retail_price":"19.99","available":true,"url":"\/products\/wash-face-hairband-lovely-woman-girls-plush-strawberry-headband-head-hoop-women-hair-accessories-headwear-turban?variant=c3e133e7-1fd7-464a-92d3-aa3df25a0671","available_quantity":999999999,"options":[{"name":"Color","value":"pink"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}