function update
This commit is contained in:
parent
9f9d4c08fa
commit
f6409a90a5
|
@ -113,8 +113,6 @@ function mep_add_custom_price($cart_object)
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* After update the price now need to show user what they selected and the Price details, the below fuunction is for that, Its showing the details into the cart below the event name.
|
||||
*/
|
||||
|
@ -360,10 +358,6 @@ function mep_add_custom_fields_text_to_order_items($item, $cart_item_key, $value
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (is_array($event_extra_service) && sizeof($event_extra_service) > 0) {
|
||||
foreach ($event_extra_service as $extra_service) {
|
||||
$service_type_name = $extra_service['service_name'] . " - " . wc_price(mep_get_price_including_tax($eid, $extra_service['service_price'])) . ' x ' . $extra_service['service_qty'] . ' = ';
|
||||
|
|
|
@ -457,7 +457,7 @@ if (!function_exists('mep_attendee_create')) {
|
|||
|
||||
}
|
||||
|
||||
$ticket_total_price = (mep_get_event_ticket_price_by_name($event_id, $ticket_type) * $ticket_qty);
|
||||
$ticket_total_price = (int) (mep_get_event_ticket_price_by_name($event_id, $ticket_type) * (int) $ticket_qty);
|
||||
|
||||
$new_post = array(
|
||||
'post_title' => $uname,
|
||||
|
|
Loading…
Reference in New Issue