diff --git a/inc/mep_extra_price.php b/inc/mep_extra_price.php
index c4596d9..4b68ba0 100644
--- a/inc/mep_extra_price.php
+++ b/inc/mep_extra_price.php
@@ -110,11 +110,14 @@ function mep_display_custom_fields_text_cart($item_data, $cart_item)
$event_label = mep_get_option('mep_event_label', 'general_setting_sec', 'Events');
- $recurring = get_post_meta($eid, 'mep_enable_recurring', true) ? get_post_meta($eid, 'mep_enable_recurring', true) : 'no';
-
+ $recurring = get_post_meta($eid, 'mep_enable_recurring', true) ? get_post_meta($eid, 'mep_enable_recurring', true) : 'no';
+ $time_status = get_post_meta($eid, 'mep_disable_ticket_time', true) ? get_post_meta($eid, 'mep_disable_ticket_time', true) : 'no';
echo "
";
- if ($recurring == 'yes') {
+
+
+ if($recurring == 'everyday' && $time_status == 'no'){
+
if (is_array($ticket_type_arr) && sizeof($ticket_type_arr) > 0 && sizeof($user_info) == 0) {
foreach ($ticket_type_arr as $_event_recurring_date) {
@@ -125,11 +128,50 @@ function mep_display_custom_fields_text_cart($item_data, $cart_item)
}
}
}
+
+ if (is_array($user_info) && sizeof($user_info) > 0) {
+ echo '- ';
+ echo mep_cart_display_user_list($user_info,$eid);
+ echo '
';
+ }
+
+ }elseif($recurring == 'everyday' && $time_status == 'yes'){
+ if (is_array($ticket_type_arr) && sizeof($ticket_type_arr) > 0 && sizeof($user_info) == 0) {
+
+ foreach ($ticket_type_arr as $_event_recurring_date) {
+ if($hide_date_status == 'no'){
+ ?>
+ - :
+ 0) {
echo '- ';
echo mep_cart_display_user_list($user_info,$eid);
echo '
';
}
+ }elseif ($recurring == 'yes') {
+
+ if (is_array($ticket_type_arr) && sizeof($ticket_type_arr) > 0 && sizeof($user_info) == 0) {
+
+ foreach ($ticket_type_arr as $_event_recurring_date) {
+ if($hide_date_status == 'no'){
+ ?>
+ - :
+ 0) {
+ echo '- ';
+ echo mep_cart_display_user_list($user_info,$eid);
+ echo '
';
+ }
+
+
} else {
if (is_array($user_info) && sizeof($user_info) > 0) {
echo '- ';
@@ -137,6 +179,10 @@ function mep_display_custom_fields_text_cart($item_data, $cart_item)
echo '
';
} else {
if($hide_date_status == 'no'){
+
+
+
+
?>
- :