WooCommerce Menu Cart - Version 2.5.7

Version Description

  • Fix: Improved JS in Easy Digital Downloads
  • New: Hungarian translation
  • Tweak: Use css dash instead of hard-coded dash
Download this release

Release Info

Developer jprummer
Plugin Icon 128x128 WooCommerce Menu Cart
Version 2.5.7
Comparing to
See all releases

Code changes from version 2.5.6 to 2.5.7

css/wpmenucart-main.css CHANGED
@@ -2,7 +2,7 @@
2
  display: none !important;
3
  }
4
 
5
- .wpmenucart-contents > .amount:before {
6
  content: '-';
7
  margin: 0 0.25em;
8
  }
2
  display: none !important;
3
  }
4
 
5
+ .cartcontents + .amount:before {
6
  content: '-';
7
  margin: 0 0.25em;
8
  }
javascript/wpmenucart.js CHANGED
@@ -8,19 +8,20 @@
8
  */
9
 
10
  jQuery( function( $ ) {
 
 
 
 
 
 
 
 
 
 
 
11
 
12
- $( document ).on( 'click',
13
- '.edd-add-to-cart, ' +
14
- '.wpsc_buy_button, ' +
15
- '.eshopbutton, ' +
16
- 'div.cartopt p label.update input#update, ' +
17
- '.add_to_cart_button, ' +
18
- '.woocommerce-cart input.minus, ' +
19
- '.cart_item a.remove, ' +
20
- '#order_review .opc_cart_item a.remove, '+
21
- '.woocommerce-cart input.plus',
22
- function() {
23
- WPMenucart_Timeout();
24
  });
25
 
26
  function WPMenucart_Timeout() {
8
  */
9
 
10
  jQuery( function( $ ) {
11
+ var buttons = [
12
+ ".edd-add-to-cart",
13
+ ".wpsc_buy_button",
14
+ ".eshopbutton",
15
+ "div.cartopt p label.update input#update",
16
+ ".add_to_cart_button",
17
+ ".woocommerce-cart input.minus",
18
+ ".cart_item a.remove",
19
+ "#order_review .opc_cart_item a.remove",
20
+ ".woocommerce-cart input.plus"
21
+ ];
22
 
23
+ jQuery(document.body).on('click', buttons.join(','), function(){
24
+ WPMenucart_Timeout();
 
 
 
 
 
 
 
 
 
 
25
  });
26
 
27
  function WPMenucart_Timeout() {
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: jprummer, pomegranate
3
  Donate link: https://www.wpovernight.com/
4
  Tags: woocommerce, menu, bar, cart, basket, header, shopping cart, navigation, edd, ecommerce, eshop, wp-ecommerce, jigoshop, wpec, test
5
  Requires at least: 3.4
6
- Tested up to: 4.1
7
- Stable tag: 2.5.6
8
 
9
  Automatically displays a shopping cart in your menu bar. Works with WooCommerce, WP-Ecommerce, EDD, Eshop and Jigoshop
10
 
@@ -62,6 +62,7 @@ Translations:
62
  * Czech
63
  * Norwegian
64
  * Slovak
 
65
 
66
  [1] WebHostingHub
67
  == Installation ==
@@ -80,6 +81,12 @@ Once the plugin is activated navigate to Settings > Menu Cart Setup. Select your
80
 
81
  == Changelog ==
82
 
 
 
 
 
 
 
83
  = 2.5.6 =
84
 
85
  * New: Slovak Translation
3
  Donate link: https://www.wpovernight.com/
4
  Tags: woocommerce, menu, bar, cart, basket, header, shopping cart, navigation, edd, ecommerce, eshop, wp-ecommerce, jigoshop, wpec, test
5
  Requires at least: 3.4
6
+ Tested up to: 4.1.1
7
+ Stable tag: 2.5.7
8
 
9
  Automatically displays a shopping cart in your menu bar. Works with WooCommerce, WP-Ecommerce, EDD, Eshop and Jigoshop
10
 
62
  * Czech
63
  * Norwegian
64
  * Slovak
65
+ * Hungarian
66
 
67
  [1] WebHostingHub
68
  == Installation ==
81
 
82
  == Changelog ==
83
 
84
+ = 2.5.7 =
85
+
86
+ * Fix: Improved JS in Easy Digital Downloads
87
+ * New: Hungarian translation
88
+ * Tweak: Use css dash instead of hard-coded dash
89
+
90
  = 2.5.6 =
91
 
92
  * New: Slovak Translation
wp-menu-cart.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WooCommerce Menu Cart
4
  Plugin URI: www.wpovernight.com/plugins
5
  Description: Extension for WooCommerce that places a cart icon with number of items and total cost in the menu bar. Activate the plugin, set your options and you're ready to go! Will automatically conform to your theme styles.
6
- Version: 2.5.6
7
  Author: Jeremiah Prummer, Ewout Fernhout
8
  Author URI: www.wpovernight.com/
9
  License: GPL2
3
  Plugin Name: WooCommerce Menu Cart
4
  Plugin URI: www.wpovernight.com/plugins
5
  Description: Extension for WooCommerce that places a cart icon with number of items and total cost in the menu bar. Activate the plugin, set your options and you're ready to go! Will automatically conform to your theme styles.
6
+ Version: 2.5.7
7
  Author: Jeremiah Prummer, Ewout Fernhout
8
  Author URI: www.wpovernight.com/
9
  License: GPL2