${function() {
const variantData = data.variant || {"id":"44185889-d026-44a3-ad84-13276c9f6cfe","product_id":"7f59025b-8d0c-4924-b87c-9cca83299e58","title":"Red","weight_unit":"kg","inventory_quantity":1000,"sku":"3256804551758777_Red","barcode":"","position":1,"option1":"Red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/151448a38b263110a12990d34117f558.jpeg","path":"151448a38b263110a12990d34117f558.jpeg","width":750,"height":750,"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\/new-autumn-and-winter-woman-woolen-yarn-elastics-hair-band-candy-color-scrunchies-hair-ties-ladies-ponytail-hold-hair-accessorie?variant=44185889-d026-44a3-ad84-13276c9f6cfe","available_quantity":999999999,"options":[{"name":"Color","value":"Red"}],"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":"44185889-d026-44a3-ad84-13276c9f6cfe","product_id":"7f59025b-8d0c-4924-b87c-9cca83299e58","title":"Red","weight_unit":"kg","inventory_quantity":1000,"sku":"3256804551758777_Red","barcode":"","position":1,"option1":"Red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/151448a38b263110a12990d34117f558.jpeg","path":"151448a38b263110a12990d34117f558.jpeg","width":750,"height":750,"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\/new-autumn-and-winter-woman-woolen-yarn-elastics-hair-band-candy-color-scrunchies-hair-ties-ladies-ponytail-hold-hair-accessorie?variant=44185889-d026-44a3-ad84-13276c9f6cfe","available_quantity":999999999,"options":[{"name":"Color","value":"Red"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}