${function() {
const variantData = data.variant || {"id":"5e64e522-19e0-49fd-9a57-7f5517188b37","product_id":"3be86f5d-da6b-4d82-981f-cf2d011a8bdc","title":"Blonde-8 Inch","weight_unit":"kg","inventory_quantity":726,"sku":"ZY84-Blonde-8 Inch","barcode":"","position":1,"option1":"Blonde","option2":"8 Inch","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4dd8022bfe2ea682bd4842c27bfed836.png","path":"4dd8022bfe2ea682bd4842c27bfed836.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"57.99","price":"28.99","retail_price":"57.99","available":true,"url":"\/products\/buy-2-get-1-free-natural-hair-toppers-with-bangs?variant=5e64e522-19e0-49fd-9a57-7f5517188b37","available_quantity":999999999,"options":[{"name":"COLOR","value":"Blonde"},{"name":"LENGTH","value":"8 Inch"}],"off_ratio":50,"flashsale_info":[],"sales":207};
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}
`
}()}
${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":"5e64e522-19e0-49fd-9a57-7f5517188b37","product_id":"3be86f5d-da6b-4d82-981f-cf2d011a8bdc","title":"Blonde-8 Inch","weight_unit":"kg","inventory_quantity":726,"sku":"ZY84-Blonde-8 Inch","barcode":"","position":1,"option1":"Blonde","option2":"8 Inch","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4dd8022bfe2ea682bd4842c27bfed836.png","path":"4dd8022bfe2ea682bd4842c27bfed836.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"57.99","price":"28.99","retail_price":"57.99","available":true,"url":"\/products\/buy-2-get-1-free-natural-hair-toppers-with-bangs?variant=5e64e522-19e0-49fd-9a57-7f5517188b37","available_quantity":999999999,"options":[{"name":"COLOR","value":"Blonde"},{"name":"LENGTH","value":"8 Inch"}],"off_ratio":50,"flashsale_info":[],"sales":207};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}