${function() {
const variantData = data.variant || {"id":"a7cd36fc-9430-4416-9212-fb0761ba5ab5","product_id":"9548f521-cbfc-45a0-b1b5-f33857a0fc95","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-13-4-lace-frontal?variant=a7cd36fc-9430-4416-9212-fb0761ba5ab5","available_quantity":100,"options":[{"name":"Length","value":"12 12 12"}],"off_ratio":"25","flashsale_info":{"variant_id":"a7cd36fc-9430-4416-9212-fb0761ba5ab5","product_id":"","quantity":0,"discount_id":"3e3e5ca8-7d0a-4863-8a25-0f33bba98502","limit_time":-1,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":0,"discount_sales_rate":"0","discount_stock":100,"ends_at":-1,"starts_at":1714464000,"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":12};
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":"a7cd36fc-9430-4416-9212-fb0761ba5ab5","product_id":"9548f521-cbfc-45a0-b1b5-f33857a0fc95","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-13-4-lace-frontal?variant=a7cd36fc-9430-4416-9212-fb0761ba5ab5","available_quantity":100,"options":[{"name":"Length","value":"12 12 12"}],"off_ratio":"25","flashsale_info":{"variant_id":"a7cd36fc-9430-4416-9212-fb0761ba5ab5","product_id":"","quantity":0,"discount_id":"3e3e5ca8-7d0a-4863-8a25-0f33bba98502","limit_time":-1,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":0,"discount_sales_rate":"0","discount_stock":100,"ends_at":-1,"starts_at":1714464000,"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":12};
return `
Sku : ${variantData && variantData.sku}
`
}()}