cart function update

This commit is contained in:
magepeopleteam 2021-10-01 06:25:11 +00:00
parent 6c4b92eb95
commit 030448002f
2 changed files with 8 additions and 8 deletions

View File

@ -316,7 +316,7 @@ function mep_add_custom_fields_text_to_order_items($item, $cart_item_key, $value
if($recurring == 'everyday' && $time_status == 'no'){ if($recurring == 'everyday' && $time_status == 'no'){
if (is_array($ticket_type_arr) && sizeof($ticket_type_arr) > 0) { if (is_array($ticket_type_arr) && sizeof($ticket_type_arr) > 0) {
foreach ($ticket_type_arr as $_event_recurring_date) { foreach ($ticket_type_arr as $_event_recurring_date) {
$item->add_meta_data($date_text, get_mep_datetime($_event_recurring_date['event_date'].' '.$start_time, 'date-time-text')); $item->add_meta_data($date_text, get_mep_datetime($_event_recurring_date['event_date'], 'date-time-text'));
} }
} }
}elseif ($recurring == 'yes') { }elseif ($recurring == 'yes') {