function update
This commit is contained in:
parent
677ce2fde7
commit
83819892ff
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue