From 83819892ff835b535f379ba62f5635cbee34f0cc Mon Sep 17 00:00:00 2001 From: magepeopleteam Date: Tue, 10 Aug 2021 11:42:09 +0000 Subject: [PATCH] function update --- inc/mep_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/mep_functions.php b/inc/mep_functions.php index 82d4eef..560c296 100755 --- a/inc/mep_functions.php +++ b/inc/mep_functions.php @@ -3151,7 +3151,7 @@ if (!function_exists('mep_cart_order_data_save_ticket_type')) { function mep_cart_order_data_save_ticket_type($item,$ticket_type_arr,$eid){ foreach ($ticket_type_arr as $ticket) { $ticket_type_name = $ticket['ticket_name'] . " - " . mep_get_price_including_tax($eid,(int) $ticket['ticket_price']) . ' x ' . $ticket['ticket_qty'] . ' = '; - $ticket_type_val = mep_get_price_including_tax($eid,(int) (float) $ticket['ticket_price'] * (float) $ticket['ticket_qty']); + $ticket_type_val = wc_price(mep_get_price_including_tax($eid,(int) (float) $ticket['ticket_price'] * (float) $ticket['ticket_qty'])); $ticket_name_meta = apply_filters('mep_event_order_meta_ticket_name_filter',$ticket_type_name,$ticket); $item->add_meta_data($ticket_name_meta, $ticket_type_val); }