${function() {
const variantData = data.variant || {"id":"e3da65d0-727c-4f2f-a434-309decf4d4fa","product_id":"148b8d1c-3fcd-4158-bcaf-c9081afc9ae6","title":"10 inches","weight_unit":"kg","inventory_quantity":997,"sku":"BB13x4TL15FCA2SAP","barcode":"","position":1,"option1":"10 inches","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"65.99","price":"32.99","retail_price":"65.99","available":true,"url":"\/products\/salt-and-pepper-grey-hair-curly-lace-front-wig?variant=e3da65d0-727c-4f2f-a434-309decf4d4fa","available_quantity":999999999,"options":[{"name":"Length","value":"10 inches"}],"off_ratio":50,"flashsale_info":[],"sales":2};
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":"e3da65d0-727c-4f2f-a434-309decf4d4fa","product_id":"148b8d1c-3fcd-4158-bcaf-c9081afc9ae6","title":"10 inches","weight_unit":"kg","inventory_quantity":997,"sku":"BB13x4TL15FCA2SAP","barcode":"","position":1,"option1":"10 inches","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"65.99","price":"32.99","retail_price":"65.99","available":true,"url":"\/products\/salt-and-pepper-grey-hair-curly-lace-front-wig?variant=e3da65d0-727c-4f2f-a434-309decf4d4fa","available_quantity":999999999,"options":[{"name":"Length","value":"10 inches"}],"off_ratio":50,"flashsale_info":[],"sales":2};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}