version 2.6.8 released with double booking issue fixed
This commit is contained in:
parent
94011b99c2
commit
1372bb20a0
10
readme.txt
10
readme.txt
|
@ -364,10 +364,16 @@ A. you can create support ticket here with problem details with possible screens
|
|||
1 July 2019*
|
||||
|
||||
|
||||
*= 2.6.6 =
|
||||
*= 2.6.7 =
|
||||
* Update Release:
|
||||
==> Timezone issue fixed
|
||||
==> Added Event expire date change settings
|
||||
==> Negative value display issue fixed.
|
||||
|
||||
3 July 2019*
|
||||
3 July 2019*
|
||||
|
||||
|
||||
*= 2.6.8 =
|
||||
* Update Release:
|
||||
==> Quick fix, Double booking issue fixed.
|
||||
5 July 2019*
|
|
@ -3,7 +3,7 @@
|
|||
* Plugin Name: Woocommerce Events Manager
|
||||
* Plugin URI: http://mage-people.com
|
||||
* Description: A Complete Event Solution for WordPress by MagePeople..
|
||||
* Version: 2.6.7
|
||||
* Version: 2.6.8
|
||||
* Author: MagePeople Team
|
||||
* Author URI: http://www.mage-people.com/
|
||||
* Text Domain: mage-eventpress
|
||||
|
@ -368,7 +368,6 @@ if($order->has_status( 'cancelled' )) {
|
|||
|
||||
|
||||
|
||||
|
||||
if( $order->has_status( 'completed' )) {
|
||||
update_post_meta( $event_id, $mep_atnd, "a2");
|
||||
// update_post_meta( $event_id, $order_meta_text, $order_completed);
|
||||
|
@ -389,15 +388,15 @@ update_post_meta( $event_id, $mep_atnd, "a2");
|
|||
update_post_meta( $event_id, 'total_booking', ($mep_total_booking+$item_quantity));
|
||||
update_post_meta( $event_id, $order_meta_text, $order_completed);
|
||||
|
||||
foreach ( $result as $page ){
|
||||
if (strpos($page->meta_key, '_') !== 0) {
|
||||
$order_option_name = $event_id.str_replace(' ', '', mep_get_string_part($page->meta_key,0));
|
||||
$order_option_qty = mep_get_string_part($page->meta_key,1);
|
||||
$tes = get_post_meta($event_id,"mep_xtra_$order_option_name",true);
|
||||
$ntes = ($tes+$order_option_qty);
|
||||
update_post_meta( $event_id, "mep_xtra_$order_option_name",$ntes);
|
||||
}
|
||||
}
|
||||
// foreach ( $result as $page ){
|
||||
// if (strpos($page->meta_key, '_') !== 0) {
|
||||
// $order_option_name = $event_id.str_replace(' ', '', mep_get_string_part($page->meta_key,0));
|
||||
// $order_option_qty = mep_get_string_part($page->meta_key,1);
|
||||
// $tes = get_post_meta($event_id,"mep_xtra_$order_option_name",true);
|
||||
// $ntes = ($tes+$order_option_qty);
|
||||
// update_post_meta( $event_id, "mep_xtra_$order_option_name",$ntes);
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
||||
else{
|
||||
|
|
Loading…
Reference in New Issue