Ecwid Ecommerce Shopping Cart - Version 6.1.1

Version Description

  • May 30, 2018 =
  • Compatibility with Gutenberg: buy now buttons in the page editor. Gutenberg editor is getting more and more popular and will soon be the default WordPress editor. To make sure Ecwid users are ready for it, we are adding Gutenberg support to our plugin. In the previous update, we added a Store block to the Gutenberg editor toolbar. This update brings another button to the editor toolbar Ecwid product. Use this one to add product widgets and buy now buttons to the pages and posts of your site.
  • Revamped cart widget for sidebar. We added a new sidebar widget that allows to display a cart icon along with items count and subtotal in the sidebar. The new shopping cart icon widget looks better and provides a lot of layout customization options dont forget to play with its settings when adding it to your sidebar. You can find the new widget under Appearance Widgets in your Wordpress admin backend.
  • New design/appearance settings: new customization options for your storefront. We added a lot of new design settings to your store dashboard. Read this detailed post to learn how to tweak your store appearance: https://www.ecwid.com/blog/new-ecwid-design-settings-dozens-of-customization-options-no-coding.html
  • Compatibility with WP Bakery page builder. We fixed a few issues and made Ecwid widgets work fine in the WP Bakery page builder. Now you can use that sitebuilder with the Ecwid plugin everything should work fine.
  • Fixed a pre-renderering issue in IE browser. The Ecwid e-commerce plugin adds prerender/preload tags to your site code those are special html codes aimed to make the store page loads faster for your customers. This pre-rendering technology didnt work well in old IE browsers (IE 11 and older) so we disabled it for IE visitors on your site. It works automatically, so no actions required from your side.
  • Compatibility with Polylang plugin. We got a report from one of our customers stating that Ecwid didnt work well with Polylang plugin. We fixed an issue, now everything should work fine.
  • Improvements and fixes for the plugin navigation in the WP admin menu.
  • Improvements and fixes for store pages SEO friendly urls.
  • Fixed a minor issue in the Tools -> Import -> Ecwid products section in the WP admin backend.
Download this release

Release Info

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

Code changes from version 6.1 to 6.1.1

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: 6.1
9
  Author URI: http://www.ecwid.com?source=wporg
10
  */
11
 
@@ -2095,6 +2095,10 @@ function ecwid_get_register_link()
2095
  {
2096
  $link = Ecwid_Config::get_registration_url();
2097
 
 
 
 
 
2098
  if ( strpos($link, '?') ) {
2099
  $link .= '&';
2100
  } else {
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: 6.1.1
9
  Author URI: http://www.ecwid.com?source=wporg
10
  */
11
 
2095
  {
2096
  $link = Ecwid_Config::get_registration_url();
2097
 
2098
+ if ( empty( $link ) ) {
2099
+ $link = 'https://' . Ecwid_Config::get_cpanel_domain();
2100
+ }
2101
+
2102
  if ( strpos($link, '?') ) {
2103
  $link .= '&';
2104
  } else {
includes/class-ecwid-message-manager.php CHANGED
@@ -297,11 +297,17 @@ TXT
297
  return $no_token && $is_not_demo && !$is_ecwid_menu;
298
 
299
  case self::MSG_WOO_IMPORT_ONBOARDING:
 
 
 
 
300
  return
301
  is_plugin_active( 'woocommerce/woocommerce.php' )
302
  && strpos( $admin_page, Ecwid_Import::PAGE_SLUG ) === false
303
  && !$this->need_to_show_message( 'on_activate' )
304
  && Ecwid_Api_V3::is_available()
 
 
305
  && wp_count_posts( 'product' )->publish > 0
306
  && get_option( 'ecwid_plugin_migration_since_version' ) == get_option('ecwid_plugin_version' );
307
 
297
  return $no_token && $is_not_demo && !$is_ecwid_menu;
298
 
299
  case self::MSG_WOO_IMPORT_ONBOARDING:
300
+ if ( !class_exists( 'Ecwid_Importer' ) ) {
301
+ require_once ECWID_PLUGIN_DIR . 'includes/importer/class-ecwid-importer.php';
302
+ }
303
+
304
  return
305
  is_plugin_active( 'woocommerce/woocommerce.php' )
306
  && strpos( $admin_page, Ecwid_Import::PAGE_SLUG ) === false
307
  && !$this->need_to_show_message( 'on_activate' )
308
  && Ecwid_Api_V3::is_available()
309
+ && !ecwid_is_demo_store()
310
+ && !get_option( Ecwid_Importer::OPTION_WOO_CATALOG_IMPORTED, false )
311
  && wp_count_posts( 'product' )->publish > 0
312
  && get_option( 'ecwid_plugin_migration_since_version' ) == get_option('ecwid_plugin_version' );
313
 
js/store-editor-page.js CHANGED
@@ -313,6 +313,8 @@ jQuery(document).ready(function() {
313
  });
314
 
315
  createGutenbergedShortcodeString = function( shortcode ) {
 
 
316
  var result = '<!-- wp:ecwid/store-block ';
317
 
318
  result += JSON.stringify(shortcode.attrs.named);
313
  });
314
 
315
  createGutenbergedShortcodeString = function( shortcode ) {
316
+ return shortcode.string();
317
+
318
  var result = '<!-- wp:ecwid/store-block ';
319
 
320
  result += JSON.stringify(shortcode.attrs.named);
lib/ecwid_api_v3.php CHANGED
@@ -595,8 +595,6 @@ class Ecwid_Api_V3
595
  }
596
 
597
  $result = Requests::request_multiple( $requests );
598
-
599
- die(var_dump($result));
600
 
601
  return $result;
602
  }
595
  }
596
 
597
  $result = Requests::request_multiple( $requests );
 
 
598
 
599
  return $result;
600
  }
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.9
6
- Stable tag: 6.1
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
 
@@ -151,7 +151,7 @@ You can use Ecwid’s built-in import tools to copy your store products from any
151
  * [Ecwid eCommerce Forums](https://www.ecwid.com/forums/forumdisplay.php?f=19)
152
 
153
  == Changelog ==
154
- = 6.1 - May 30, 2018 =
155
  - **Compatibility with Gutenberg: buy now buttons in the page editor.** Gutenberg editor is getting more and more popular and will soon be the default WordPress editor. To make sure Ecwid users are ready for it, we are adding Gutenberg support to our plugin. In the previous update, we added a “Store” block to the Gutenberg editor toolbar. This update brings another button to the editor toolbar — “Ecwid product”. Use this one to add product widgets and buy now buttons to the pages and posts of your site.
156
  - **Revamped cart widget for sidebar.** We added a new sidebar widget that allows to display a cart icon along with items count and subtotal in the sidebar. The new shopping cart icon widget looks better and provides a lot of layout customization options — don’t forget to play with its settings when adding it to your sidebar. You can find the new widget under Appearance → Widgets in your Wordpress admin backend.
157
  - **New design/appearance settings: new customization options for your storefront.** We added a lot of new design settings to your store dashboard. Read this detailed post to learn how to tweak your store appearance: [https://www.ecwid.com/blog/new-ecwid-design-settings-dozens-of-customization-options-no-coding.html](https://www.ecwid.com/blog/new-ecwid-design-settings-dozens-of-customization-options-no-coding.html)
@@ -160,6 +160,7 @@ You can use Ecwid’s built-in import tools to copy your store products from any
160
  - **Compatibility with Polylang plugin.** We got a report from one of our customers stating that Ecwid didn’t work well with Polylang plugin. We fixed an issue, now everything should work fine.
161
  - Improvements and fixes for the plugin navigation in the WP admin menu.
162
  - Improvements and fixes for store pages SEO friendly urls.
 
163
 
164
  = 6.0.3 - Apr 19, 2018 =
165
  - Fixed incorrect sorting in the store categories menu widgets. If you use display store categories inn your site menu or in a sidebar using the Ecwid categories sidebar widget, you might notice that the categories list order differs from that in your store control panel. We fixed that — now the sorting matches.
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.9
6
+ Stable tag: 6.1.1
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
 
151
  * [Ecwid eCommerce Forums](https://www.ecwid.com/forums/forumdisplay.php?f=19)
152
 
153
  == Changelog ==
154
+ = 6.1.1 - May 30, 2018 =
155
  - **Compatibility with Gutenberg: buy now buttons in the page editor.** Gutenberg editor is getting more and more popular and will soon be the default WordPress editor. To make sure Ecwid users are ready for it, we are adding Gutenberg support to our plugin. In the previous update, we added a “Store” block to the Gutenberg editor toolbar. This update brings another button to the editor toolbar — “Ecwid product”. Use this one to add product widgets and buy now buttons to the pages and posts of your site.
156
  - **Revamped cart widget for sidebar.** We added a new sidebar widget that allows to display a cart icon along with items count and subtotal in the sidebar. The new shopping cart icon widget looks better and provides a lot of layout customization options — don’t forget to play with its settings when adding it to your sidebar. You can find the new widget under Appearance → Widgets in your Wordpress admin backend.
157
  - **New design/appearance settings: new customization options for your storefront.** We added a lot of new design settings to your store dashboard. Read this detailed post to learn how to tweak your store appearance: [https://www.ecwid.com/blog/new-ecwid-design-settings-dozens-of-customization-options-no-coding.html](https://www.ecwid.com/blog/new-ecwid-design-settings-dozens-of-customization-options-no-coding.html)
160
  - **Compatibility with Polylang plugin.** We got a report from one of our customers stating that Ecwid didn’t work well with Polylang plugin. We fixed an issue, now everything should work fine.
161
  - Improvements and fixes for the plugin navigation in the WP admin menu.
162
  - Improvements and fixes for store pages SEO friendly urls.
163
+ - Fixed a minor issue in the “Tools -> Import -> Ecwid products” section in the WP admin backend.
164
 
165
  = 6.0.3 - Apr 19, 2018 =
166
  - Fixed incorrect sorting in the store categories menu widgets. If you use display store categories inn your site menu or in a sidebar using the Ecwid categories sidebar widget, you might notice that the categories list order differs from that in your store control panel. We fixed that — now the sorting matches.