version 2.6.3 released with issues fixed

This commit is contained in:
magepeopleteam 2019-06-11 08:31:05 +00:00
parent 68ec9ee85d
commit 81cfef40c0
3 changed files with 40 additions and 11 deletions

View File

@ -24,15 +24,22 @@ function export_btn() {
function mep_get_event_user_fields($post_id){ function mep_get_event_user_fields($post_id){
global $woocommerce, $post; global $woocommerce, $post;
$tee = get_post_meta($post_id,'mep_reg_tshirtsize',true);
$adrs = get_post_meta($post_id,'mep_reg_address',true);
if($tee){ $teee = 'Tee Size'; }else{ $teee = ''; }
if($adrs){ $address = 'Addresss'; }else{ $address = ''; }
$row = array( $row = array(
'Ticket No',
'Order ID', 'Order ID',
'Event', 'Event',
'Ticket', 'Ticket',
'Full Name', 'Full Name',
'Email', 'Email',
'Phone', 'Phone',
'Addresss', $address,
'Tee Size', $teee,
'Check in' 'Check in'
); );
@ -53,7 +60,7 @@ foreach ($order as $_exs) {
$exs[] = $_exs['option_name']; $exs[] = $_exs['option_name'];
} }
} }
return array_merge($row, $crow, $exs); return array_merge(array_filter($row), $crow, $exs);
} }
@ -68,17 +75,24 @@ $values = get_post_custom( $post_id );
}else{ }else{
$status = 'no'; $status = 'no';
} }
$tee = get_post_meta($event,'mep_reg_tshirtsize',true);
$adrs = get_post_meta($event,'mep_reg_address',true);
if($tee){ $teee = get_post_meta( $post_id, 'ea_tshirtsize', true ); }else{ $teee = ''; }
if($adrs){ $address = get_post_meta( $post_id, 'ea_address_1', true ); }else{ $address = ''; }
$ticket = get_post_meta( $post_id, 'ea_user_id', true ).get_post_meta( $post_id, 'ea_order_id', true ).$event.$post_id;
$row = array( $row = array(
$ticket,
get_post_meta( $post_id, 'ea_order_id', true ), get_post_meta( $post_id, 'ea_order_id', true ),
get_post_meta( $post_id, 'ea_event_name', true ), get_post_meta( $post_id, 'ea_event_name', true ),
get_post_meta( $post_id, 'ea_ticket_type', true ), get_post_meta( $post_id, 'ea_ticket_type', true ),
get_post_meta( $post_id, 'ea_name', true ), get_post_meta( $post_id, 'ea_name', true ),
get_post_meta( $post_id, 'ea_email', true ), get_post_meta( $post_id, 'ea_email', true ),
get_post_meta( $post_id, 'ea_phone', true ), get_post_meta( $post_id, 'ea_phone', true ),
get_post_meta( $post_id, 'ea_address_1', true ), $address,
get_post_meta( $post_id, 'ea_tshirtsize', true ), $teee,
$status $status
); );
$crow = array(); $crow = array();
@ -106,7 +120,7 @@ foreach ($order as $_exs) {
} }
} }
return array_merge($row, $crow, $exs); return array_merge(array_filter($row), $crow, $exs);
} }
@ -183,6 +197,7 @@ function csv_export() {
$header_row = mep_get_event_user_fields($post_id); $header_row = mep_get_event_user_fields($post_id);
}else{ }else{
$header_row = array( $header_row = array(
'Ticket No',
'Order ID', 'Order ID',
'Event', 'Event',
'Ticket', 'Ticket',
@ -247,7 +262,12 @@ if($status=='publish'){
$status = 'no'; $status = 'no';
} }
$ticket = get_post_meta( $post_id, 'ea_user_id', true ).get_post_meta( $post_id, 'ea_order_id', true ).get_post_meta( $post_id, 'ea_event_id', true ).$post_id;
$row = array( $row = array(
$ticket,
get_post_meta( $post_id, 'ea_order_id', true ), get_post_meta( $post_id, 'ea_order_id', true ),
get_post_meta( $post_id, 'ea_event_name', true ), get_post_meta( $post_id, 'ea_event_name', true ),
get_post_meta( $post_id, 'ea_ticket_type', true ), get_post_meta( $post_id, 'ea_ticket_type', true ),

View File

@ -331,3 +331,13 @@ A. you can create support ticket here with problem details with possible screens
*Update Release: *Update Release:
==> Templating issue fixed in child theme ==> Templating issue fixed in child theme
03 June 2019* 03 June 2019*
*= 2.6.2 & 2.6.3 =
*Update Release:
==> Calendar Button issue fixed
==> Calendar Button label text issue fixed
==> Template broken issue fixed.
==> Add Ticket Number into CSV File
==> Dynamic Column feature in CSV file
11 June 2019*

View File

@ -3,7 +3,7 @@
* Plugin Name: Woocommerce Events Manager * Plugin Name: Woocommerce Events Manager
* Plugin URI: http://mage-people.com * Plugin URI: http://mage-people.com
* Description: A Complete Event Solution for WordPress by MagePeople.. * Description: A Complete Event Solution for WordPress by MagePeople..
* Version: 2.6.2 * Version: 2.6.3
* Author: MagePeople Team * Author: MagePeople Team
* Author URI: http://www.mage-people.com/ * Author URI: http://www.mage-people.com/
* Text Domain: mage-eventpress * Text Domain: mage-eventpress
@ -663,7 +663,6 @@ action=TEMPLATE&text=<?php echo $event->post_title; ?>&dates=<?php echo mep_cale
<li><a href="https://webapps.genprod.com/wa/cal/download-ics.php?date_end=<?php echo mep_calender_date($event_end); ?>&date_start=<?php echo mep_calender_date($event_start); ?>&summary=<?php echo $event->post_title; ?>&location=<?php echo $location; ?>&description=<?php echo substr(strip_tags($event->post_content),0,1000); ?>">APPlE</a></li> <li><a href="https://webapps.genprod.com/wa/cal/download-ics.php?date_end=<?php echo mep_calender_date($event_end); ?>&date_start=<?php echo mep_calender_date($event_start); ?>&summary=<?php echo $event->post_title; ?>&location=<?php echo $location; ?>&description=<?php echo substr(strip_tags($event->post_content),0,1000); ?>">APPlE</a></li>
</ul> </ul>
</div>
<script type="text/javascript"> <script type="text/javascript">