${function() {
const variantData = data.variant || {"id":"29103cef-505b-435d-9b05-383e478f4c6a","product_id":"a6b222ac-35e3-4bd9-b64a-84447efbef40","title":"Pink","weight_unit":"kg","inventory_quantity":1000,"sku":"3256805325750449_Pink","barcode":"","position":1,"option1":"Pink","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f1f41ad9a0e379b6e58703a6f99d5311.jpeg","path":"f1f41ad9a0e379b6e58703a6f99d5311.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\/woman-fresh-fragmented-flowers-cloth-elastics-hair-band-printing-scrunchies-hair-ties-ladies-ponytail-hold-girls-hair-accessorie?variant=29103cef-505b-435d-9b05-383e478f4c6a","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":"29103cef-505b-435d-9b05-383e478f4c6a","product_id":"a6b222ac-35e3-4bd9-b64a-84447efbef40","title":"Pink","weight_unit":"kg","inventory_quantity":1000,"sku":"3256805325750449_Pink","barcode":"","position":1,"option1":"Pink","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f1f41ad9a0e379b6e58703a6f99d5311.jpeg","path":"f1f41ad9a0e379b6e58703a6f99d5311.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\/woman-fresh-fragmented-flowers-cloth-elastics-hair-band-printing-scrunchies-hair-ties-ladies-ponytail-hold-girls-hair-accessorie?variant=29103cef-505b-435d-9b05-383e478f4c6a","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}
`
}()}