function update

This commit is contained in:
magepeopleteam 2022-09-15 05:35:57 +00:00
parent b8941b4bbe
commit a2c3397031
1 changed files with 3 additions and 7 deletions

View File

@ -737,7 +737,9 @@ function mep_check_attendee_exist_before_create($order_id, $event_id, $date ='')
} }
} }
do_action('mep_after_event_booking',$order_id,$order->get_status()); do_action('mep_after_event_booking',$order_id,$order->get_status());
$woocommerce->cart->empty_cart(); if(!class_exists('WC_Xendit_CC')){
$woocommerce->cart->empty_cart();
}
} }
} }
} }
@ -5144,12 +5146,6 @@ jQuery(document).on('change', '.mep_global_time_format', function () {
return false; return false;
}); });
</script> </script>
<?php <?php
} }