v 3.6.0 released

This commit is contained in:
magepeopleteam 2022-03-25 06:56:18 +00:00
parent e048c9a98b
commit 3b566e303f
4 changed files with 4 additions and 4 deletions

View File

@ -96,7 +96,7 @@ add_filter('woocommerce_add_cart_item_data', 'mep_add_custom_fields_text_to_cart
/** /**
* Now need to update the cart price according to user selection, the below function is doing this part, Its getting the new parice and update the cart price to new * Now need to update the cart price according to user selection, the below function is doing this part, Its getting the new parice and update the cart price to new
*/ */
add_action('woocommerce_before_calculate_totals', 'mep_add_custom_price', 90, 1); add_action('woocommerce_before_calculate_totals', 'mep_add_custom_price', 10000, 1);
function mep_add_custom_price($cart_object) function mep_add_custom_price($cart_object)
{ {
foreach ($cart_object->cart_contents as $key => $value) { foreach ($cart_object->cart_contents as $key => $value) {

View File

@ -184,7 +184,7 @@ function mpwem_page_scroll_to(target) {
let pagination_page = parseInt($(this).attr('data-load-more')); let pagination_page = parseInt($(this).attr('data-load-more'));
let parent = $(this).closest('.list_with_filter_section'); let parent = $(this).closest('.list_with_filter_section');
let item_class = get_item_class(parent); let item_class = get_item_class(parent);
if (parent.find(item_class + ':hidden').size() > 0) { if (parent.find(item_class + ':hidden').length > 0) {
pagination_page = pagination_page + 1; pagination_page = pagination_page + 1;
} else { } else {
pagination_page = 0; pagination_page = 0;

View File

@ -31,7 +31,7 @@
<div class="mage_input_group"> <div class="mage_input_group">
<span class="fa fa-minus qty_dec"></span> <span class="fa fa-minus qty_dec"></span>
<input id="eventpxtp_<?php echo esc_attr($count); ?>" type="text" class='extra-qty-box etp' name='option_qty[]' data-price='<?php echo esc_attr($data_price); ?>' value='<?php echo esc_attr($default_quantity); ?>' min="<?php echo esc_attr($total_min_seat); ?>" max="<?php echo esc_attr(max($total_left, 0)); ?>"> <input id="eventpxtp_<?php echo esc_attr($count); ?>" type="text" class='extra-qty-box etp' name='option_qty[]' data-price='<?php echo esc_attr($data_price); ?>' value='<?php echo esc_attr($default_qty); ?>' min="<?php echo esc_attr($total_min_seat); ?>" max="<?php echo esc_attr(max($total_left, 0)); ?>">
<span class="fa fa-plus qty_inc"></span> <span class="fa fa-plus qty_inc"></span>
</div> </div>
<?php } <?php }

View File

@ -3,7 +3,7 @@
* Plugin Name: Event Manager and Tickets Selling Plugin for WooCommerce * Plugin Name: Event Manager and Tickets Selling Plugin for WooCommerce
* 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: 3.5.9 * Version: 3.6.0
* 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