Ecwid Ecommerce Shopping Cart - Version 3.4.6

Version Description

  • Layout improvements for Mantra theme. Mantra theme users might notice slight glitches in the recently viewed products and horizontal menu widgets. We fixed those.
  • Minor fixes for plugins settings page layout in Wordpress 4.4. Feel free to update your Wordpress to the newest version 4.4 as soon as it's released, the Ecwid plugin will work fine with it.
Download this release

Release Info

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

Code changes from version 3.4.5 to 3.4.6

css/admin.3.8.css CHANGED
@@ -9,31 +9,4 @@
9
  margin: 0px;
10
  width: 34px;
11
  height: 30px;
12
- }
13
-
14
- #wpadminbar>#wp-toolbar>#wp-admin-bar-root-default .ab-icon.ecwid-top-menu-item {
15
- font: 400 20px/1 'ecwid-icons' !important;
16
- -webkit-font-smoothing: antialiased;
17
- -moz-osx-font-smoothing: grayscale;
18
- background-image: none;
19
- color: white;
20
- width: auto;
21
- margin-right: 0px;
22
- margin-top: 2px;
23
- }
24
-
25
- #wpadminbar #wp-admin-bar-ecwid-main .ab-icon.ecwid-top-menu-item:before {
26
- content: "\e603";
27
- width: auto;
28
- margin-right: 0px;
29
- }
30
-
31
- @media screen and (max-width: 782px) {
32
- #wpadminbar>#wp-toolbar>#wp-admin-bar-root-default .ab-icon.ecwid-top-menu-item {
33
- font: 400 32px/46px 'ecwid-icons' !important;
34
- width: 46px;
35
- padding: 0px 2px;
36
- text-align: center;
37
- margin-top: 0px;
38
- }
39
- }
9
  margin: 0px;
10
  width: 34px;
11
  height: 30px;
12
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
css/admin.css CHANGED
@@ -196,7 +196,9 @@ body[class*="_page_ecwid"] .ecwid-message {
196
  font-weight: normal;
197
  }
198
 
199
- .widgets-php #available-widgets .ecwid-widget .widget-top .widget-title h4 {
 
 
200
  padding-left: 42px;
201
  }
202
 
@@ -245,31 +247,6 @@ body[class*="_page_ecwid"] .ecwid-message {
245
  opacity: 1;
246
  }
247
 
248
- @font-face {
249
- font-family: 'ecwid-icons';
250
- src:url('../fonts/ecwid-icons.eot?-b8sbws');
251
- src:url('../fonts/ecwid-icons.eot?#iefix-b8sbws') format('embedded-opentype'),
252
- url('../fonts/ecwid-icons.woff?-b8sbws') format('woff'),
253
- url('../fonts/ecwid-icons.ttf?-b8sbws') format('truetype'),
254
- url('../fonts/ecwid-icons.svg?-b8sbws#ecwid-icons') format('svg');
255
- font-weight: normal;
256
- font-style: normal;
257
- }
258
-
259
- [class^="icon-"], [class*=" icon-"] {
260
- font-family: 'ecwid-icons';
261
- speak: none;
262
- font-style: normal;
263
- font-weight: normal;
264
- font-variant: normal;
265
- text-transform: none;
266
- line-height: 1;
267
-
268
- /* Better Font Rendering =========== */
269
- -webkit-font-smoothing: antialiased;
270
- -moz-osx-font-smoothing: grayscale;
271
- }
272
-
273
  #available-widgets .ecwid-widget-badge .widget-title:before {
274
  content: "\e603";
275
  }
196
  font-weight: normal;
197
  }
198
 
199
+ .widgets-php #available-widgets .ecwid-widget .widget-top .widget-title h4,
200
+ .widgets-php #available-widgets .ecwid-widget .widget-top .widget-title h3
201
+ {
202
  padding-left: 42px;
203
  }
204
 
247
  opacity: 1;
248
  }
249
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
250
  #available-widgets .ecwid-widget-badge .widget-title:before {
251
  content: "\e603";
252
  }
css/fonts.css ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @font-face {
2
+ font-family: 'ecwid-icons';
3
+ src:url('../fonts/ecwid-icons.eot?-b8sbws');
4
+ src:url('../fonts/ecwid-icons.eot?#iefix-b8sbws') format('embedded-opentype'),
5
+ url('../fonts/ecwid-icons.woff?-b8sbws') format('woff'),
6
+ url('../fonts/ecwid-icons.ttf?-b8sbws') format('truetype'),
7
+ url('../fonts/ecwid-icons.svg?-b8sbws#ecwid-icons') format('svg');
8
+ font-weight: normal;
9
+ font-style: normal;
10
+ }
11
+
12
+ [class^="icon-"], [class*=" icon-"] {
13
+ font-family: 'ecwid-icons';
14
+ speak: none;
15
+ font-style: normal;
16
+ font-weight: normal;
17
+ font-variant: normal;
18
+ text-transform: none;
19
+ line-height: 1;
20
+
21
+ /* Better Font Rendering =========== */
22
+ -webkit-font-smoothing: antialiased;
23
+ -moz-osx-font-smoothing: grayscale;
24
+ }
25
+
26
+ #wpadminbar>#wp-toolbar>#wp-admin-bar-root-default .ab-icon.ecwid-top-menu-item {
27
+ font: 400 20px/1 'ecwid-icons' !important;
28
+ -webkit-font-smoothing: antialiased;
29
+ -moz-osx-font-smoothing: grayscale;
30
+ background-image: none;
31
+ color: white;
32
+ width: auto;
33
+ margin-right: 0px;
34
+ margin-top: 2px;
35
+ }
36
+
37
+ #wpadminbar #wp-admin-bar-ecwid-main .ab-icon.ecwid-top-menu-item:before {
38
+ content: "\e603";
39
+ width: auto;
40
+ margin-right: 0px;
41
+ }
42
+
43
+ @media screen and (max-width: 782px) {
44
+ #wpadminbar>#wp-toolbar>#wp-admin-bar-root-default .ab-icon.ecwid-top-menu-item {
45
+ font: 400 32px/46px 'ecwid-icons' !important;
46
+ width: 46px;
47
+ padding: 0px 2px;
48
+ text-align: center;
49
+ margin-top: 0px;
50
+ }
51
+ }
css/frontend.css CHANGED
@@ -15,4 +15,8 @@ html#ecwid_html body#ecwid_body .ecwid-SearchPanel input {
15
  .ecwid-shopping-cart-categories #horizontal-menu {
16
  margin-top: 10px;
17
  margin-bottom: 10px;
 
 
 
 
18
  }
15
  .ecwid-shopping-cart-categories #horizontal-menu {
16
  margin-top: 10px;
17
  margin-bottom: 10px;
18
+ }
19
+
20
+ .ecwid-shopping-cart-categories .horizontal-menu-item {
21
+ background-image: none;
22
  }
css/products-list.css CHANGED
@@ -99,8 +99,7 @@ html#ecwid_html body#ecwid_body .ecwid-productsList ul li .ecwid-productsList-pr
99
  */
100
 
101
  .ecwid-productsList.width-m ul li {
102
- padding-top: 10px;
103
- padding-bottom: 14px;
104
  }
105
 
106
  .ecwid-productsList.width-m ul li .ecwid-productsList-image {
99
  */
100
 
101
  .ecwid-productsList.width-m ul li {
102
+ padding: 10px 3px 14px;
 
103
  }
104
 
105
  .ecwid-productsList.width-m ul li .ecwid-productsList-image {
css/recently-viewed.css CHANGED
@@ -107,3 +107,8 @@ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products.wide .product .e
107
  html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products.wide .product .ecwid-SingleProduct-picture img {
108
  margin-top: 0px !important;
109
  }
 
 
 
 
 
107
  html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products.wide .product .ecwid-SingleProduct-picture img {
108
  margin-top: 0px !important;
109
  }
110
+
111
+ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products li {
112
+ background-image: none;
113
+ }
114
+
css/themes/mantra.css ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ html#ecwid_html body#ecwid_body div.ecwid-minicart-mini-rolloverContainer {
2
+ margin-top: 1px;
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: 3.4.5
9
  Author URI: http://www.ecwid.com?source=wporg
10
  */
11
 
@@ -256,9 +256,11 @@ add_action('wp_ajax_nopriv_ecwid_get_product_info', 'ecwid_ajax_get_product_info
256
 
257
 
258
  function ecwid_add_frontend_styles() {
 
259
  wp_register_script('ecwid-products-list-js', plugins_url('ecwid-shopping-cart/js/products-list.js'), array('jquery-ui-widget'));
260
  wp_register_style('ecwid-products-list-css', plugins_url('ecwid-shopping-cart/css/products-list.css'), array(), get_option('ecwid_plugin_version'));
261
  wp_enqueue_style('ecwid-css', plugins_url('ecwid-shopping-cart/css/frontend.css'),array(), get_option('ecwid_plugin_version'));
 
262
 
263
  if ((bool)get_option('ecwid_use_chameleon')) {
264
  wp_enqueue_script('ecwid-chameleon-js', 'https://dj925myfyz5v.cloudfront.net/widgets/chameleon/v1/ecwid-chameleon.js', array(), get_option('ecwid_plugin_version'), true);
@@ -577,9 +579,39 @@ function ecwid_seo_compatibility_restore()
577
 
578
  function add_ecwid_admin_bar_node() {
579
  global $wp_admin_bar;
 
580
  if ( !is_super_admin() || !is_admin_bar_showing() )
581
  return;
582
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
583
  $wp_admin_bar->add_menu( array(
584
  'id' => 'ecwid-main',
585
  'title' => '<span class="ab-icon ecwid-top-menu-item"></span>',
@@ -627,6 +659,7 @@ function add_ecwid_admin_bar_node() {
627
  'href' => 'http://apps.facebook.com/ecwid-shop/?fb_source=wp'
628
  )
629
  );
 
630
  }
631
 
632
  function ecwid_content_has_productbrowser($content) {
@@ -870,10 +903,10 @@ function ecwid_content_started($content)
870
 
871
  function ecwid_wrap_shortcode_content($content, $name, $attrs)
872
  {
873
- return "<!-- Ecwid shopping cart plugin v 3.4.5 --><!-- noptimize -->"
874
  . ecwid_get_scriptjs_code(@$attrs['lang'])
875
  . "<div class=\"ecwid-shopping-cart-$name\">$content</div>"
876
- . "<!-- /noptimize --><!-- END Ecwid Shopping Cart v 3.4.5 -->";
877
  }
878
 
879
  function ecwid_get_scriptjs_code($force_lang = null) {
@@ -1471,6 +1504,7 @@ function ecwid_options_add_page() {
1471
  function ecwid_register_admin_styles($hook_suffix) {
1472
 
1473
  wp_enqueue_style('ecwid-admin-css', plugins_url('ecwid-shopping-cart/css/admin.css'), array(), get_option('ecwid_plugin_version'));
 
1474
 
1475
  if (version_compare(get_bloginfo('version'), '3.8-beta') > 0) {
1476
  wp_enqueue_style('ecwid-admin38-css', plugins_url('ecwid-shopping-cart/css/admin.3.8.css'), array('ecwid-admin-css'), get_option('ecwid_plugin_version'), 'all');
@@ -2267,7 +2301,7 @@ class EcwidRecentlyViewedWidget extends WP_Widget {
2267
  parent::__construct('ecwidrecentlyviewed', __('Recently Viewed Products', 'ecwid-shopping-cart'), $widget_ops);
2268
  $recently_viewed = json_decode(stripslashes(@$_COOKIE['ecwid-shopping-cart-recently-viewed']));
2269
 
2270
- if ($recently_viewed && $recently_viewed->store_id != get_ecwid_store_id()) {
2271
  setcookie('ecwid-shopping-cart-recently-viewed', null, strtotime('-1 day'));
2272
  }
2273
  }
@@ -2432,6 +2466,7 @@ function ecwid_send_stats()
2432
 
2433
  $url = 'http://' . APP_ECWID_COM . '/script.js?' . $storeid . '&data_platform=wporg';
2434
 
 
2435
  foreach ($stats as $name => $value) {
2436
  $url .= '&data_wporg_' . $name . '=' . urlencode($value);
2437
  }
@@ -2482,7 +2517,8 @@ function ecwid_gather_stats()
2482
  'http_post_fails',
2483
  'ecwid_use_new_horizontal_categories',
2484
  'is_wp_newbie',
2485
- 'ecwid_remote_get_fails'
 
2486
  );
2487
 
2488
  $usage_stats = ecwid_gather_usage_stats();
@@ -2524,8 +2560,6 @@ function ecwid_gather_usage_stats()
2524
  $usage_stats['chameleon_used'] = (bool)get_option('ecwid_use_chameleon');
2525
  $usage_stats['http_post_fails'] = get_option('ecwid_last_oauth_fail_time') > 0;
2526
  $usage_stats['ecwid_use_new_horizontal_categories'] = (bool) get_option('ecwid_use_new_horizontal_categories');
2527
- $usage_stats['ecwid_remote_get_fails'] = (bool) get_option('ecwid_fetch_url_use_file_get_contents');
2528
-
2529
 
2530
  $wp_date = get_option('ecwid_wp_install_date');
2531
  if (!$wp_date) {
@@ -2543,7 +2577,21 @@ function ecwid_gather_usage_stats()
2543
  $usage_stats['wp_install_date'] = $wp_date;
2544
  $usage_stats['plugin_install_date'] = $ecwid_date;
2545
 
2546
- $usage_stats['is_wp_newbie'] = ($ecwid_date - $wp_date) / 60 / 60 / 24 <= 30;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2547
 
2548
  return $usage_stats;
2549
  }
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: 3.4.6
9
  Author URI: http://www.ecwid.com?source=wporg
10
  */
11
 
256
 
257
 
258
  function ecwid_add_frontend_styles() {
259
+
260
  wp_register_script('ecwid-products-list-js', plugins_url('ecwid-shopping-cart/js/products-list.js'), array('jquery-ui-widget'));
261
  wp_register_style('ecwid-products-list-css', plugins_url('ecwid-shopping-cart/css/products-list.css'), array(), get_option('ecwid_plugin_version'));
262
  wp_enqueue_style('ecwid-css', plugins_url('ecwid-shopping-cart/css/frontend.css'),array(), get_option('ecwid_plugin_version'));
263
+ wp_enqueue_style('ecwid-fonts-css', plugins_url('ecwid-shopping-cart/css/fonts.css'), array(), get_option('ecwid_plugin_version'));
264
 
265
  if ((bool)get_option('ecwid_use_chameleon')) {
266
  wp_enqueue_script('ecwid-chameleon-js', 'https://dj925myfyz5v.cloudfront.net/widgets/chameleon/v1/ecwid-chameleon.js', array(), get_option('ecwid_plugin_version'), true);
579
 
580
  function add_ecwid_admin_bar_node() {
581
  global $wp_admin_bar;
582
+
583
  if ( !is_super_admin() || !is_admin_bar_showing() )
584
  return;
585
 
586
+
587
+ $theme = ecwid_get_theme_name();
588
+ $store_url = ecwid_get_store_page_url();
589
+ $subject = sprintf(__('Ecwid plugin doesn\'t work well with my "%s" theme', 'ecwid-shopping-cart'), $theme);
590
+ $body = <<<TEXT
591
+ Hey Ecwid,
592
+
593
+ My store looks bad with my theme on Wordpress.
594
+
595
+ The theme title is %s.
596
+ The store URL is %s
597
+
598
+ Can you have a look?
599
+
600
+ Thanks.
601
+ TEXT;
602
+ $body = __( $body, 'ecwid-shopping-cart' );
603
+ $body = sprintf( $body, $theme, $store_url );
604
+
605
+ $wp_admin_bar->add_menu(array(
606
+ 'id' => 'ecwid-report-problem',
607
+ 'title' => __( 'Report a problem with the store', 'ecwid-shopping-cart' ),
608
+ 'parent' => 'ecwid-main',
609
+ 'href' => 'mailto:wordpress@ecwid.com?subject=' . rawurlencode($subject) . '&body=' . rawurlencode($body),
610
+ 'meta' => array(
611
+ 'target' => '_blank'
612
+ )
613
+ ));
614
+
615
  $wp_admin_bar->add_menu( array(
616
  'id' => 'ecwid-main',
617
  'title' => '<span class="ab-icon ecwid-top-menu-item"></span>',
659
  'href' => 'http://apps.facebook.com/ecwid-shop/?fb_source=wp'
660
  )
661
  );
662
+
663
  }
664
 
665
  function ecwid_content_has_productbrowser($content) {
903
 
904
  function ecwid_wrap_shortcode_content($content, $name, $attrs)
905
  {
906
+ return "<!-- Ecwid shopping cart plugin v 3.4.6 --><!-- noptimize -->"
907
  . ecwid_get_scriptjs_code(@$attrs['lang'])
908
  . "<div class=\"ecwid-shopping-cart-$name\">$content</div>"
909
+ . "<!-- /noptimize --><!-- END Ecwid Shopping Cart v 3.4.6 -->";
910
  }
911
 
912
  function ecwid_get_scriptjs_code($force_lang = null) {
1504
  function ecwid_register_admin_styles($hook_suffix) {
1505
 
1506
  wp_enqueue_style('ecwid-admin-css', plugins_url('ecwid-shopping-cart/css/admin.css'), array(), get_option('ecwid_plugin_version'));
1507
+ wp_enqueue_style('ecwid-fonts-css', plugins_url('ecwid-shopping-cart/css/fonts.css'), array(), get_option('ecwid_plugin_version'));
1508
 
1509
  if (version_compare(get_bloginfo('version'), '3.8-beta') > 0) {
1510
  wp_enqueue_style('ecwid-admin38-css', plugins_url('ecwid-shopping-cart/css/admin.3.8.css'), array('ecwid-admin-css'), get_option('ecwid_plugin_version'), 'all');
2301
  parent::__construct('ecwidrecentlyviewed', __('Recently Viewed Products', 'ecwid-shopping-cart'), $widget_ops);
2302
  $recently_viewed = json_decode(stripslashes(@$_COOKIE['ecwid-shopping-cart-recently-viewed']));
2303
 
2304
+ if ($recently_viewed && $recently_viewed->store_id != get_ecwid_store_id() && !is_admin()) {
2305
  setcookie('ecwid-shopping-cart-recently-viewed', null, strtotime('-1 day'));
2306
  }
2307
  }
2466
 
2467
  $url = 'http://' . APP_ECWID_COM . '/script.js?' . $storeid . '&data_platform=wporg';
2468
 
2469
+
2470
  foreach ($stats as $name => $value) {
2471
  $url .= '&data_wporg_' . $name . '=' . urlencode($value);
2472
  }
2517
  'http_post_fails',
2518
  'ecwid_use_new_horizontal_categories',
2519
  'is_wp_newbie',
2520
+ 'ecwid_remote_get_fails',
2521
+ 'has_woocommerce'
2522
  );
2523
 
2524
  $usage_stats = ecwid_gather_usage_stats();
2560
  $usage_stats['chameleon_used'] = (bool)get_option('ecwid_use_chameleon');
2561
  $usage_stats['http_post_fails'] = get_option('ecwid_last_oauth_fail_time') > 0;
2562
  $usage_stats['ecwid_use_new_horizontal_categories'] = (bool) get_option('ecwid_use_new_horizontal_categories');
 
 
2563
 
2564
  $wp_date = get_option('ecwid_wp_install_date');
2565
  if (!$wp_date) {
2577
  $usage_stats['wp_install_date'] = $wp_date;
2578
  $usage_stats['plugin_install_date'] = $ecwid_date;
2579
 
2580
+ $usage_stats['is_wp_newbie'] = (bool) (($ecwid_date - $wp_date) / 60 / 60 / 24 <= 30);
2581
+
2582
+ $usage_stats['ecwid_remote_get_fails'] = (bool) get_option('ecwid_fetch_url_use_file_get_contents');
2583
+
2584
+ $woo = 0;
2585
+ $all_plugins = get_plugins();
2586
+ if (array_key_exists('woocommerce/woocommerce.php', $all_plugins)) {
2587
+ $active_plugins = get_option('active_plugins');
2588
+ if (in_array('woocommerce/woocommerce.php', $active_plugins)) {
2589
+ $woo = 2;
2590
+ } else {
2591
+ $woo = 1;
2592
+ }
2593
+ }
2594
+ $usage_stats['has_woocommerce'] = $woo;
2595
 
2596
  return $usage_stats;
2597
  }
includes/themes.php CHANGED
@@ -46,7 +46,8 @@ function ecwid_apply_theme($theme_name = null)
46
  'evolve',
47
  'twentytwelve',
48
  'genesis',
49
- 'twentysixteen'
 
50
  );
51
 
52
  if (empty($theme_name)) {
46
  'evolve',
47
  'twentytwelve',
48
  'genesis',
49
+ 'twentysixteen',
50
+ 'mantra'
51
  );
52
 
53
  if (empty($theme_name)) {
includes/themes/class-ecwid-theme-mantra.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ require_once ECWID_THEMES_DIR . '/class-ecwid-theme-base.php';
4
+
5
+ class Ecwid_Theme_Mantra extends Ecwid_Theme_Base
6
+ {
7
+ protected $name = 'Mantra';
8
+
9
+ public function __construct()
10
+ {
11
+ parent::__construct();
12
+
13
+ wp_enqueue_style( 'ecwid-theme-fixes' , plugins_url( 'ecwid-shopping-cart/css/themes/mantra.css' ), array(), get_option('ecwid_plugin_version'), 'all' );
14
+ }
15
+ }
16
+
17
+ $ecwid_current_theme = new Ecwid_Theme_Mantra();
includes/themes/class-ecwid-theme-twentysixteen.php CHANGED
@@ -15,6 +15,29 @@ class Ecwid_Theme_2016 extends Ecwid_Theme_Base
15
  if (ecwid_page_has_productbrowser()) {
16
  wp_enqueue_style( 'ecwid-theme', plugins_url( 'ecwid-shopping-cart/css/themes/2016.css' ), array('twentysixteen-style'), get_option('ecwid_plugin_version') );
17
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  }
19
  }
20
 
15
  if (ecwid_page_has_productbrowser()) {
16
  wp_enqueue_style( 'ecwid-theme', plugins_url( 'ecwid-shopping-cart/css/themes/2016.css' ), array('twentysixteen-style'), get_option('ecwid_plugin_version') );
17
  }
18
+ add_action('ecwid_plugin_installed', array($this, 'on_ecwid_plugin_installed'));
19
+ }
20
+
21
+ public function on_ecwid_plugin_installed()
22
+ {
23
+ $widgets = get_option('sidebars_widgets');
24
+
25
+ if (strpos(implode(' ', $widgets['sidebar-1']), 'ecwidstorelink') === false) {
26
+ array_unshift($widgets['sidebar-1'], 'ecwidstorelink-2');
27
+ wp_set_sidebars_widgets($widgets);
28
+
29
+ $options = get_option('widget_ecwidstorelink');
30
+ if (!$options) {
31
+ $options = array(
32
+ 2 => array(
33
+ 'label' => __('Shop', 'ecwid-shopping-cart')
34
+ ),
35
+ '_multiwidget' => 1
36
+ );
37
+ }
38
+
39
+ update_option('widget_ecwidstorelink', $options);
40
+ }
41
  }
42
  }
43
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: ecwid
3
  Tags: ecwid, shopping cart, ecommerce, wordpress ecommerce, wp e-commerce, paypal, e-commerce, online store, store, shop, cart, online shop, shopping, digital goods, downloadable products, product catalog, ecomerce, products, facebook, f-commerce
4
  Requires at least: 2.8
5
  Tested up to: 4.4
6
- Stable tag: 3.4.5
7
 
8
  Ecwid is a full-featured shopping cart that can be added to any Wordpress site in less than 5 minutes. Start using Ecwid for free today.
9
 
@@ -107,6 +107,10 @@ http://codex.wordpress.org/Managing_Plugins#Installing_Plugins
107
  * [Ecwid site](http://www.ecwid.com/?source=wporg-plugin-site "Ecwid Site")
108
 
109
  == Changelog ==
 
 
 
 
110
  = 3.4.5 =
111
  - Updates and bug fixes for the new horizontal categories widget.
112
  - Fixed a layout issue in the "Categories" block on the store page management in the Wordpress admin backend.
3
  Tags: ecwid, shopping cart, ecommerce, wordpress ecommerce, wp e-commerce, paypal, e-commerce, online store, store, shop, cart, online shop, shopping, digital goods, downloadable products, product catalog, ecomerce, products, facebook, f-commerce
4
  Requires at least: 2.8
5
  Tested up to: 4.4
6
+ Stable tag: 3.4.6
7
 
8
  Ecwid is a full-featured shopping cart that can be added to any Wordpress site in less than 5 minutes. Start using Ecwid for free today.
9
 
107
  * [Ecwid site](http://www.ecwid.com/?source=wporg-plugin-site "Ecwid Site")
108
 
109
  == Changelog ==
110
+ = 3.4.6 =
111
+ - **Layout improvements for Mantra theme.** Mantra theme users might notice slight glitches in the recently viewed products and horizontal menu widgets. We fixed those.
112
+ - **Minor fixes for plugins settings page layout in Wordpress 4.4.** Feel free to update your Wordpress to the newest version 4.4 as soon as it's released, the Ecwid plugin will work fine with it.
113
+
114
  = 3.4.5 =
115
  - Updates and bug fixes for the new horizontal categories widget.
116
  - Fixed a layout issue in the "Categories" block on the store page management in the Wordpress admin backend.