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); }