Ecwid Ecommerce Shopping Cart - Version 4.6.3

Version Description

  • Fixes infinite loading issue that occurred under certain store configurations.
Download this release

Release Info

Developer Ecwid
Plugin Icon 128x128 Ecwid Ecommerce Shopping Cart
Version 4.6.3
Comparing to
See all releases

Code changes from version 4.6.2 to 4.6.3

ecwid-shopping-cart.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.ecwid.com?source=wporg
5
  Description: Ecwid is a free full-featured shopping cart. It can be easily integrated with any Wordpress blog and takes less than 5 minutes to set up.
6
  Text Domain: ecwid-shopping-cart
7
  Author: Ecwid Team
8
- Version: 4.6.2
9
  Author URI: http://www.ecwid.com?source=wporg
10
  */
11
 
@@ -1063,10 +1063,12 @@ function ecwid_content_started($content)
1063
 
1064
  function ecwid_wrap_shortcode_content($content, $name, $attrs)
1065
  {
1066
- return "<!-- Ecwid shopping cart plugin v 4.6.2 --><!-- noptimize -->"
 
 
1067
  . ecwid_get_scriptjs_code(@$attrs['lang'])
1068
  . "<div class=\"ecwid-shopping-cart-$name\">$content</div>"
1069
- . "<!-- /noptimize --><!-- END Ecwid Shopping Cart v 4.6.2 -->";
1070
  }
1071
 
1072
  function ecwid_get_scriptjs_code($force_lang = null) {
5
  Description: Ecwid is a free full-featured shopping cart. It can be easily integrated with any Wordpress blog and takes less than 5 minutes to set up.
6
  Text Domain: ecwid-shopping-cart
7
  Author: Ecwid Team
8
+ Version: 4.6.3
9
  Author URI: http://www.ecwid.com?source=wporg
10
  */
11
 
1063
 
1064
  function ecwid_wrap_shortcode_content($content, $name, $attrs)
1065
  {
1066
+ $version = get_option('ecwid_plugin_version');
1067
+
1068
+ return "<!-- Ecwid shopping cart plugin v $version --><!-- noptimize -->"
1069
  . ecwid_get_scriptjs_code(@$attrs['lang'])
1070
  . "<div class=\"ecwid-shopping-cart-$name\">$content</div>"
1071
+ . "<!-- /noptimize --><!-- END Ecwid Shopping Cart v $version -->";
1072
  }
1073
 
1074
  function ecwid_get_scriptjs_code($force_lang = null) {
includes/shortcodes/class-ecwid-shortcode-base.php CHANGED
@@ -28,10 +28,11 @@ abstract class Ecwid_Shortcode_Base {
28
 
29
  public function wrap_code($code) {
30
 
31
- return "<!-- Ecwid shopping cart plugin v 4.4 --><!-- noptimize -->"
 
32
  . ecwid_get_scriptjs_code($this->_lang)
33
  . $code
34
- . "<!-- /noptimize --><!-- END Ecwid Shopping Cart v 4.4 -->";
35
  }
36
 
37
  public function render() {
28
 
29
  public function wrap_code($code) {
30
 
31
+ $version = get_option('ecwid_plugin_version');
32
+ return "<!-- Ecwid shopping cart plugin v $version --><!-- noptimize -->"
33
  . ecwid_get_scriptjs_code($this->_lang)
34
  . $code
35
+ . "<!-- /noptimize --><!-- END Ecwid Shopping Cart v $version -->";
36
  }
37
 
38
  public function render() {
includes/shortcodes/class-ecwid-shortcode-minicart.php CHANGED
@@ -50,7 +50,7 @@ class Ecwid_Shortcode_Minicart extends Ecwid_Shortcode_Base {
50
  }
51
 
52
  public function build_params_string($params = null) {
53
- if (!is_null($params) && array_key_exists('id', $params)) {
54
  unset($params['id']);
55
  }
56
 
50
  }
51
 
52
  public function build_params_string($params = null) {
53
+ if (!is_null($params) && array_key_exists('id', $params) && isset($params['layout']) && $params['layout'] == 'MiniAttachToProductBrowser') {
54
  unset($params['id']);
55
  }
56
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: ecwid
3
  Tags: ecommerce, downloadable products, Facebook ecommerce, online store, paypal, product catalog, shop, shopping cart, store
4
  Requires at least: 3.5
5
  Tested up to: 4.6
6
- Stable tag: 4.6.2
7
 
8
  Powerful, easy to use ecommerce shopping cart. Bank level PCI DSS Level 1 security. iPhone & Android apps. Superb support. Free plan available.
9
 
@@ -149,8 +149,11 @@ You can use Ecwid’s built-in import tools to copy your store products from any
149
  * [Ecwid eCommerce Forums](https://www.ecwid.com/forums/forumdisplay.php?f=19)
150
 
151
  == Changelog ==
 
 
 
152
  = 4.6.2 =
153
- - - Fix for the legacy search shortcode ([ecwid_searchbox]), which was broken in the recent 4.6 release.
154
 
155
  = 4.6.1 =
156
  - The latest update (v 4.6) had a bug in the sidebar widgets (search box and recently viewed products). The widgets did not display and generated error/warning messages on the sites. We fixed that.
3
  Tags: ecommerce, downloadable products, Facebook ecommerce, online store, paypal, product catalog, shop, shopping cart, store
4
  Requires at least: 3.5
5
  Tested up to: 4.6
6
+ Stable tag: 4.6.3
7
 
8
  Powerful, easy to use ecommerce shopping cart. Bank level PCI DSS Level 1 security. iPhone & Android apps. Superb support. Free plan available.
9
 
149
  * [Ecwid eCommerce Forums](https://www.ecwid.com/forums/forumdisplay.php?f=19)
150
 
151
  == Changelog ==
152
+ = 4.6.3 =
153
+ - Fixes infinite loading issue that occurred under certain store configurations.
154
+
155
  = 4.6.2 =
156
+ - Fix for the legacy search shortcode ([ecwid_searchbox]), which was broken in the recent 4.6 release.
157
 
158
  = 4.6.1 =
159
  - The latest update (v 4.6) had a bug in the sidebar widgets (search box and recently viewed products). The widgets did not display and generated error/warning messages on the sites. We fixed that.