ver 2.0.4 released

This commit is contained in:
magepeopleteam 2018-07-04 12:35:05 +00:00
parent 6d85324187
commit 5d3c4d7e48
5 changed files with 281 additions and 244 deletions

View File

@ -281,10 +281,10 @@ margin: 0;
text-align: left; text-align: left;
} }
#usertotal { #usertotal {
display: block; display: inline-block;
text-align: center; text-align: center;
font-size: 17px; font-size: inherit;
margin: 10px 0; margin: 0 0 0 4px;
font-weight: bold; font-weight: bold;
} }
input.mep_input { input.mep_input {
@ -314,6 +314,16 @@ input.mep_input {
margin: 20px 0 5px 0; margin: 20px 0 5px 0;
font-size: 18px; font-size: 18px;
} }
td.total-col {
font-size: 15px;
padding: 0;
margin: 0;
}
span.the-total {
display: inline-block;
margin-left: 10px;
}
.mep_event_list_item { .mep_event_list_item {
overflow: hidden; overflow: hidden;
@ -584,7 +594,7 @@ font-size: 14px;
display: inline-block; display: inline-block;
} }
.extra-qty-box { .extra-qty-box {
width: auto!important; width: 45px!important;
display: inline-block!important; display: inline-block!important;
padding: 4px 5px!important; padding: 4px 5px!important;
} }
@ -1202,17 +1212,50 @@ label.mep-show {
text-transform: uppercase; text-transform: uppercase;
background: #ffbe30; background: #ffbe30;
color: #ffffff !important; color: #ffffff !important;
-webkit-box-shadow: 0 5px 60px 5px rgba(0, 0, 0, 0.2);
box-shadow: 0 5px 60px 5px rgba(0, 0, 0, 0.2);
border: 0; border: 0;
} }
.mep-default-feature-cart-sec button.single_add_to_cart_button.button.alt.btn-mep-event-cart { .mep-default-feature-cart-sec button.single_add_to_cart_button.button.alt.btn-mep-event-cart {
margin: 20px auto 30px!important; margin: 0 auto!important;
width: 300px; width: 300px;
display: inherit; display: inherit;
margin-bottom: 30px; margin-bottom: 30px;
} }
.mep-default-feature-cart-sec { td.ticket-qty {
text-align: center;
}
span.tkt-qty {
display: block;
}
.ticket-qty .extra-qty-box {
display: block;
float: none;
width: 50%!important;
font-size: 11px;
padding: 5px 2px!important;
margin: 5px 0 5px 0;
height: auto;
}
td.ticket-price {
text-align: center;
vertical-align: top;
}
span.tkt-pric {
display: block;
margin-bottom: 7px;
}
td.user-innnf {
padding: 0!important;
border: 0!important;
width: 100%!important;
}
.mep-default-feature-cart-sec form {
border: 1px solid #ddd; border: 1px solid #ddd;
padding: 0; padding: 0;
} }
@ -1251,6 +1294,35 @@ border: 0;
height: auto; height: auto;
border: 1px solid #ddd; border: 1px solid #ddd;
} }
.mep-default-feature-cart-sec .extra-qty-box {
width: auto!important;
margin-top: 5px;
}
.mep-event-theme-1 .btn-mep-event-cart {
width: 96%;
padding: 5px 0px !important;
margin: 4px;
}
h4.mep-cart-table-title {
text-align: left;
padding: 0;
margin: 0 0 10px 0;
}
.tem2-carts .mep-cart-table-title {
display: none;
}
.tem2-carts h5 {
margin-bottom: 15px;
}
.tem2-carts .extra-qty-box {
width: auto!important;
}
.mep-tem3-cart-sec .extra-qty-box {
width: auto!important;
margin-top: 10px!important;
}
/* Responsive CSS /* Responsive CSS
=====================================================================*/ =====================================================================*/
@media only screen and (min-width: 768px) and (max-width: 990px) { @media only screen and (min-width: 768px) and (max-width: 990px) {
@ -1396,46 +1468,6 @@ border: 0;
.mep-cat-control { .mep-cat-control {
width: 49%; width: 49%;
} }
.mep-default-content {
width: 100%;
float: none;
overflow: hidden;
padding-right: 0;
}
.mep-default-sidebar {
overflow: hidden;
width: 100%;
float: none;
}
.mep-default-feature-date, .mep-default-feature-location, .mep-default-feature-time {
width: 100%;
float: none;
margin: 0;
overflow: hidden;
}
.mep-default-feature-cart-sec button.single_add_to_cart_button.button.alt.btn-mep-event-cart {
width: auto;
display: inherit;
margin-bottom: 30px;
font-size: 13px!important;
padding: 15px 35px!important;
}
.mep-list-footer ul li {
display: block;
width: auto;
margin: 10px 0;
min-width: 100%;
overflow: hidden;
vertical-align: top;
}
#main, .fusion-footer-copyright-area, .fusion-footer-widget-area, .fusion-page-title-bar, .fusion-secondary-header, .fusion-sliding-bar-position-bottom .fusion-sliding-bar, .fusion-sliding-bar-position-top .fusion-sliding-bar, .header-v4 #small-nav, .header-v5 #small-nav, .sticky-header .sticky-shadow, .tfs-slider .slide-content-container {
padding-left: 10px;
padding-right: 10px;
}
.extra-qty-box {
width: 100%!important;
display:block!important;
}
} }
@media (max-width: 319px) { @media (max-width: 319px) {

View File

@ -147,3 +147,6 @@ You can display the event list on any page by using the ShortCode. Just use this
= 2.0.3 = = 2.0.3 =
*Update Release, Responsive issue fixed, added label setting panel so now easily all lable changable from dashboard. 03 July 2018* *Update Release, Responsive issue fixed, added label setting panel so now easily all lable changable from dashboard. 03 July 2018*
= 2.0.4 =
*Update Release, Minor Bug Fixs. 04 July 2018*

View File

@ -66,24 +66,22 @@ else{
$qty_typec = $event_meta['qty_box_type'][0]; $qty_typec = $event_meta['qty_box_type'][0];
?> ?>
<h4 class="mep-cart-table-title"> <?php _e('Register Now:','mep'); ?></h4>
<form action="" method='post'> <form action="" method='post'>
<?php do_action('mep_event_ticket_type_extra_service'); ?> <?php do_action('mep_event_ticket_type_extra_service'); ?>
<input type='hidden' id='rowtotal' value="<?php echo get_post_meta($post_id,"_price",true); ?>"/> <input type='hidden' id='rowtotal' value="<?php echo get_post_meta($post_id,"_price",true); ?>"/>
<table> <table>
<tr> <tr>
<td align="left"><?php _e('Total'); ?></td> <td align="left" class='total-col'><?php _e('Quantity:','mep'); ?> <?php if($event_sqi==1){
<td><?php if($event_sqi==1){
$mep_event_ticket_type = get_post_meta($post_id, 'mep_event_ticket_type', true); $mep_event_ticket_type = get_post_meta($post_id, 'mep_event_ticket_type', true);
if($mep_event_ticket_type){ if($mep_event_ticket_type){
?> ?>
<input id="quantity_5a7abbd1bff73" class="input-text qty text extra-qty-box" step="1" min="1" max="<?php echo ($event_meta['mep_total_seat'][0]- $total_book); ?>" name="quantity" value="1" title="Qty" size="4" pattern="[0-9]*" inputmode="numeric" type="hidden"> <input id="quantity_5a7abbd1bff73" class="input-text qty text extra-qty-box" step="1" min="1" max="<?php echo ($event_meta['mep_total_seat'][0]- $total_book); ?>" name="quantity" value="1" title="Qty" size="4" pattern="[0-9]*" inputmode="numeric" type="hidden">
<p id="ttyttl"></p> <span id="ttyttl"></span>
<?php <?php
}else{ }else{
?>
<?php
$qmx = ($event_meta['mep_total_seat'][0]- $total_book); $qmx = ($event_meta['mep_total_seat'][0]- $total_book);
if($qty_typec=='dropdown'){ ?> if($qty_typec=='dropdown'){ ?>
<select name="quantity" id="quantity_5a7abbd1bff73" class='input-text qty text extra-qty-box'> <select name="quantity" id="quantity_5a7abbd1bff73" class='input-text qty text extra-qty-box'>
@ -93,9 +91,12 @@ if($qty_typec=='dropdown'){ ?>
</select> </select>
<?php }else{ ?> <?php }else{ ?>
<input id="quantity_5a7abbd1bff73" class="input-text qty text extra-qty-box" step="1" min="1" max="<?php echo ($event_meta['mep_total_seat'][0]- $total_book); ?>" name="quantity" value="1" title="Qty" size="4" pattern="[0-9]*" inputmode="numeric" type="number"> <input id="quantity_5a7abbd1bff73" class="input-text qty text extra-qty-box" step="1" min="1" max="<?php echo ($event_meta['mep_total_seat'][0]- $total_book); ?>" name="quantity" value="1" title="Qty" size="4" pattern="[0-9]*" inputmode="numeric" type="number">
<?php } } } ?></td> <?php } } } ?> <span class='the-total'><?php _e('Total','mep'); ?> <span id="usertotal"></span></span></td>
<td align="right"><span id="usertotal"></span></td>
<td align="right"> <button type="submit" name="add-to-cart" value="<?php echo esc_attr($post_id); ?>" class="single_add_to_cart_button button alt btn-mep-event-cart"><?php echo mep_get_label($post_id,'mep_cart_btn_text','Register This Event'); ?> </button></td>
</tr> </tr>
</table> </table>
<?php <?php
@ -108,7 +109,7 @@ if(!$mep_event_ticket_type){
</div> </div>
<?php } ?> <?php } ?>
<button type="submit" name="add-to-cart" value="<?php echo esc_attr($post_id); ?>" class="single_add_to_cart_button button alt btn-mep-event-cart"><?php echo mep_get_label($post_id,'mep_cart_btn_text','Register This Event'); ?> </button>
</form> </form>
<?php <?php

View File

@ -11,7 +11,8 @@ $count=1;
$mep_event_ticket_type = get_post_meta($post->ID, 'mep_event_ticket_type', true); $mep_event_ticket_type = get_post_meta($post->ID, 'mep_event_ticket_type', true);
if($mep_event_ticket_type){ if($mep_event_ticket_type){
?> ?>
<?php _e("<h3 class='ex-sec-title'>".mep_get_label($pid,'mep_event_ticket_type_text','Ticket Type:')."</h3>"); ?> <?php _e("<h3 class='ex-sec-title'>".mep_get_label($pid,'mep_event_ticket_type_text','Ticket Type:
')."</h3>"); ?>
<table> <table>
<?php <?php
$count =1; $count =1;
@ -26,8 +27,8 @@ $qty_t_type = $field['option_qty_t_type'];
<td align="Left"><?php echo $field['option_name_t']; ?> <td align="Left"><?php echo $field['option_name_t']; ?>
<div class="xtra-item-left">-<?php echo $llft; ?> Left</div> <div class="xtra-item-left">-<?php echo $llft; ?> Left</div>
</td> </td>
<td> <td class="ticket-qty">
Ticket Qty: <span class="tkt-qty"> <?php _e('Ticket Qty:','mep'); ?> </span>
<?php if($qty_t_type=='dropdown'){ ?> <?php if($qty_t_type=='dropdown'){ ?>
<select name="option_qty[]" id="eventpxtp_<?php echo $count; ?>" class='extra-qty-box etp'> <select name="option_qty[]" id="eventpxtp_<?php echo $count; ?>" class='extra-qty-box etp'>
<?php for ($i = 0; $i <= $llft; $i++) { ?> <?php for ($i = 0; $i <= $llft; $i++) { ?>
@ -46,7 +47,7 @@ Ticket Qty:
</td> </td>
<td>Per Ticket Price: <strong><?php echo get_woocommerce_currency_symbol().$field['option_price_t']; ?></strong> <td class="ticket-price"><span class="tkt-pric"><?php _e('Per Ticket Price:','mep'); ?></span> <strong><?php echo get_woocommerce_currency_symbol().$field['option_price_t']; ?></strong>
<p style="display: none;" class="price_jq"><?php echo $field['option_price_t']; ?></p> <p style="display: none;" class="price_jq"><?php echo $field['option_price_t']; ?></p>
<input type="hidden" name='option_name[]' value='<?php echo $field['option_name_t']; ?>'> <input type="hidden" name='option_name[]' value='<?php echo $field['option_name_t']; ?>'>
@ -54,7 +55,7 @@ Ticket Qty:
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="3"> <div class="user-info-sec"> <td colspan="3" class='user-innnf'> <div class="user-info-sec">
<div id="dadainfo_<?php echo $count; ?>" class="dada-info"></div></div> <div id="dadainfo_<?php echo $count; ?>" class="dada-info"></div></div>
</td> </td>
</tr> </tr>

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.0.3 * Version: 2.0.4
* Author: MagePeople Team * Author: MagePeople Team
* Author URI: http://www.mage-people.com/ * Author URI: http://www.mage-people.com/
*/ */