${function() {
const variantData = data.variant || {"id":"11fc961b-40af-4055-94f3-1b8926609224","product_id":"b87ad2f9-82c0-4dc8-b73d-f85388fda489","title":"6 inches","weight_unit":"kg","inventory_quantity":998,"sku":"GL05x5TO15STA0SAP","barcode":"","position":1,"option1":"6 inches","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b47be07b7b232c3c505497dc82e95d6a.jpeg","path":"b47be07b7b232c3c505497dc82e95d6a.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-and-pepper-highlight-wig-human-hair-5x5-straight-lace-front-wig?variant=11fc961b-40af-4055-94f3-1b8926609224","available_quantity":999999999,"options":[{"name":"Length","value":"6 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":"11fc961b-40af-4055-94f3-1b8926609224","product_id":"b87ad2f9-82c0-4dc8-b73d-f85388fda489","title":"6 inches","weight_unit":"kg","inventory_quantity":998,"sku":"GL05x5TO15STA0SAP","barcode":"","position":1,"option1":"6 inches","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b47be07b7b232c3c505497dc82e95d6a.jpeg","path":"b47be07b7b232c3c505497dc82e95d6a.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-and-pepper-highlight-wig-human-hair-5x5-straight-lace-front-wig?variant=11fc961b-40af-4055-94f3-1b8926609224","available_quantity":999999999,"options":[{"name":"Length","value":"6 inches"}],"off_ratio":50,"flashsale_info":[],"sales":2};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}