${function() {
const variantData = data.variant || {"id":"5d3d9c87-d586-4d0b-b92a-b2bacc13989d","product_id":"0b5a609d-f5d3-48ff-8c2b-edbc58bcfe7b","title":"BROWN-18 INCH-100%(Thick)","weight_unit":"kg","inventory_quantity":998,"sku":"SW-L-CP-DB","barcode":"","position":1,"option1":"BROWN","option2":"18 INCH","option3":"100%(Thick)","note":"","image":{"src":"\/\/img.staticdj.com\/1e53fadee6cdba254b9bc2af772186b1.jpeg","path":"1e53fadee6cdba254b9bc2af772186b1.jpeg","width":655,"height":665,"alt":"","aspect_ratio":0.9849624060150376},"wholesale_price":[{"price":31.35,"min_quantity":1}],"weight":"0","compare_at_price":"79.99","price":"31.35","retail_price":"79.99","available":true,"url":"\/products\/hightlight-brown-mixed-blonde-long-hiar-wig-straight-wig?variant=5d3d9c87-d586-4d0b-b92a-b2bacc13989d","available_quantity":999999999,"options":[{"name":"COLOR","value":"BROWN"},{"name":"LENGTH","value":"18 INCH"},{"name":"DENSITY","value":"100%(Thick)"}],"off_ratio":61,"flashsale_info":[],"sales":0};
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}
`
}()}
${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":"5d3d9c87-d586-4d0b-b92a-b2bacc13989d","product_id":"0b5a609d-f5d3-48ff-8c2b-edbc58bcfe7b","title":"BROWN-18 INCH-100%(Thick)","weight_unit":"kg","inventory_quantity":998,"sku":"SW-L-CP-DB","barcode":"","position":1,"option1":"BROWN","option2":"18 INCH","option3":"100%(Thick)","note":"","image":{"src":"\/\/img.staticdj.com\/1e53fadee6cdba254b9bc2af772186b1.jpeg","path":"1e53fadee6cdba254b9bc2af772186b1.jpeg","width":655,"height":665,"alt":"","aspect_ratio":0.9849624060150376},"wholesale_price":[{"price":31.35,"min_quantity":1}],"weight":"0","compare_at_price":"79.99","price":"31.35","retail_price":"79.99","available":true,"url":"\/products\/hightlight-brown-mixed-blonde-long-hiar-wig-straight-wig?variant=5d3d9c87-d586-4d0b-b92a-b2bacc13989d","available_quantity":999999999,"options":[{"name":"COLOR","value":"BROWN"},{"name":"LENGTH","value":"18 INCH"},{"name":"DENSITY","value":"100%(Thick)"}],"off_ratio":61,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}