${function() {
const variantData = data.variant || {"id":"d7d264ce-b3a6-488c-a811-8625d0139caa","product_id":"45f33d6d-f250-48e5-8997-c320a42b1d5c","title":"12 12 12","weight_unit":"kg","inventory_quantity":100,"sku":"","barcode":"","position":1,"option1":"12 12 12","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":137.12,"min_quantity":1}],"weight":"0.35","compare_at_price":"182.82","price":"137.12","retail_price":"182.82","available":true,"url":"\/products\/yvonne-super-high-density-lace-wig-premium-natural-straight-3-bundles-with-5x5-lace-closure?variant=d7d264ce-b3a6-488c-a811-8625d0139caa","available_quantity":100,"options":[{"name":"Length","value":"12 12 12"}],"off_ratio":"25","flashsale_info":{"variant_id":"d7d264ce-b3a6-488c-a811-8625d0139caa","product_id":"","quantity":0,"discount_id":"65f27d22-ccfe-4f44-ba97-4a51624aaffa","limit_time":113820,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":0,"discount_sales_rate":"0","discount_stock":100,"ends_at":1714463999,"starts_at":1685438259,"allow_oversold":"uncheck","allocation_method":"none","price":"137.12","compare_at_price":"182.82","discount_price":"137.12","customary_saved_price":"45.7","customary_off_ratio":"25","discount_saved_price":"45.7","discount_off_ratio":"25","use_before_price":false,"before_price":"0","title":"","properties":"","color_setting_promotional_copy":"SPECIAL OFFER","discount_quantity":0,"is_need_split":false},"sales":18};
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":"d7d264ce-b3a6-488c-a811-8625d0139caa","product_id":"45f33d6d-f250-48e5-8997-c320a42b1d5c","title":"12 12 12","weight_unit":"kg","inventory_quantity":100,"sku":"","barcode":"","position":1,"option1":"12 12 12","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":137.12,"min_quantity":1}],"weight":"0.35","compare_at_price":"182.82","price":"137.12","retail_price":"182.82","available":true,"url":"\/products\/yvonne-super-high-density-lace-wig-premium-natural-straight-3-bundles-with-5x5-lace-closure?variant=d7d264ce-b3a6-488c-a811-8625d0139caa","available_quantity":100,"options":[{"name":"Length","value":"12 12 12"}],"off_ratio":"25","flashsale_info":{"variant_id":"d7d264ce-b3a6-488c-a811-8625d0139caa","product_id":"","quantity":0,"discount_id":"65f27d22-ccfe-4f44-ba97-4a51624aaffa","limit_time":113820,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":0,"discount_sales_rate":"0","discount_stock":100,"ends_at":1714463999,"starts_at":1685438259,"allow_oversold":"uncheck","allocation_method":"none","price":"137.12","compare_at_price":"182.82","discount_price":"137.12","customary_saved_price":"45.7","customary_off_ratio":"25","discount_saved_price":"45.7","discount_off_ratio":"25","use_before_price":false,"before_price":"0","title":"","properties":"","color_setting_promotional_copy":"SPECIAL OFFER","discount_quantity":0,"is_need_split":false},"sales":18};
return `
Sku : ${variantData && variantData.sku}
`
}()}