${function() {
const variantData = data.variant || {"id":"05bb522d-3d5f-437c-9cfb-c13a17867987","product_id":"b5cb42da-1b3b-4262-8af0-10ac2694f0e8","title":"Light Brown","weight_unit":"kg","inventory_quantity":0,"sku":"ZYY-Light Brown","barcode":"","position":1,"option1":"Light Brown","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/17ad9c9f3d7cfbebaecea603d3935d99.jpg","path":"17ad9c9f3d7cfbebaecea603d3935d99.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"29.99","retail_price":"49.99","available":true,"url":"\/products\/trendy-wavy-hair-toppers-with-bangs-blend-well-with-your-hair?variant=05bb522d-3d5f-437c-9cfb-c13a17867987","available_quantity":999999999,"options":[{"name":"COLOR","value":"Light Brown"}],"off_ratio":40,"flashsale_info":[],"sales":1};
const saveType = "amount";
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":"05bb522d-3d5f-437c-9cfb-c13a17867987","product_id":"b5cb42da-1b3b-4262-8af0-10ac2694f0e8","title":"Light Brown","weight_unit":"kg","inventory_quantity":0,"sku":"ZYY-Light Brown","barcode":"","position":1,"option1":"Light Brown","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/17ad9c9f3d7cfbebaecea603d3935d99.jpg","path":"17ad9c9f3d7cfbebaecea603d3935d99.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"29.99","retail_price":"49.99","available":true,"url":"\/products\/trendy-wavy-hair-toppers-with-bangs-blend-well-with-your-hair?variant=05bb522d-3d5f-437c-9cfb-c13a17867987","available_quantity":999999999,"options":[{"name":"COLOR","value":"Light Brown"}],"off_ratio":40,"flashsale_info":[],"sales":1};
return `
`
}()}