${function() {
const variantData = data.variant || {"id":"edce6c59-7f29-438f-926a-bf63ff70030e","product_id":"996b9e5a-4ba8-438e-9137-166c7b42a6a1","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":140.18,"min_quantity":1}],"weight":"0.35","compare_at_price":"186.9","price":"140.18","retail_price":"186.9","available":true,"url":"\/products\/yvonne-super-high-density-lace-wig-premium-italian-curly-3-bundles-with-5x5-lace-closure?variant=edce6c59-7f29-438f-926a-bf63ff70030e","available_quantity":100,"options":[{"name":"Length","value":"12 12 12"}],"off_ratio":"25","flashsale_info":{"variant_id":"edce6c59-7f29-438f-926a-bf63ff70030e","product_id":"","quantity":0,"discount_id":"65f27d22-ccfe-4f44-ba97-4a51624aaffa","limit_time":129037,"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":"140.18","compare_at_price":"186.9","discount_price":"140.18","customary_saved_price":"46.72","customary_off_ratio":"25","discount_saved_price":"46.72","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":"edce6c59-7f29-438f-926a-bf63ff70030e","product_id":"996b9e5a-4ba8-438e-9137-166c7b42a6a1","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":140.18,"min_quantity":1}],"weight":"0.35","compare_at_price":"186.9","price":"140.18","retail_price":"186.9","available":true,"url":"\/products\/yvonne-super-high-density-lace-wig-premium-italian-curly-3-bundles-with-5x5-lace-closure?variant=edce6c59-7f29-438f-926a-bf63ff70030e","available_quantity":100,"options":[{"name":"Length","value":"12 12 12"}],"off_ratio":"25","flashsale_info":{"variant_id":"edce6c59-7f29-438f-926a-bf63ff70030e","product_id":"","quantity":0,"discount_id":"65f27d22-ccfe-4f44-ba97-4a51624aaffa","limit_time":129037,"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":"140.18","compare_at_price":"186.9","discount_price":"140.18","customary_saved_price":"46.72","customary_off_ratio":"25","discount_saved_price":"46.72","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}
`
}()}