Ecwid Ecommerce Shopping Cart - Version 6.4.11

Version Description

  • Feb 26, 2019 =
  • Minor fixes and improvements.
Download this release

Release Info

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

Code changes from version 6.4.9 to 6.4.11

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 Ecommerce
8
- Version: 6.4.9
9
  Author URI: https://ecwid.to/ecwid-site
10
  */
11
 
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 Ecommerce
8
+ Version: 6.4.11
9
  Author URI: https://ecwid.to/ecwid-site
10
  */
11
 
includes/integrations/class-ecwid-integration-gutenberg.php CHANGED
@@ -12,12 +12,7 @@ class Ecwid_Integration_Gutenberg {
12
  if ( isset( $_GET['classic-editor'] ) ) return;
13
 
14
  add_action( 'enqueue_block_editor_assets', array( $this, 'enqueue_block_editor_assets' ) );
15
- add_action( 'admin_enqueue_scripts', function() {
16
- wp_enqueue_script( 'gutenberg-store' );
17
- EcwidPlatform::enqueue_style( 'store-popup' );
18
-
19
-
20
- } );
21
 
22
  add_action( "rest_insert_post", array( $this, 'on_save_post' ), 10, 3 );
23
  add_action( "rest_insert_page", array( $this, 'on_save_post' ), 10, 3 );
@@ -35,6 +30,12 @@ class Ecwid_Integration_Gutenberg {
35
  add_filter( 'block_categories', array( $this, 'block_categories' ) );
36
  }
37
 
 
 
 
 
 
 
38
  public function block_categories( $categories ) {
39
  return array_merge(
40
  $categories,
12
  if ( isset( $_GET['classic-editor'] ) ) return;
13
 
14
  add_action( 'enqueue_block_editor_assets', array( $this, 'enqueue_block_editor_assets' ) );
15
+ add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
 
 
 
 
 
16
 
17
  add_action( "rest_insert_post", array( $this, 'on_save_post' ), 10, 3 );
18
  add_action( "rest_insert_page", array( $this, 'on_save_post' ), 10, 3 );
30
  add_filter( 'block_categories', array( $this, 'block_categories' ) );
31
  }
32
 
33
+ public function admin_enqueue_scripts()
34
+ {
35
+ wp_enqueue_script( 'gutenberg-store' );
36
+ EcwidPlatform::enqueue_style( 'store-popup' );
37
+ }
38
+
39
  public function block_categories( $categories ) {
40
  return array_merge(
41
  $categories,
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.7
5
  Tested up to: 5.1
6
- Stable tag: 6.4.9
7
 
8
  Powerful, easy to use ecommerce shopping cart. Sell on Facebook and Instagram. iPhone & Android apps. Superb support. Free plan available.
9
 
@@ -150,6 +150,9 @@ You can use Ecwid’s built-in import tools to copy your store products from any
150
  * [Ecwid eCommerce Forums](https://www.ecwid.com/forums/forumdisplay.php?f=19)
151
 
152
  == Changelog ==
 
 
 
153
  = 6.4.9 - Feb 7, 2019 =
154
  - **Fixes for the Open Graph image tag (og:image tag) .** When you share a page from your ecommerce site on Facebook or in a messenger, you should see the product title, description and image in the sharing preview snippet.
155
  - **Improvements for the product listing auto-scroll function.** In some Wordpress themes, the site header might overlap product pages when you navigate from page to page in your online store. We improved it to make the product and category pages appear better to your customers.
3
  Tags: ecommerce, downloadable products, Facebook ecommerce, online store, paypal, product catalog, shop, shopping cart, store
4
  Requires at least: 3.7
5
  Tested up to: 5.1
6
+ Stable tag: 6.4.11
7
 
8
  Powerful, easy to use ecommerce shopping cart. Sell on Facebook and Instagram. iPhone & Android apps. Superb support. Free plan available.
9
 
150
  * [Ecwid eCommerce Forums](https://www.ecwid.com/forums/forumdisplay.php?f=19)
151
 
152
  == Changelog ==
153
+ = 6.4.11 - Feb 26, 2019 =
154
+ - Minor fixes and improvements.
155
+
156
  = 6.4.9 - Feb 7, 2019 =
157
  - **Fixes for the Open Graph image tag (og:image tag) .** When you share a page from your ecommerce site on Facebook or in a messenger, you should see the product title, description and image in the sharing preview snippet.
158
  - **Improvements for the product listing auto-scroll function.** In some Wordpress themes, the site header might overlap product pages when you navigate from page to page in your online store. We improved it to make the product and category pages appear better to your customers.