Side Cart Woocommerce (Ajax) - Version 2.0

Version Description

  • Fix - Error notices
Download this release

Release Info

Developer xootix
Plugin Icon wp plugin Side Cart Woocommerce (Ajax)
Version 2.0
Comparing to
See all releases

Code changes from version 1.0.2 to 2.0

README.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: XootiX
3
  Donate link: https://www.paypal.me/xootix
4
  Tags: woocommerce , floating cart , woocommerce cart tab , woocommerce cart , added to cart , cart pop up , added to cart
5
  Requires at least: 3.0.1
6
- Tested up to: 5.3
7
- Stable tag: 1.0.2
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -55,6 +55,11 @@ Everything is already setup.Just activate the plugin & you are done.
55
  5. Style Settings 2
56
 
57
  == Changelog ==
 
 
 
 
 
58
  = 1.0.2 =
59
  * New - Show/Hide on mobile device.
60
  * New - Hide on particular pages option
3
  Donate link: https://www.paypal.me/xootix
4
  Tags: woocommerce , floating cart , woocommerce cart tab , woocommerce cart , added to cart , cart pop up , added to cart
5
  Requires at least: 3.0.1
6
+ Tested up to: 5.4
7
+ Stable tag: 2.0
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
55
  5. Style Settings 2
56
 
57
  == Changelog ==
58
+
59
+ = 2.0 =
60
+ * Fix - Error notices
61
+
62
+
63
  = 1.0.2 =
64
  * New - Show/Hide on mobile device.
65
  * New - Hide on particular pages option
includes/class-xoo-wsc-i18n.php CHANGED
@@ -19,6 +19,6 @@ class xoo_wsc_i18n {
19
  $domain = 'side-cart-woocommerce';
20
  $locale = apply_filters( 'plugin_locale', get_locale(), $domain );
21
  load_textdomain( $domain, WP_LANG_DIR . '/'.$domain.'-' . $locale . '.mo' ); //wp-content languages
22
- load_plugin_textdomain( $domain, FALSE, basename( dirname( __FILE__ ) ) . '/languages/' ); // Plugin Languages
23
  }
24
  }
19
  $domain = 'side-cart-woocommerce';
20
  $locale = apply_filters( 'plugin_locale', get_locale(), $domain );
21
  load_textdomain( $domain, WP_LANG_DIR . '/'.$domain.'-' . $locale . '.mo' ); //wp-content languages
22
+ load_plugin_textdomain( $domain, FALSE, basename( XOO_WSC_PATH ) . '/languages/' ); // Plugin Languages
23
  }
24
  }
includes/class-xoo-wsc.php CHANGED
@@ -52,7 +52,7 @@ class xoo_wsc {
52
  public function __construct() {
53
 
54
  $this->xoo_wsc = 'xoo-wsc';
55
- $this->version = '1.0.2';
56
 
57
  $this->load_dependencies();
58
  $this->set_locale();
52
  public function __construct() {
53
 
54
  $this->xoo_wsc = 'xoo-wsc';
55
+ $this->version = '2.0';
56
 
57
  $this->load_dependencies();
58
  $this->set_locale();
public/class-xoo-wsc-cart-data.php CHANGED
@@ -111,7 +111,7 @@ class xoo_wsc_Cart_Data{
111
  // print notice
112
  ob_start();
113
  foreach( $error as $value ) {
114
- wc_print_notice( $value, 'error' );
115
  }
116
 
117
  $js_data = array(
111
  // print notice
112
  ob_start();
113
  foreach( $error as $value ) {
114
+ wc_print_notice( $value['notice'], 'error' );
115
  }
116
 
117
  $js_data = array(
xoo-wsc.php CHANGED
@@ -10,7 +10,7 @@
10
  * Plugin Name: WooCommerce Cart
11
  * Plugin URI: http://xootix.com
12
  * Description: Woo Side Cart shows all the items added to cart in a side popup.The plugin is ajax based.
13
- * Version: 1.0.2
14
  * Author: XootiX
15
  * Author URI: http://xootix.com/
16
  * License: GPL-2.0+
10
  * Plugin Name: WooCommerce Cart
11
  * Plugin URI: http://xootix.com
12
  * Description: Woo Side Cart shows all the items added to cart in a side popup.The plugin is ajax based.
13
+ * Version: 2.0
14
  * Author: XootiX
15
  * Author URI: http://xootix.com/
16
  * License: GPL-2.0+