${function() {
const variantData = data.variant || {"id":"bd4ff5eb-306c-4f6d-958d-76d298fc924c","product_id":"fbc9a27d-c859-4c11-9bc9-ecc2d265e404","title":"8 inches","weight_unit":"kg","inventory_quantity":986,"sku":"GL05x5TO15DTA2SAP","barcode":"","position":1,"option1":"8 inches","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2c454e472664eda2ecaf8ea19136d06f.jpeg","path":"2c454e472664eda2ecaf8ea19136d06f.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"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-water-wave-glueless-5x5-closure-lace-bob-wig-100-human-hair?variant=bd4ff5eb-306c-4f6d-958d-76d298fc924c","available_quantity":999999999,"options":[{"name":"Length","value":"8 inches"}],"off_ratio":50,"flashsale_info":[],"sales":5};
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":"bd4ff5eb-306c-4f6d-958d-76d298fc924c","product_id":"fbc9a27d-c859-4c11-9bc9-ecc2d265e404","title":"8 inches","weight_unit":"kg","inventory_quantity":986,"sku":"GL05x5TO15DTA2SAP","barcode":"","position":1,"option1":"8 inches","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2c454e472664eda2ecaf8ea19136d06f.jpeg","path":"2c454e472664eda2ecaf8ea19136d06f.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"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-water-wave-glueless-5x5-closure-lace-bob-wig-100-human-hair?variant=bd4ff5eb-306c-4f6d-958d-76d298fc924c","available_quantity":999999999,"options":[{"name":"Length","value":"8 inches"}],"off_ratio":50,"flashsale_info":[],"sales":5};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}