${function() {
const variantData = data.variant || {"id":"0f8e528f-d7dc-42cf-b0fb-0fd9b7f396e4","product_id":"d3c829d0-c2a8-480e-8b14-eb01eb6fc2e8","title":"Gradient Brown","weight_unit":"kg","inventory_quantity":0,"sku":"ZY71-Gradient Brown","barcode":"","position":1,"option1":"Gradient Brown","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/37cca808ba945a590a71940b3d00ea9d.webp","path":"37cca808ba945a590a71940b3d00ea9d.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"31.99","retail_price":"59.99","available":true,"url":"\/products\/long-blonde-wig-with-bangs-and-dark-roots-24-inch-synthetic-hair-wig-for-women-perfect-for-any-occasion?variant=0f8e528f-d7dc-42cf-b0fb-0fd9b7f396e4","available_quantity":999999999,"options":[{"name":"Color","value":"Gradient Brown"}],"off_ratio":47,"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":"0f8e528f-d7dc-42cf-b0fb-0fd9b7f396e4","product_id":"d3c829d0-c2a8-480e-8b14-eb01eb6fc2e8","title":"Gradient Brown","weight_unit":"kg","inventory_quantity":0,"sku":"ZY71-Gradient Brown","barcode":"","position":1,"option1":"Gradient Brown","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/37cca808ba945a590a71940b3d00ea9d.webp","path":"37cca808ba945a590a71940b3d00ea9d.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"31.99","retail_price":"59.99","available":true,"url":"\/products\/long-blonde-wig-with-bangs-and-dark-roots-24-inch-synthetic-hair-wig-for-women-perfect-for-any-occasion?variant=0f8e528f-d7dc-42cf-b0fb-0fd9b7f396e4","available_quantity":999999999,"options":[{"name":"Color","value":"Gradient Brown"}],"off_ratio":47,"flashsale_info":[],"sales":1};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}