cart function update
This commit is contained in:
parent
6688763843
commit
9a49767315
|
@ -303,7 +303,7 @@ function mep_add_custom_fields_text_to_order_items($item, $cart_item_key, $value
|
|||
if ($recurring == 'everyday' && $time_status == 'no') {
|
||||
if (is_array($ticket_type_arr) && sizeof($ticket_type_arr) > 0) {
|
||||
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') {
|
||||
|
|
|
@ -48,11 +48,11 @@ function mep_event_calender()
|
|||
while ($loop->have_posts()) {
|
||||
$loop->the_post();
|
||||
$event_meta = get_post_custom(get_the_id());
|
||||
$event_dates = mep_get_event_dates_arr(get_the_id());
|
||||
$event_dates = mep_get_event_dates_arr(get_the_id());
|
||||
|
||||
foreach ($event_dates as $_dates) {
|
||||
?>
|
||||
{
|
||||
foreach ($event_dates as $_dates) {
|
||||
?>
|
||||
{
|
||||
start : '<?php echo date_i18n('Y-m-d H:i', strtotime($_dates['start'])); ?>',
|
||||
end : '<?php echo date_i18n('Y-m-d H:i', strtotime($_dates['end'])); ?>',
|
||||
title : '<?php the_title(); ?>',
|
||||
|
@ -61,8 +61,8 @@ foreach ($event_dates as $_dates) {
|
|||
color : '#000',
|
||||
data : {}
|
||||
},
|
||||
<?php
|
||||
}
|
||||
<?php
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue