version 2.6.3 released with issues fixed
This commit is contained in:
parent
68ec9ee85d
commit
81cfef40c0
|
@ -24,15 +24,22 @@ function export_btn() {
|
|||
|
||||
function mep_get_event_user_fields($post_id){
|
||||
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(
|
||||
'Ticket No',
|
||||
'Order ID',
|
||||
'Event',
|
||||
'Ticket',
|
||||
'Full Name',
|
||||
'Email',
|
||||
'Phone',
|
||||
'Addresss',
|
||||
'Tee Size',
|
||||
$address,
|
||||
$teee,
|
||||
'Check in'
|
||||
);
|
||||
|
||||
|
@ -53,7 +60,7 @@ foreach ($order as $_exs) {
|
|||
$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{
|
||||
$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(
|
||||
$ticket,
|
||||
get_post_meta( $post_id, 'ea_order_id', 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_name', true ),
|
||||
get_post_meta( $post_id, 'ea_email', true ),
|
||||
get_post_meta( $post_id, 'ea_phone', true ),
|
||||
get_post_meta( $post_id, 'ea_address_1', true ),
|
||||
get_post_meta( $post_id, 'ea_tshirtsize', true ),
|
||||
$address,
|
||||
$teee,
|
||||
$status
|
||||
);
|
||||
$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);
|
||||
}else{
|
||||
$header_row = array(
|
||||
'Ticket No',
|
||||
'Order ID',
|
||||
'Event',
|
||||
'Ticket',
|
||||
|
@ -247,7 +262,12 @@ if($status=='publish'){
|
|||
$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(
|
||||
$ticket,
|
||||
get_post_meta( $post_id, 'ea_order_id', true ),
|
||||
get_post_meta( $post_id, 'ea_event_name', true ),
|
||||
get_post_meta( $post_id, 'ea_ticket_type', true ),
|
||||
|
|
12
readme.txt
12
readme.txt
|
@ -330,4 +330,14 @@ A. you can create support ticket here with problem details with possible screens
|
|||
*= 2.6.1 =
|
||||
*Update Release:
|
||||
==> 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*
|
|
@ -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.2
|
||||
* Version: 2.6.3
|
||||
* Author: MagePeople Team
|
||||
* Author URI: http://www.mage-people.com/
|
||||
* 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>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
|
|
Loading…
Reference in New Issue