function update
This commit is contained in:
parent
e7737b49ed
commit
ee3b92273c
|
@ -3723,37 +3723,37 @@ if (!function_exists('mep_cart_display_user_list')) {
|
|||
|
||||
|
||||
foreach ($user_info as $userinf) {
|
||||
|
||||
// array_key_exists(
|
||||
?>
|
||||
<ul class='mep_cart_user_inforation_details'>
|
||||
<?php if ($userinf['user_name']) { ?>
|
||||
<?php if (array_key_exists('user_name',$userinf) && !empty($userinf['user_name'])) { ?>
|
||||
<li class='mep_cart_user_name'><?php echo esc_attr(mep_get_reg_label($event_id, 'Name')) . ": ";
|
||||
echo esc_attr($userinf['user_name']); ?></li> <?php } ?>
|
||||
<?php if ($userinf['user_email']) { ?>
|
||||
<?php if (array_key_exists('user_email',$userinf) && !empty($userinf['user_email'])) { ?>
|
||||
<li class='mep_cart_user_email'><?php echo esc_attr(mep_get_reg_label($event_id, 'Email')) . ": ";
|
||||
echo esc_attr($userinf['user_email']); ?></li> <?php } ?>
|
||||
<?php if ($userinf['user_phone']) { ?>
|
||||
<?php if (array_key_exists('user_phone',$userinf) && !empty($userinf['user_phone'])) { ?>
|
||||
<li class='mep_cart_user_phone'><?php echo esc_attr(mep_get_reg_label($event_id, 'Phone')) . ": ";
|
||||
echo esc_attr($userinf['user_phone']); ?></li> <?php } ?>
|
||||
<?php if ($userinf['user_address']) { ?>
|
||||
<?php if (array_key_exists('user_address',$userinf) && !empty($userinf['user_address'])) { ?>
|
||||
<li class='mep_cart_user_address'><?php echo esc_attr(mep_get_reg_label($event_id, 'Address')) . ": ";
|
||||
echo esc_attr($userinf['user_address']); ?></li> <?php } ?>
|
||||
<?php if ($userinf['user_gender']) { ?>
|
||||
<?php if (array_key_exists('user_gender',$userinf) && !empty($userinf['user_gender'])) { ?>
|
||||
<li class='mep_cart_user_gender'><?php echo esc_attr(mep_get_reg_label($event_id, 'Gender')) . ": ";
|
||||
echo esc_attr($userinf['user_gender']); ?></li> <?php } ?>
|
||||
<?php if ($userinf['user_tshirtsize']) { ?>
|
||||
<?php if (array_key_exists('user_tshirtsize',$userinf) && !empty($userinf['user_tshirtsize'])) { ?>
|
||||
<li class='mep_cart_user_tshirt'><?php echo esc_attr(mep_get_reg_label($event_id, 'T-Shirt Size')) . ": ";
|
||||
echo esc_attr($userinf['user_tshirtsize']); ?></li> <?php } ?>
|
||||
<?php if ($userinf['user_company']) { ?>
|
||||
<?php if (array_key_exists('user_company',$userinf) && !empty($userinf['user_company'])) { ?>
|
||||
<li class='mep_cart_user_company'><?php echo esc_attr(mep_get_reg_label($event_id, 'Company')) . ": ";
|
||||
echo esc_attr($userinf['user_company']); ?></li> <?php } ?>
|
||||
<?php if ($userinf['user_designation']) { ?>
|
||||
<?php if (array_key_exists('user_designation',$userinf) && !empty($userinf['user_designation'])) { ?>
|
||||
<li class='mep_cart_user_designation'><?php echo esc_attr(mep_get_reg_label($event_id, 'Designation')) . ": ";
|
||||
echo esc_attr($userinf['user_designation']); ?></li> <?php } ?>
|
||||
<?php if ($userinf['user_website']) { ?>
|
||||
<?php if (array_key_exists('user_website',$userinf) && !empty($userinf['user_website'])) { ?>
|
||||
<li class='mep_cart_user_website'><?php echo esc_attr(mep_get_reg_label($event_id, 'Website')) . ": ";
|
||||
echo esc_attr($userinf['user_website']); ?></li> <?php } ?>
|
||||
<?php if ($userinf['user_vegetarian']) { ?>
|
||||
<?php if (array_key_exists('user_vegetarian',$userinf) && !empty($userinf['user_vegetarian'])) { ?>
|
||||
<li class='mep_cart_user_vegitarian'>
|
||||
<?php
|
||||
$vegetarian=strtolower($userinf['user_vegetarian'])=='yes'?esc_html__('Yes','mage-eventpress'):esc_html__('No','mage-eventpress');
|
||||
|
|
Loading…
Reference in New Issue