${function() {
const variantData = data.variant || {"id":"499ced22-39c1-4fca-aaae-b3f9a660ae2d","product_id":"6201eeb2-a8dc-4e80-9ccc-f2f84e4d8f95","title":"Brown to Ash Blonde","weight_unit":"kg","inventory_quantity":1000,"sku":"ZUU-Brown to Ash Blonde","barcode":"","position":1,"option1":"Brown to Ash Blonde","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1e75a794d59d46a3f261c6c7c6b822ec.jpeg","path":"1e75a794d59d46a3f261c6c7c6b822ec.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"20.99","retail_price":"39.99","available":true,"url":"\/products\/messy-bun-hair-piece-side-comb-styles-hairpiece?variant=499ced22-39c1-4fca-aaae-b3f9a660ae2d","available_quantity":999999999,"options":[{"name":"Color","value":"Brown to Ash Blonde"}],"off_ratio":48,"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":"499ced22-39c1-4fca-aaae-b3f9a660ae2d","product_id":"6201eeb2-a8dc-4e80-9ccc-f2f84e4d8f95","title":"Brown to Ash Blonde","weight_unit":"kg","inventory_quantity":1000,"sku":"ZUU-Brown to Ash Blonde","barcode":"","position":1,"option1":"Brown to Ash Blonde","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1e75a794d59d46a3f261c6c7c6b822ec.jpeg","path":"1e75a794d59d46a3f261c6c7c6b822ec.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"20.99","retail_price":"39.99","available":true,"url":"\/products\/messy-bun-hair-piece-side-comb-styles-hairpiece?variant=499ced22-39c1-4fca-aaae-b3f9a660ae2d","available_quantity":999999999,"options":[{"name":"Color","value":"Brown to Ash Blonde"}],"off_ratio":48,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}