${function() {
const variantData = data.variant || {"id":"72752f5a-428e-4041-a618-2f4e1ba2b3c9","product_id":"382fe000-d4bd-4898-b1e6-7739b36147a1","title":"8 inches","weight_unit":"kg","inventory_quantity":990,"sku":"MW0000NQ15STO4SAP","barcode":"","position":1,"option1":"8 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-pepper-glueless-bob-wig-with-bangs-100-human-hair?variant=72752f5a-428e-4041-a618-2f4e1ba2b3c9","available_quantity":999999999,"options":[{"name":"Length","value":"8 inches"}],"off_ratio":50,"flashsale_info":[],"sales":1};
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":"72752f5a-428e-4041-a618-2f4e1ba2b3c9","product_id":"382fe000-d4bd-4898-b1e6-7739b36147a1","title":"8 inches","weight_unit":"kg","inventory_quantity":990,"sku":"MW0000NQ15STO4SAP","barcode":"","position":1,"option1":"8 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-pepper-glueless-bob-wig-with-bangs-100-human-hair?variant=72752f5a-428e-4041-a618-2f4e1ba2b3c9","available_quantity":999999999,"options":[{"name":"Length","value":"8 inches"}],"off_ratio":50,"flashsale_info":[],"sales":1};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}