Ecwid Ecommerce Shopping Cart - Version 4.4.1

Version Description

  • Fixed notice/warning messages that appeared in rare cases in a sitemap generated by 3d-party Sitemap/SEO plugins. Now sitemaps should be generated without any error messages. Here, you can find the plugins we recommend to generate a sitemap on your Wordpress site: https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-downloadable-#productstositemap
  • Added a few improvements to the plugin code to work better on servers with PHP7 installed. If your hosting is going to migrate your site to PHP7, you can rest assured Ecwid eCommerce plugin will work fine in new environment.
  • Fixed an issue with the "Default category" drop-down in the store page appearance settings. You might notice that the Default category list in the store page settings didn't show a category if you just created that category in your online store. We updated this tool so that it faster reacts on creating new categories.
  • Fixed an issue with price display in the Recently viewed products sidebar widget. You might notice that the Recently Viewed Products widget didn't display product prices on your site we fixed that.
Download this release

Release Info

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

Code changes from version 4.4 to 4.4.1

css/fonts.css CHANGED
@@ -9,20 +9,6 @@
9
  font-style: normal;
10
  }
11
 
12
- [class^="icon-"], [class*=" icon-"] {
13
- font-family: 'ecwid-plugin-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-plugin-icons' !important;
28
  -webkit-font-smoothing: antialiased;
9
  font-style: normal;
10
  }
11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  #wpadminbar>#wp-toolbar>#wp-admin-bar-root-default .ab-icon.ecwid-top-menu-item {
13
  font: 400 20px/1 'ecwid-plugin-icons' !important;
14
  -webkit-font-smoothing: antialiased;
css/frontend.css CHANGED
@@ -20,4 +20,8 @@ html#ecwid_html body#ecwid_body .ecwid-SearchPanel input {
20
  html#ecwid_html body#ecwid_body .ecwid-productsList ul li .ecwid-productsList-name {
21
  font-size: inherit;
22
  color: inherit;
 
 
 
 
23
  }
20
  html#ecwid_html body#ecwid_body .ecwid-productsList ul li .ecwid-productsList-name {
21
  font-size: inherit;
22
  color: inherit;
23
+ }
24
+
25
+ html#ecwid_html body#ecwid_body .ecwid tr:hover td {
26
+ color: inherit;
27
  }
css/themes/storefront.css CHANGED
@@ -1,7 +1,7 @@
1
- html#ecwid_html body#ecwid_body.ecwid-shopping-cart div.ecwid-productBrowser-productsList-thumbnail {
2
- padding-top: 15px;
3
- }
4
- html#ecwid_html body#ecwid_body.ecwid-shopping-cart div.ecwid-productBrowser-productsList-details {
5
- padding-top: 15px;
6
- padding-bottom: 25px;
7
  }
1
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart div.ecwid-productBrowser-productsList-thumbnail {
2
+ padding-top: 15px;
3
+ }
4
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart div.ecwid-productBrowser-productsList-details {
5
+ padding-top: 15px;
6
+ padding-bottom: 25px;
7
  }
css/themes/zerif-lite.css CHANGED
@@ -1,7 +1,7 @@
1
- html#ecwid_html body#ecwid_body div.ecwid-search-widget {
2
- font-size: 16px;
3
- }
4
-
5
- html#ecwid_html body#ecwid_body .ecwid table {
6
- line-height: inherit;
7
  }
1
+ html#ecwid_html body#ecwid_body div.ecwid-search-widget {
2
+ font-size: 16px;
3
+ }
4
+
5
+ html#ecwid_html body#ecwid_body .ecwid table {
6
+ line-height: inherit;
7
  }
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.4
9
  Author URI: http://www.ecwid.com?source=wporg
10
  */
11
 
@@ -232,7 +232,7 @@ add_action('wp_ajax_nopriv_ecwid_get_product_info', 'ecwid_ajax_get_product_info
232
  function ecwid_enqueue_frontend() {
233
 
234
  wp_enqueue_script('jquery-ui-widget');
235
- wp_register_script('ecwid-products-list-js', ECWID_PLUGIN_URL . 'js/products-list.js', array('jquery-ui-widget'), get_option('ecwid_plugin_version'));
236
  wp_register_style('ecwid-products-list-css', ECWID_PLUGIN_URL . 'css/products-list.css', array(), get_option('ecwid_plugin_version'));
237
  wp_enqueue_style('ecwid-css', ECWID_PLUGIN_URL . 'css/frontend.css',array(), get_option('ecwid_plugin_version'));
238
  wp_enqueue_style('ecwid-fonts-css', ECWID_PLUGIN_URL . 'css/fonts.css', array(), get_option('ecwid_plugin_version'));
@@ -707,7 +707,7 @@ TEXT;
707
  "id" => "ecwid-faq",
708
  "title" => __("Read FAQ", 'ecwid-shopping-cart'),
709
  "parent" => "ecwid-main",
710
- 'href' => __('https://help.ecwid.com/customer/portal/articles/1085017-wordpress-downloadable', 'ecwid-shopping-cart'),
711
  'meta' => array(
712
  'target' => '_blank'
713
  )
@@ -1005,10 +1005,10 @@ function ecwid_content_started($content)
1005
 
1006
  function ecwid_wrap_shortcode_content($content, $name, $attrs)
1007
  {
1008
- return "<!-- Ecwid shopping cart plugin v 4.4 --><!-- noptimize -->"
1009
  . ecwid_get_scriptjs_code(@$attrs['lang'])
1010
  . "<div class=\"ecwid-shopping-cart-$name\">$content</div>"
1011
- . "<!-- /noptimize --><!-- END Ecwid Shopping Cart v 4.4 -->";
1012
  }
1013
 
1014
  function ecwid_get_scriptjs_code($force_lang = null) {
@@ -1217,6 +1217,33 @@ function ecwid_product_shortcode($shortcode_attributes) {
1217
  return ecwid_wrap_shortcode_content($result, 'product', $shortcode_attributes);
1218
  }
1219
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1220
  function ecwid_shortcode($attributes)
1221
  {
1222
  $attributes = shortcode_atts(
@@ -1513,7 +1540,7 @@ EOT;
1513
  add_action('in_admin_header', 'ecwid_disable_other_notices');
1514
  function ecwid_disable_other_notices() {
1515
 
1516
- $pages = array('toplevel_page_ecwid', 'admin_page_ecwid-help');
1517
 
1518
  if (!in_array(get_current_screen()->base, $pages)) return;
1519
 
@@ -1671,12 +1698,13 @@ function ecwid_build_menu() {
1671
  __('Help', 'ecwid-shopping-cart'),
1672
  'manage_options', 'ecwid-help', 'ecwid_help_do_page'
1673
  );
 
1674
  }
1675
 
1676
- function ecwid_get_categories() {
1677
  $categories = EcwidPlatform::cache_get('all_categories');
1678
 
1679
- if ( false == $categories ) {
1680
  $callback = 'ecwidcatscallback';
1681
  $result = EcwidPlatform::fetch_url(ecwid_get_categories_js_url($callback));
1682
  $result = $result['data'];
@@ -1687,7 +1715,7 @@ function ecwid_get_categories() {
1687
 
1688
  $categories = json_decode($result);
1689
 
1690
- $result = EcwidPlatform::cache_set('all_categories', $categories, 60 * 60 * 12);
1691
  }
1692
 
1693
  return $categories;
@@ -1868,18 +1896,20 @@ function ecwid_create_store() {
1868
  Ecwid_Kissmetrics::set( 'is_paid', 'false' );
1869
  Ecwid_Kissmetrics::set( 'channelid', 'wporg' );
1870
  Ecwid_Kissmetrics::set( 'registered_via_api', 'true' );
 
1871
 
1872
  header( 'HTTP/1.1 200 OK' );
1873
 
1874
  } else {
1875
- EcwidPlatform::cache_set( 'user_was_redirected_to_ecwid_site_to_create_account', 1, 60*60*24 );
 
1876
  header( 'HTTP/1.1 ' . $result['response']['code'] . ' ' . $result['response']['message'] );
1877
  Ecwid_Kissmetrics::record( 'Create Store Failed' );
1878
  }
1879
  }
1880
 
1881
  function ecwid_general_settings_do_page() {
1882
-
1883
  $store_id = get_option( 'ecwid_store_id' );
1884
 
1885
  $connection_error = isset( $_GET['connection_error'] );
@@ -1986,7 +2016,7 @@ function ecwid_general_settings_do_page() {
1986
 
1987
  function ecwid_admin_do_page( $page ) {
1988
 
1989
- if ($_GET['show_timeout'] == '1') {
1990
  require_once ECWID_PLUGIN_DIR . 'templates/admin-timeout.php';
1991
  die();
1992
  }
@@ -2149,7 +2179,7 @@ function ecwid_get_categories_for_selector() {
2149
  return $result;
2150
  }
2151
 
2152
- $result = walk_through_categories(ecwid_get_categories(), "");
2153
 
2154
  return $result;
2155
  }
@@ -2452,16 +2482,7 @@ function ecwid_gather_usage_stats()
2452
  $usage_stats['http_post_fails'] = get_option('ecwid_last_oauth_fail_time') > 0;
2453
  $usage_stats['ecwid_use_new_horizontal_categories'] = (bool) get_option('ecwid_use_new_horizontal_categories');
2454
 
2455
- $wp_date = get_option('ecwid_wp_install_date');
2456
- if (!$wp_date) {
2457
- global $wpdb;
2458
- $oldest_user = strtotime($wpdb->get_var("SELECT min(`user_registered`) FROM {$wpdb->users}"));
2459
- $oldest_post = strtotime($wpdb->get_var("SELECT min(`post_date`) FROM {$wpdb->posts}"));
2460
- $wpconfig_create = filectime(ABSPATH . '/wp-config.php');
2461
-
2462
- $wp_date = min($oldest_user, $oldest_post, $wpconfig_create);
2463
- update_option('ecwid_wp_install_date', $wp_date);
2464
- }
2465
 
2466
  $ecwid_date = get_option('ecwid_installation_date');
2467
 
@@ -2478,6 +2499,23 @@ function ecwid_gather_usage_stats()
2478
  return $usage_stats;
2479
  }
2480
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2481
  function ecwid_check_for_remote_connection_errors()
2482
  {
2483
  global $ecwid_oauth;
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.4.1
9
  Author URI: http://www.ecwid.com?source=wporg
10
  */
11
 
232
  function ecwid_enqueue_frontend() {
233
 
234
  wp_enqueue_script('jquery-ui-widget');
235
+ wp_register_script('ecwid-products-list-js', ECWID_PLUGIN_URL . 'js/products-list.js', array('jquery', 'jquery-ui-widget'), get_option('ecwid_plugin_version'));
236
  wp_register_style('ecwid-products-list-css', ECWID_PLUGIN_URL . 'css/products-list.css', array(), get_option('ecwid_plugin_version'));
237
  wp_enqueue_style('ecwid-css', ECWID_PLUGIN_URL . 'css/frontend.css',array(), get_option('ecwid_plugin_version'));
238
  wp_enqueue_style('ecwid-fonts-css', ECWID_PLUGIN_URL . 'css/fonts.css', array(), get_option('ecwid_plugin_version'));
707
  "id" => "ecwid-faq",
708
  "title" => __("Read FAQ", 'ecwid-shopping-cart'),
709
  "parent" => "ecwid-main",
710
+ 'href' => __('https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-downloadable-', 'ecwid-shopping-cart'),
711
  'meta' => array(
712
  'target' => '_blank'
713
  )
1005
 
1006
  function ecwid_wrap_shortcode_content($content, $name, $attrs)
1007
  {
1008
+ return "<!-- Ecwid shopping cart plugin v 4.4.1 --><!-- noptimize -->"
1009
  . ecwid_get_scriptjs_code(@$attrs['lang'])
1010
  . "<div class=\"ecwid-shopping-cart-$name\">$content</div>"
1011
+ . "<!-- /noptimize --><!-- END Ecwid Shopping Cart v 4.4.1 -->";
1012
  }
1013
 
1014
  function ecwid_get_scriptjs_code($force_lang = null) {
1217
  return ecwid_wrap_shortcode_content($result, 'product', $shortcode_attributes);
1218
  }
1219
 
1220
+ function ecwid_install_theme() {
1221
+ if ( ! class_exists( 'Theme_Upgrader', false ) ) {
1222
+ require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
1223
+ }
1224
+
1225
+ wp_enqueue_script( 'customize-loader' );
1226
+
1227
+ $title = __('Install Themes');
1228
+ $parent_file = 'themes.php';
1229
+ $submenu_file = 'themes.php';
1230
+ require_once(ABSPATH . 'wp-admin/admin-header.php');
1231
+
1232
+ $upgrader = new Theme_Upgrader( );
1233
+ $result = $upgrader->install("https://plugins.ecwid.com/files/ecwid-ecommerce.zip");
1234
+
1235
+ if ( !$result || is_wp_error($result) ) {
1236
+ echo '<a href="javascript:history.back()">' . __('Back') . '</a>';
1237
+ } else {
1238
+ _e( 'Preparing theme preview...', 'ecwid-shopping-cart' );
1239
+ echo '<script type="text/javascript">location.href="themes.php?theme=ecwid-ecommerce";</script>';
1240
+
1241
+ Ecwid_Message_Manager::disable_message( 'install_ecwid_theme' );
1242
+ }
1243
+
1244
+ include(ABSPATH . 'wp-admin/admin-footer.php');
1245
+ }
1246
+
1247
  function ecwid_shortcode($attributes)
1248
  {
1249
  $attributes = shortcode_atts(
1540
  add_action('in_admin_header', 'ecwid_disable_other_notices');
1541
  function ecwid_disable_other_notices() {
1542
 
1543
+ $pages = array('toplevel_page_ecwid', 'admin_page_ecwid-help', 'admin_page-ecwid-install-theme');
1544
 
1545
  if (!in_array(get_current_screen()->base, $pages)) return;
1546
 
1698
  __('Help', 'ecwid-shopping-cart'),
1699
  'manage_options', 'ecwid-help', 'ecwid_help_do_page'
1700
  );
1701
+ add_submenu_page('', 'Install ecwid theme', '', 'manage_options', 'ecwid-install-theme', 'ecwid_install_theme');
1702
  }
1703
 
1704
+ function ecwid_get_categories($nocache = false) {
1705
  $categories = EcwidPlatform::cache_get('all_categories');
1706
 
1707
+ if ( false == $categories || $nocache ) {
1708
  $callback = 'ecwidcatscallback';
1709
  $result = EcwidPlatform::fetch_url(ecwid_get_categories_js_url($callback));
1710
  $result = $result['data'];
1715
 
1716
  $categories = json_decode($result);
1717
 
1718
+ $result = EcwidPlatform::cache_set('all_categories', $categories, 60 * 60 * 2);
1719
  }
1720
 
1721
  return $categories;
1896
  Ecwid_Kissmetrics::set( 'is_paid', 'false' );
1897
  Ecwid_Kissmetrics::set( 'channelid', 'wporg' );
1898
  Ecwid_Kissmetrics::set( 'registered_via_api', 'true' );
1899
+ Ecwid_Kissmetrics::record('accountConnected');
1900
 
1901
  header( 'HTTP/1.1 200 OK' );
1902
 
1903
  } else {
1904
+
1905
+
1906
  header( 'HTTP/1.1 ' . $result['response']['code'] . ' ' . $result['response']['message'] );
1907
  Ecwid_Kissmetrics::record( 'Create Store Failed' );
1908
  }
1909
  }
1910
 
1911
  function ecwid_general_settings_do_page() {
1912
+
1913
  $store_id = get_option( 'ecwid_store_id' );
1914
 
1915
  $connection_error = isset( $_GET['connection_error'] );
2016
 
2017
  function ecwid_admin_do_page( $page ) {
2018
 
2019
+ if (@$_GET['show_timeout'] == '1') {
2020
  require_once ECWID_PLUGIN_DIR . 'templates/admin-timeout.php';
2021
  die();
2022
  }
2179
  return $result;
2180
  }
2181
 
2182
+ $result = walk_through_categories(ecwid_get_categories(true), "");
2183
 
2184
  return $result;
2185
  }
2482
  $usage_stats['http_post_fails'] = get_option('ecwid_last_oauth_fail_time') > 0;
2483
  $usage_stats['ecwid_use_new_horizontal_categories'] = (bool) get_option('ecwid_use_new_horizontal_categories');
2484
 
2485
+ $wp_date = ecwid_get_wp_install_date();
 
 
 
 
 
 
 
 
 
2486
 
2487
  $ecwid_date = get_option('ecwid_installation_date');
2488
 
2499
  return $usage_stats;
2500
  }
2501
 
2502
+ function ecwid_get_wp_install_date( ) {
2503
+ global $wpdb;
2504
+
2505
+ $wp_date = get_option( 'ecwid_wp_install_date' );
2506
+ if ( ! $wp_date ) {
2507
+ global $wpdb;
2508
+ $oldest_user = strtotime( $wpdb->get_var( "SELECT min(`user_registered`) FROM {$wpdb->users}" ) );
2509
+ $oldest_post = strtotime( $wpdb->get_var( "SELECT min(`post_date`) FROM {$wpdb->posts}" ) );
2510
+ $wpconfig_create = filectime( ABSPATH . '/wp-config.php' );
2511
+
2512
+ $wp_date = min( $oldest_user, $oldest_post, $wpconfig_create );
2513
+ update_option( 'ecwid_wp_install_date', $wp_date );
2514
+ }
2515
+
2516
+ return $wp_date;
2517
+ }
2518
+
2519
  function ecwid_check_for_remote_connection_errors()
2520
  {
2521
  global $ecwid_oauth;
includes/class-ecwid-help-page.php CHANGED
@@ -68,7 +68,7 @@ class Ecwid_Help_Page {
68
 
69
  $result = array();
70
  foreach ( $faqs as $idx => $faq ) {
71
- if ( $faq['priority'] == 'newbie_with_woo' ) {
72
  $installed_within_two_weeks = time() - get_option( 'ecwid_installation_date' ) < 60 * 60 * 24 * 14;
73
 
74
  if ( ecwid_get_woocommerce_status() && $installed_within_two_weeks ) {
@@ -91,7 +91,6 @@ class Ecwid_Help_Page {
91
 
92
  $result = array();
93
  foreach ($faqs as $faq) {
94
- $faq['href'] = 'https://help.ecwid.com/' . $faq['href'];
95
  $faq['body'] = preg_replace('!<img alt="" src="([^"]*)"!', '<img alt="" src="' . ECWID_PLUGIN_URL . '/images/help/' . '$1"', $faq['body']);
96
 
97
  $result[] = (object) $faq;
68
 
69
  $result = array();
70
  foreach ( $faqs as $idx => $faq ) {
71
+ if ( isset($faq['priority']) && $faq['priority'] == 'newbie_with_woo' ) {
72
  $installed_within_two_weeks = time() - get_option( 'ecwid_installation_date' ) < 60 * 60 * 24 * 14;
73
 
74
  if ( ecwid_get_woocommerce_status() && $installed_within_two_weeks ) {
91
 
92
  $result = array();
93
  foreach ($faqs as $faq) {
 
94
  $faq['body'] = preg_replace('!<img alt="" src="([^"]*)"!', '<img alt="" src="' . ECWID_PLUGIN_URL . '/images/help/' . '$1"', $faq['body']);
95
 
96
  $result[] = (object) $faq;
includes/class-ecwid-message-manager.php CHANGED
@@ -4,7 +4,7 @@ class Ecwid_Message_Manager
4
  {
5
  protected $messages = array();
6
 
7
- protected function Ecwid_Message_Manager()
8
  {
9
  $this->init_messages();
10
  }
@@ -230,12 +230,24 @@ TXT
230
  'message' => Ecwid_Message_Manager::get_oauth_message(),
231
  'hideable' => false,
232
  'type' => 'error'
 
 
 
 
 
 
 
 
233
  )
234
  );
235
  }
236
 
237
  protected function need_to_show_message($name)
238
  {
 
 
 
 
239
  $admin_page = '';
240
  if (function_exists('get_current_screen')) {
241
  $screen = get_current_screen();
@@ -281,6 +293,38 @@ TXT
281
  }
282
 
283
  return $result;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
284
  }
285
  }
286
 
4
  {
5
  protected $messages = array();
6
 
7
+ protected function __construct()
8
  {
9
  $this->init_messages();
10
  }
230
  'message' => Ecwid_Message_Manager::get_oauth_message(),
231
  'hideable' => false,
232
  'type' => 'error'
233
+ ),
234
+
235
+ 'install_ecwid_theme' => array(
236
+ 'title' => __( 'Looking for a Wordpress theme for your store?', 'ecwid-shopping-cart' ),
237
+ 'message' => __ ( 'We created the "Ecwid Ecommerce" theme to make Ecwid stores like yours look great in WordPress. Give it a try – the Ecwid theme is free.', 'ecwid-shopping-cart' ),
238
+ 'primary_title' => __( 'Install the Ecwid theme', 'ecwid-shopping-cart' ),
239
+ 'primary_url' => 'admin.php?page=ecwid-install-theme',
240
+ 'hideable' => true
241
  )
242
  );
243
  }
244
 
245
  protected function need_to_show_message($name)
246
  {
247
+ if ( !current_user_can( 'manage_options' ) ) {
248
+ return false;
249
+ }
250
+
251
  $admin_page = '';
252
  if (function_exists('get_current_screen')) {
253
  $screen = get_current_screen();
293
  }
294
 
295
  return $result;
296
+
297
+ case "install_ecwid_theme":
298
+ $install_date = ecwid_get_wp_install_date();
299
+ $theme = ecwid_get_theme_identification();
300
+
301
+ $default_themes = array(
302
+ 'twentyten',
303
+ 'twentyeleven',
304
+ 'twentytwelve',
305
+ 'twentythirteen',
306
+ 'twentyfourteen',
307
+ 'twentyfifteen',
308
+ 'twentysixteen'
309
+ );
310
+
311
+ $is_default_theme = in_array($theme, $default_themes);
312
+ $is_newbie = (time() - $install_date) < 60*60*24*31;
313
+ $is_ecwid_connected = get_ecwid_store_id() != ECWID_DEMO_STORE_ID;
314
+ $is_installing = get_current_screen()->base == 'admin_page_ecwid-install-theme';
315
+ $theme_object = wp_get_theme('ecwid-ecommerce');
316
+ $err = $theme_object->errors();
317
+ $is_theme_installed = $theme_object;
318
+ if ($is_theme_installed) {
319
+ if ($err && $err->get_error_code() == 'theme_not_found') {
320
+ $is_theme_installed = false;
321
+ }
322
+ }
323
+
324
+ if ( $is_default_theme && $is_newbie && $is_ecwid_connected && !$is_installing && !$is_theme_installed ) {
325
+ return true;
326
+ }
327
+
328
  }
329
  }
330
 
includes/class-ecwid-nav-menus.php CHANGED
@@ -142,6 +142,9 @@ class Ecwid_Nav_Menus {
142
  $item->url = ecwid_get_store_page_url() . '#!/~/' . $ecwid_menu_type['url'];
143
  }
144
 
 
 
 
145
  if ($item->object == 'ecwid-store-with-categories') {
146
  $categories = ecwid_get_categories();
147
  if (!empty($categories)) {
142
  $item->url = ecwid_get_store_page_url() . '#!/~/' . $ecwid_menu_type['url'];
143
  }
144
 
145
+ if ($item->object == 'ecwid-store-with-categories' || $item->object == 'ecwid-store') {
146
+ $item->url = ecwid_get_store_page_url();
147
+ }
148
  if ($item->object == 'ecwid-store-with-categories') {
149
  $categories = ecwid_get_categories();
150
  if (!empty($categories)) {
includes/faq_entries.php CHANGED
@@ -4,14 +4,14 @@ $faqs = array(
4
  array(
5
  'title' => __( 'How secure is this plugin? Is my store PCI DSS compliant?', 'ecwid-shopping-cart' ),
6
  'body' => __(
7
- 'Ecwid is PCI DSS Level 1 certified, which is the gold standard for e-commerce solutions worldwide. This means you won’t have any banking compliance issues when selling online with Ecwid. <a target="_blank" href="https://help.ecwid.com/customer/portal/articles/1085017-wordpress-downloadable#secureplugin">More details.</a>' , 'ecwid-shopping-cart'
8
  ),
9
  'priority' => 'newbie_with_woo'
10
  ),
11
  array(
12
  'title' => __( 'How can I manage my store from a mobile device?', 'ecwid-shopping-cart' ),
13
  'body' => __(
14
- 'Ecwid provides free mobile applications for iOS and Android to manage your store and sell on the go. Scan products, track inventory, manage sales and accept payments using your mobile device as a POS station. <a target="_blank" href="https://www.ecwid.com/ecwid-mobile">More details.'
15
  , 'ecwid-shopping-cart'
16
  ),
17
  'priority' => 'newbie_with_woo'
@@ -19,7 +19,7 @@ $faqs = array(
19
  array(
20
  'title' => __( 'How to set up a storefront on Facebook with Ecwid?', 'ecwid-shopping-cart' ),
21
  'body' => __(
22
- 'You can add your online store to your Facebook business page. No addons needed. Ecwid will automatically synchronize products, customers, orders and inventory between your WordPress and Facebook storefronts. <a href="https://help.ecwid.com/customer/portal/articles/1085017-wordpress-downloadable#How%20to%20add%20my%20store%20to%20Facebook">More details.</a>'
23
  , 'ecwid-shopping-cart'
24
  ),
25
  'priority' => 'newbie_with_woo'
@@ -28,7 +28,7 @@ $faqs = array(
28
  'title' => __( 'How can I add a cart widget to my site sidebar?', 'ecwid-shopping-cart' ),
29
  'body' => sprintf(
30
  __(
31
- 'You can add product search box, cart widget and more on the <a href="%s">"Appearance / Widgets page"</a> here in your site admin. <a target="_blank" href="https://help.ecwid.com/customer/portal/articles/1085017-wordpress-downloadable#Sidebar%%20widgets">More details.</a>'
32
  , 'ecwid-shopping-cart'
33
  ),
34
  admin_url("widgets.php?from-ecwid=true")
@@ -37,12 +37,7 @@ $faqs = array(
37
  array(
38
  'title' => __( 'How much does Ecwid cost?', 'ecwid-shopping-cart' ),
39
  'body' => __(
40
- 'Our 4 account types vary by number of products, types of functionality, and level of support. For more information, check out our <a target="_blank" href="https://www.ecwid.com/pricing">pricing page.</a>
41
- <br />Free - Up to 10 products
42
- <br />Venture - $15/month
43
- <br />Business - $35/month
44
- <br />Unlimited - $99/month
45
- Pro Tip: You can also save money by enrolling in our annual plans.'
46
  , 'ecwid-shopping-cart'
47
  )
48
  ),
@@ -56,20 +51,20 @@ Pro Tip: You can also save money by enrolling in our annual plans.'
56
  array(
57
  'title' => __( 'How do I put my products in the sitemap?', 'ecwid-shopping-cart' ),
58
  'body' => __(
59
- 'To create sitemap for your Wordpress site we suggest using <a target="_blank" href="https://wordpress.org/plugins/google-sitemap-generator/">Google XML Sitemaps</a> or <a target="_blank" href="https://wordpress.org/plugins/wordpress-seo/">Yoast Wordpress SEO</a>. &nbsp;plugins. These plugins are fully compatible with Ecwid and allow to generate a sitemap that will contain links to categories and product pages, so the store pages will get indexed faster. Please note that this option is available to <a href="https://www.ecwid.com/pricing">paid Ecwid users</a>.' , 'ecwid-shopping-cart'
60
  )
61
  ),
62
  array(
63
  'title' => __( 'How to add a single product with the add to bag button to the site pages?', 'ecwid-shopping-cart' ),
64
  'body' => __(
65
- 'To feature a single product on a separate page or blog post of your site, use <b>[ecwid_product]</b> shortcode. <a target="_blank" href="https://help.ecwid.com/customer/portal/articles/1085017-wordpress-downloadable#Howtoembedasingleproductonapageorpostofmysite">How to use it.</a>'
66
  , 'ecwid-shopping-cart'
67
  )
68
  ),
69
  array(
70
  'title' => __( 'Is it possible to display my store on the site home page?', 'ecwid-shopping-cart' ),
71
  'body' => __(
72
- 'You can display your store on the site main page. Adjust the "Reading" settings of your site as described in our <a href="https://help.ecwid.com/customer/portal/articles/1085017-wordpress-downloadable#displaystoreonhomepage">Help Center.</a>'
73
  , 'ecwid-shopping-cart'
74
  )
75
  )
4
  array(
5
  'title' => __( 'How secure is this plugin? Is my store PCI DSS compliant?', 'ecwid-shopping-cart' ),
6
  'body' => __(
7
+ 'Ecwid is PCI DSS Level 1 certified, which is the gold standard for e-commerce solutions worldwide. This means you won’t have any banking compliance issues when selling online with Ecwid. <a target="_blank" href="https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-downloadable-#secureplugin">More details.</a>' , 'ecwid-shopping-cart'
8
  ),
9
  'priority' => 'newbie_with_woo'
10
  ),
11
  array(
12
  'title' => __( 'How can I manage my store from a mobile device?', 'ecwid-shopping-cart' ),
13
  'body' => __(
14
+ 'Ecwid provides free mobile applications for iOS and Android to manage your store and sell on the go. Scan products, track inventory, manage sales and accept payments using your mobile device as a POS station. <a target="_blank" href="https://www.ecwid.com/ecwid-mobile">More details.</a>'
15
  , 'ecwid-shopping-cart'
16
  ),
17
  'priority' => 'newbie_with_woo'
19
  array(
20
  'title' => __( 'How to set up a storefront on Facebook with Ecwid?', 'ecwid-shopping-cart' ),
21
  'body' => __(
22
+ 'You can add your online store to your Facebook business page. No addons needed. Ecwid will automatically synchronize products, customers, orders and inventory between your WordPress and Facebook storefronts. <a target="_blank" href="https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-downloadable-#How%20to%20add%20my%20store%20to%20Facebook">More details.</a>'
23
  , 'ecwid-shopping-cart'
24
  ),
25
  'priority' => 'newbie_with_woo'
28
  'title' => __( 'How can I add a cart widget to my site sidebar?', 'ecwid-shopping-cart' ),
29
  'body' => sprintf(
30
  __(
31
+ 'You can add product search box, cart widget and more on the <a href="%s">"Appearance / Widgets page"</a> here in your site admin. <a target="_blank" href="https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-downloadable-#Sidebar%%20widgets">More details.</a>'
32
  , 'ecwid-shopping-cart'
33
  ),
34
  admin_url("widgets.php?from-ecwid=true")
37
  array(
38
  'title' => __( 'How much does Ecwid cost?', 'ecwid-shopping-cart' ),
39
  'body' => __(
40
+ 'Our 4 account types vary by number of products, types of functionality, and level of support. For more information, check out our <a target="_blank" href="https://www.ecwid.com/pricing">pricing page.</a><br /><br />Free - Up to 10 products<br />Venture - $15/month<br />Business - $35/month<br />Unlimited - $99/month<br /><br />Pro Tip: You can also save money by enrolling in our annual plans.'
 
 
 
 
 
41
  , 'ecwid-shopping-cart'
42
  )
43
  ),
51
  array(
52
  'title' => __( 'How do I put my products in the sitemap?', 'ecwid-shopping-cart' ),
53
  'body' => __(
54
+ 'To create sitemap for your Wordpress site we suggest using <a target="_blank" href="https://wordpress.org/plugins/google-sitemap-generator/">Google XML Sitemaps</a> or <a target="_blank" href="https://wordpress.org/plugins/wordpress-seo/">Yoast Wordpress SEO</a>. &nbsp;plugins. These plugins are fully compatible with Ecwid and allow to generate a sitemap that will contain links to categories and product pages, so the store pages will get indexed faster. Please note that this option is available to <a target="_blank" href="https://www.ecwid.com/pricing">paid Ecwid users</a>.', 'ecwid-shopping-cart'
55
  )
56
  ),
57
  array(
58
  'title' => __( 'How to add a single product with the add to bag button to the site pages?', 'ecwid-shopping-cart' ),
59
  'body' => __(
60
+ 'To feature a single product on a separate page or blog post of your site, use <b>[ecwid_product]</b> shortcode. <a target="_blank" href="https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-downloadable-#Howtoembedasingleproductonapageorpostofmysite">How to use it.</a>'
61
  , 'ecwid-shopping-cart'
62
  )
63
  ),
64
  array(
65
  'title' => __( 'Is it possible to display my store on the site home page?', 'ecwid-shopping-cart' ),
66
  'body' => __(
67
+ 'You can display your store on the site main page. Adjust the "Reading" settings of your site as described in our <a target="_blank" href="https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-downloadable-#displaystoreonhomepage">Help Center.</a>'
68
  , 'ecwid-shopping-cart'
69
  )
70
  )
includes/widgets/class-ecwid-widget-floating-shopping-cart.php CHANGED
@@ -25,7 +25,7 @@ class Ecwid_Widget_Floating_Shopping_Cart extends WP_Widget {
25
 
26
  public function widget($args, $instance) {
27
 
28
- $position = $instance['position'];
29
  if (!in_array($position, self::$positions)) {
30
  $position = self::$default_position;
31
  }
25
 
26
  public function widget($args, $instance) {
27
 
28
+ $position = @$instance['position'];
29
  if (!in_array($position, self::$positions)) {
30
  $position = self::$default_position;
31
  }
js/products-list.js CHANGED
@@ -116,7 +116,7 @@ jQuery.widget('ecwid.productsList', {
116
  }
117
 
118
  jQuery('.' + this._prefix + '-name', container).text(product.name);
119
- jQuery('.' + this._prefix + '-price ecwid-productBrowser-price', container).text(product.price);
120
 
121
  },
122
 
116
  }
117
 
118
  jQuery('.' + this._prefix + '-name', container).text(product.name);
119
+ jQuery('.' + this._prefix + '-price.ecwid-productBrowser-price', container).text(product.price);
120
 
121
  },
122
 
js/recently-viewed.js CHANGED
@@ -36,7 +36,7 @@ jQuery.widget('ecwid.recentlyViewedProducts', jQuery.ecwid.productsList, {
36
  product.link = window.location.href;
37
  product.name = jQuery('.ecwid-productBrowser-head').text();
38
  if (jQuery('.ecwid-productBrowser-price .ecwid-productBrowser-price-value').length > 0) {
39
- product.price = jQuery('.ecwid-productBrowser-price .ecwid-productBrowser-price-value').html();
40
  } else {
41
  product.price = jQuery('.ecwid-productBrowser-price').html();
42
  }
36
  product.link = window.location.href;
37
  product.name = jQuery('.ecwid-productBrowser-head').text();
38
  if (jQuery('.ecwid-productBrowser-price .ecwid-productBrowser-price-value').length > 0) {
39
+ product.price = jQuery('.ecwid-productBrowser-price .ecwid-productBrowser-price-value').text();
40
  } else {
41
  product.price = jQuery('.ecwid-productBrowser-price').html();
42
  }
languages/ecwid-shopping-cart-ru_RU.mo CHANGED
Binary file
languages/ecwid-shopping-cart-ru_RU.po CHANGED
@@ -205,9 +205,6 @@ msgstr "ID категории по умолчанию"
205
  msgid "By default, the storefront shows a list of root categories. You can override this behavior and show a different category when customers open your store for the first time. This is useful if you only have one category or want to display a specific set of items (e.g. \"Featured Products\") to new visitors."
206
  msgstr "По умолчанию, магазин показывает корневые категории. Здесь можно выбрать другую категорию для отображения, когда покупатель впервые открывает ваш магазин. Это может быть полезно, если у вас есть только одна категория или вы хотите показывать определённые набор товаров (например, специальные предложения) новым пользователям."
207
 
208
- msgid "In order to set this option, <a %s>find an ID of the necessary category</a> and save it here."
209
- msgstr "Чтобы выставить категорию, <a %s>найдите ID нужной категории</a> и введите в это поле."
210
-
211
  msgid "Single Sign-On Secret Key"
212
  msgstr "Секретный ключ системы единой авторизации"
213
 
@@ -215,7 +212,7 @@ msgid "Single Sign-On Secret Key is an option that allows your customers access
215
  msgstr "Эта функция позволяет включить систему единой авторизации: когда покупатели вошли в свой аккаунт на вашем сайте, они автоматически входят в свой Эквид-аккаунт, даже если раньше у них его не было. Эта функция может быть полезна в случае, если ваши посетители создают свои аккаунты на вашем сайте."
216
 
217
  msgid "To enable this feature, copy the Single Sign On Secret key from the store control panel to the input above. You can find the key on the \"<a href=\"https://my.ecwid.com/cp/CP.html#legacy_api\" target=\"_blank\">Legacy API Keys</a>\" page. This feature is available for <a href=\"https://www.ecwid.com/pricing\" target=\"_blank\">paid users</a> only."
218
- msgstr "Чтобы включить эту функцию, скопируйте секретный ключ из панели управления магазином в текстовое поле выше. Ключ можно найти на странице \"<a href=\"https://my.ecwid.com/cp/CP.html#legacy_api\" target=\"_blank\">Ключи для предыдущей версии API</a>\". Эта функция доступна только пользователям с <a href=\"https://www.ecwid.com/pricing\" target=\"_blank\">платным аккаунтом</a>."
219
 
220
  msgid "Save changes"
221
  msgstr "Сохранить изменения"
@@ -523,8 +520,8 @@ msgstr "Подключить панель управления"
523
  msgid "Report a problem with the store"
524
  msgstr "Сообщить о проблеме"
525
 
526
- msgid "https://help.ecwid.com"
527
- msgstr "https://help.ecwid.com/customer/ru/portal/articles"
528
 
529
  msgid "Welcome to Ecwid!"
530
  msgstr "Добро пожаловать в Ecwid!"
@@ -550,14 +547,14 @@ msgstr "Посмотреть все"
550
  msgid "Read FAQ"
551
  msgstr "Посмотреть FAQ"
552
 
553
- msgid "https://help.ecwid.com/customer/portal/articles/1085017-wordpress-downloadable"
554
- msgstr "https://help.ecwid.com/customer/ru/portal/articles/1085017-wordpress-org"
555
 
556
  msgid "Questions?"
557
  msgstr "Есть вопросы?"
558
 
559
  msgid "<a href=\"admin.php?page=ecwid-help\">Read FAQ</a> or contact support at <a %s>wordpress@ecwid.com</a>"
560
- msgstr "Посетите <a target=\"_blank\" href=\"https://help.ecwid.com/customer/ru/portal/articles/1085017-wordpress-org\">Центр поддержки Эквида</a> или напишите нам на <a %s>wordpress@ecwid.com</a>"
561
 
562
  msgid "Want to connect another Ecwid store?"
563
  msgstr "Хотите подключить другой Эквид-магазин?"
@@ -603,3 +600,132 @@ msgstr "Корзина (Плавающая)"
603
 
604
  msgid "Adds a shopping cart widget to the top right corner of your site."
605
  msgstr "Добавляет плавающий виджет корзины со счетчиком товаров."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
205
  msgid "By default, the storefront shows a list of root categories. You can override this behavior and show a different category when customers open your store for the first time. This is useful if you only have one category or want to display a specific set of items (e.g. \"Featured Products\") to new visitors."
206
  msgstr "По умолчанию, магазин показывает корневые категории. Здесь можно выбрать другую категорию для отображения, когда покупатель впервые открывает ваш магазин. Это может быть полезно, если у вас есть только одна категория или вы хотите показывать определённые набор товаров (например, специальные предложения) новым пользователям."
207
 
 
 
 
208
  msgid "Single Sign-On Secret Key"
209
  msgstr "Секретный ключ системы единой авторизации"
210
 
212
  msgstr "Эта функция позволяет включить систему единой авторизации: когда покупатели вошли в свой аккаунт на вашем сайте, они автоматически входят в свой Эквид-аккаунт, даже если раньше у них его не было. Эта функция может быть полезна в случае, если ваши посетители создают свои аккаунты на вашем сайте."
213
 
214
  msgid "To enable this feature, copy the Single Sign On Secret key from the store control panel to the input above. You can find the key on the \"<a href=\"https://my.ecwid.com/cp/CP.html#legacy_api\" target=\"_blank\">Legacy API Keys</a>\" page. This feature is available for <a href=\"https://www.ecwid.com/pricing\" target=\"_blank\">paid users</a> only."
215
+ msgstr "Чтобы включить эту функцию, скопируйте секретный ключ из панели управления магазином в текстовое поле выше. Ключ можно найти на странице \"<a href=\"https://my.ecwid.com/cp/CP.html#legacy_api\" target=\"_blank\">Ключи для предыдущей версии API</a>\". Эта функция доступна только пользователям с <a href=\"https://www.ecwid.ru/pricing\" target=\"_blank\">платным аккаунтом</a>."
216
 
217
  msgid "Save changes"
218
  msgstr "Сохранить изменения"
520
  msgid "Report a problem with the store"
521
  msgstr "Сообщить о проблеме"
522
 
523
+ msgid "https://support.ecwid.com"
524
+ msgstr "https://support.ecwid.com/hc/ru"
525
 
526
  msgid "Welcome to Ecwid!"
527
  msgstr "Добро пожаловать в Ecwid!"
547
  msgid "Read FAQ"
548
  msgstr "Посмотреть FAQ"
549
 
550
+ msgid "https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-downloadable-"
551
+ msgstr "https://support.ecwid.com/hc/ru/articles/207101259-Wordpress-ORG"
552
 
553
  msgid "Questions?"
554
  msgstr "Есть вопросы?"
555
 
556
  msgid "<a href=\"admin.php?page=ecwid-help\">Read FAQ</a> or contact support at <a %s>wordpress@ecwid.com</a>"
557
+ msgstr "Посетите <a target=\"_blank\" href=\"https://support.ecwid.com/hc/ru/articles/207101259-Wordpress-ORG\">Центр поддержки Эквида</a> или напишите нам на <a %s>wordpress@ecwid.com</a>"
558
 
559
  msgid "Want to connect another Ecwid store?"
560
  msgstr "Хотите подключить другой Эквид-магазин?"
600
 
601
  msgid "Adds a shopping cart widget to the top right corner of your site."
602
  msgstr "Добавляет плавающий виджет корзины со счетчиком товаров."
603
+
604
+ msgid "How can we help you?"
605
+ msgstr "Как вам помочь?"
606
+
607
+ msgid "E.g. How to set up shipping"
608
+ msgstr "Например, как настроить платежи?"
609
+
610
+ msgid "Search the Knowledge Base"
611
+ msgstr "Искать в базе знаний"
612
+
613
+ msgid "Ecwid Basics"
614
+ msgstr "Начало работы"
615
+
616
+ msgid "Manage Your Ecwid Store"
617
+ msgstr "Управление магазином"
618
+
619
+ msgid "Customize Your Store"
620
+ msgstr "Изменение дизайна"
621
+
622
+ msgid "Billing Questions"
623
+ msgstr "Подписка"
624
+
625
+ msgid "Technical Reference"
626
+ msgstr "Техническая информация"
627
+
628
+ msgid "Frequently Asked Questions"
629
+ msgstr "Часто Задаваемые Вопросы"
630
+
631
+ msgid "Contact us"
632
+ msgstr "Связь с техподдержкой"
633
+
634
+ msgid "Still have questions about Ecwid? Let us know!"
635
+ msgstr "Есть вопросы? Свяжитесь с нами, мы будем рады вам помочь."
636
+
637
+ msgid "Forums"
638
+ msgstr "Форум"
639
+
640
+ msgid "Join the Ecwid community. Discuss support topics and store ideas with other Ecwid users."
641
+ msgstr "Общайтесь с другими пользователями Эквида и командой поддержки клиентов по любым вопросам, связанным с работой вашего магазина."
642
+
643
+ msgid "How do I add store categories to the site menu."
644
+ msgstr "Как добавить категории в меню сайта?"
645
+
646
+ msgid "You can add the store categories menu to your site menu to help your customers easily navigate your site. Just open \"Appearance > Menus\" in your WordPress control panel and add the \"Store with Categories Menu\" item to your site menu. A drop-down menu containing your store categories will automatically appear on your site."
647
+ msgstr "Перейдите на страницу «Внешний вид > Меню», добавьте элемент «Магазин с меню категорий» в меню и сохраните изменения. Сразу после сохранения меню сайта пополнится выпадающим списком категорий вашего магазина."
648
+
649
+ msgid "Is it possible to display my store on the site home page?"
650
+ msgstr "Как добавить магазин на домашнюю страницу?"
651
+
652
+ msgid "You can display your store on the site main page. Adjust the \"Reading\" settings of your site as described in our <a target=\"_blank\" href=\"https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-downloadable-#displaystoreonhomepage\">Help Center.</a>"
653
+ msgstr "Перейдите на страницу <a href=\"options-reading.php\">«Настройки > Чтение»</a> и выберите «Магазин » в выпадающем списке главной страницы."
654
+
655
+ msgid "How secure is this plugin? Is my store PCI DSS compliant?"
656
+ msgstr "Безопасен ли Эквид?"
657
+
658
+ msgid "Ecwid is PCI DSS Level 1 certified, which is the gold standard for e-commerce solutions worldwide. This means you won’t have any banking compliance issues when selling online with Ecwid. <a target=\"_blank\" href=\"https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-downloadable-#secureplugin\">More details.</a>"
659
+ msgstr "Эквид сертифицирован по стандарту PCI DSS Level 1. Это высший уровень соответствия мировым требованиям безопасной передачи данных: информация вашего магазина и ваших клиентов надёжно защищена."
660
+
661
+ msgid "How do I put my products in the sitemap?"
662
+ msgstr "Как добавить товары в карту сайта (sitemap)?"
663
+
664
+ msgid "To create sitemap for your Wordpress site we suggest using <a target=\"_blank\" href=\"https://wordpress.org/plugins/google-sitemap-generator/\">Google XML Sitemaps</a> or <a target=\"_blank\" href=\"https://wordpress.org/plugins/wordpress-seo/\">Yoast Wordpress SEO</a>. &nbsp;plugins. These plugins are fully compatible with Ecwid and allow to generate a sitemap that will contain links to categories and product pages, so the store pages will get indexed faster. Please note that this option is available to <a target=\"_blank\" href=\"https://www.ecwid.com/pricing\">paid Ecwid users</a>."
665
+ msgstr "Для создания карты сайта мы рекомендуем использовать плагин <a target=\"_blank\" href=\"https://ru.wordpress.org/plugins/google-sitemap-plugin/\">Google XML Sitemaps</a> или <a target=\"_blank\" href=\"https://ru.wordpress.org/plugins/wordpress-seo/\">Yoast Wordpress SEO</a>. После установки плагин создаст карту сайта, содержащую ссылки на страницы товаров и категорий, и ускорит их индексацию поисковыми движками. Чтобы воспользоваться этой возможностью подпишитесь на любой <a target=\"_blank\" href=\"https://www.ecwid.ru/pricing\">платный тарифный план</a>."
666
+
667
+ msgid "How much does Ecwid cost?"
668
+ msgstr "Сколько стоит Эквид?"
669
+
670
+ msgid "Our 4 account types vary by number of products, types of functionality, and level of support. For more information, check out our <a target=\"_blank\" href=\"https://www.ecwid.com/pricing\">pricing page.</a><br /><br />Free - Up to 10 products<br />Venture - $15/month<br />Business - $35/month<br />Unlimited - $99/month<br /><br />Pro Tip: You can also save money by enrolling in our annual plans."
671
+ msgstr "Мы предлагаем 4 тарифных плана: от бесплатного с 10 товарами до безлимитного. Платные тарифные планы расширяют возможности магазина и открывают персональную техническую поддержку в реальном времени.<br /><br />FREE – до 10 товаров<br />VENTURE – 790 руб. в месяц<br />BUSINESS – 1950 руб. в месяц<br />UNLIMITED – 4500 руб. в месяц<br /><br />...или дешевле, если подключите подписку на год. <a target=\"_blank\" href=\"https://www.ecwid.ru/pricing\">Подробнее о расценках.</a>"
672
+
673
+ msgid "How to add a single product with the add to bag button to the site pages?"
674
+ msgstr "Как добавить отдельный товар с корзиной на страницу сайта?"
675
+
676
+ msgid "To feature a single product on a separate page or blog post of your site, use <b>[ecwid_product]</b> shortcode. <a target=\"_blank\" href=\"https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-downloadable-#Howtoembedasingleproductonapageorpostofmysite\">How to use it.</a>"
677
+ msgstr "Чтобы разместить товар магазина на страницах сайта отдельно от остальных, используйте короткий код [ecwid_product]. <a target=\"_blank\" href=\"https://support.ecwid.com/hc/ru/articles/207101259-Wordpress-ORG#Howtoembedasingleproductonapageorpostofmysite\">Пошаговая инструкция.</a>"
678
+
679
+ msgid "How to set up a storefront on Facebook with Ecwid?"
680
+ msgstr "Как добавить магазин на Facebook?"
681
+
682
+ msgid "You can add your online store to your Facebook business page. No addons needed. Ecwid will automatically synchronize products, customers, orders and inventory between your WordPress and Facebook storefronts. <a target=\"_blank\" href=\"https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-downloadable-#How%20to%20add%20my%20store%20to%20Facebook\">More details.</a>"
683
+ msgstr "Вы можете разместить магазин не только на своём WordPress-сайте, но и на любой другой странице включая Facebook. Зеркальная копия витрины мгновенно отражает любые изменения в магазине. Новые товары в каталоге, наличие на складе, заказы и покупатели – все данные распространяются между витринами на лету. <a target=\"_blank\" href=\"https://support.ecwid.com/hc/ru/articles/207806665-Facebook-%D0%A4%D0%B5%D0%B9%D1%81%D0%B1%D1%83%D0%BA-\">Подробнее об установке на Facebook.</a>"
684
+
685
+ msgid "How can I add a cart widget to my site sidebar?"
686
+ msgstr "Как добавить корзину в боковую панель сайта (sidebar)?"
687
+
688
+ msgid "You can add product search box, cart widget and more on the <a href=\"%s\">\"Appearance / Widgets page\"</a> here in your site admin. <a target=\"_blank\" href=\"https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-downloadable-#Sidebar%%20widgets\">More details.</a>"
689
+ msgstr "Вы можете добавить корзину, форму для поиска товаров и другие элементы магазина в боковую панель на странице <a href=\"%s\">«Внешний вид > Виджеты»</a>."
690
+
691
+ msgid "How can I manage my store from a mobile device?"
692
+ msgstr "Как быстро внести изменения в каталог товаров?"
693
+
694
+ msgid "Ecwid provides free mobile applications for iOS and Android to manage your store and sell on the go. Scan products, track inventory, manage sales and accept payments using your mobile device as a POS station. <a target=\"_blank\" href=\"https://www.ecwid.com/ecwid-mobile\">More details.</a>"
695
+ msgstr "Лучший способ быстро изменить что-либо в товаре – воспользоваться мобильным приложение. Приложение Эквида для iOS и Android доступно с любым платным тарифным планом и поможет вам управлять заказами, вносить изменения в каталог товаров и регистрировать новые покупки при личных встречах с покупателями где бы вы ни находились. <a target=\"_blank\" href=\"https://www.ecwid.ru/blog/quick-mobile-connect.html\">Подробнее о мобильном приложении.</a>"
696
+
697
+ msgid "Send a message to our support team"
698
+ msgstr "Письмо в службу поддержки"
699
+
700
+ msgid "Subject"
701
+ msgstr "Тема"
702
+
703
+ msgid "Type in your message here"
704
+ msgstr "Ваш вопрос"
705
+
706
+ msgid "Send Message"
707
+ msgstr "Отправить"
708
+
709
+ msgid "https://www.ecwid.com/forums"
710
+ msgstr "https://www.ecwid.com/forums/forumdisplay.php?f=10"
711
+
712
+ msgid "https://support.ecwid.com/hc/en-us/search"
713
+ msgstr "https://support.ecwid.com/hc/ru/search"
714
+
715
+ msgid "https://support.ecwid.com/hc/en-us/requests/new"
716
+ msgstr "https://support.ecwid.com/hc/ru/requests/new"
717
+
718
+ msgid "https://support.ecwid.com/hc/en-us/sections/201706719-Ecwid-Basics"
719
+ msgstr "https://support.ecwid.com/hc/ru/sections/201706719-%D0%9D%D0%B0%D1%87%D0%B0%D0%BB%D0%BE-%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D1%8B-"
720
+
721
+ msgid "https://support.ecwid.com/hc/en-us/sections/201758475-Manage-Your-Ecwid-Store"
722
+ msgstr "https://support.ecwid.com/hc/ru/sections/201758475-%D0%A3%D0%BF%D1%80%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5-%D0%BC%D0%B0%D0%B3%D0%B0%D0%B7%D0%B8%D0%BD%D0%BE%D0%BC"
723
+
724
+ msgid "https://support.ecwid.com/hc/en-us/sections/201758445-Customize-Your-Store"
725
+ msgstr "https://support.ecwid.com/hc/ru/sections/201758445-%D0%98%D0%B7%D0%BC%D0%B5%D0%BD%D0%B5%D0%BD%D0%B8%D0%B5-%D0%B4%D0%B8%D0%B7%D0%B0%D0%B9%D0%BD%D0%B0-"
726
+
727
+ msgid "https://support.ecwid.com/hc/en-us/sections/201706799-Billing-Questions"
728
+ msgstr "https://support.ecwid.com/hc/ru/sections/201706799-%D0%9F%D0%BE%D0%B4%D0%BF%D0%B8%D1%81%D0%BA%D0%B0"
729
+
730
+ msgid "https://support.ecwid.com/hc/en-us/sections/201702859-Technical-Reference"
731
+ msgstr "https://support.ecwid.com/hc/ru/sections/201702859-%D0%A2%D0%B5%D1%85%D0%BD%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B0%D1%8F-%D0%B8%D0%BD%D1%84%D0%BE%D1%80%D0%BC%D0%B0%D1%86%D0%B8%D1%8F"
lib/ecwid_platform.php CHANGED
@@ -149,16 +149,16 @@ class EcwidPlatform {
149
  if ( ( empty($return['data']) || $return['code'] != 200 ) && !isset($options['self_call']) ) {
150
 
151
  $log_url = 'http://' . APP_ECWID_COM . '/script.js?805056&data_platform=wporg&data_wporg_error=remote_get_fails';
152
- $log_url .= '&url=' . urlencode(get_bloginfo('url'));
153
- $log_url .= '&target_url=' . urlencode($url);
154
  if (get_option('ecwid_http_use_stream', false)) {
155
- $log_url .= '&method=stream';
156
  } elseif (get_option('ecwid_fetch_url_use_file_get_contents')) {
157
- $log_url .= '&method=filegetcontents';
158
  }
159
 
160
- $log_url .= '&code=' . $return['code'];
161
- $log_url .= '&message=' . urlencode($return['message']);
162
 
163
  self::fetch_url($log_url, array('self_call' => 1));
164
  update_option('ecwid_remote_get_fails', 1);
149
  if ( ( empty($return['data']) || $return['code'] != 200 ) && !isset($options['self_call']) ) {
150
 
151
  $log_url = 'http://' . APP_ECWID_COM . '/script.js?805056&data_platform=wporg&data_wporg_error=remote_get_fails';
152
+ $log_url .= '&data_url=' . urlencode(get_bloginfo('url'));
153
+ $log_url .= '&data_target_url=' . urlencode($url);
154
  if (get_option('ecwid_http_use_stream', false)) {
155
+ $log_url .= '&data_method=stream';
156
  } elseif (get_option('ecwid_fetch_url_use_file_get_contents')) {
157
+ $log_url .= '&data_method=filegetcontents';
158
  }
159
 
160
+ $log_url .= '&data_code=' . $return['code'];
161
+ $log_url .= '&data_message=' . urlencode(@$return['message']);
162
 
163
  self::fetch_url($log_url, array('self_call' => 1));
164
  update_option('ecwid_remote_get_fails', 1);
lib/ecwid_product_api.php CHANGED
@@ -189,9 +189,9 @@ class EcwidProductApi {
189
  // quick and lightweight request
190
  $api_url = $this->ECWID_PRODUCT_API_ENDPOINT . "/" . $this->store_id . "/profile";
191
 
192
- $this->process_request($api_url);
193
 
194
- return $this->error_code === '';
195
  }
196
 
197
  function get_method_response_stream($method)
189
  // quick and lightweight request
190
  $api_url = $this->ECWID_PRODUCT_API_ENDPOINT . "/" . $this->store_id . "/profile";
191
 
192
+ $result = $this->process_request($api_url);
193
 
194
+ return $this->error_code === '' && $result && !isset($result['error']);
195
  }
196
 
197
  function get_method_response_stream($method)
lib/phpseclib/Base.php CHANGED
@@ -531,6 +531,10 @@ class Ecwid_Crypt_Base
531
  }
532
  }
533
 
 
 
 
 
534
  /**
535
  * Sets the initialization vector. (optional)
536
  *
531
  }
532
  }
533
 
534
+ function __construct($mode = CRYPT_MODE_CBC) {
535
+ $this->Ecwid_Crypt_Base($mode);
536
+ }
537
+
538
  /**
539
  * Sets the initialization vector. (optional)
540
  *
lib/phpseclib/Rijndael.php CHANGED
@@ -269,6 +269,10 @@ class Ecwid_Crypt_Rijndael extends Ecwid_Crypt_Base
269
  parent::Ecwid_Crypt_Base($mode);
270
  }
271
 
 
 
 
 
272
  /**
273
  * Sets the key length.
274
  *
269
  parent::Ecwid_Crypt_Base($mode);
270
  }
271
 
272
+ function __construct($mode = CRYPT_RIJNDAEL_MODE_CBC) {
273
+ parent::__construct($mode = CRYPT_RIJNDAEL_MODE_CBC);
274
+ }
275
+
276
  /**
277
  * Sets the key length.
278
  *
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.5
6
- Stable tag: 4.4
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
 
@@ -93,11 +93,11 @@ http://codex.wordpress.org/Managing_Plugins#Installing_Plugins
93
 
94
  == Screenshots ==
95
 
96
- 1.
97
- 2.
98
- 3.
99
- 4.
100
- 5.
101
 
102
  == Frequently Asked Questions ==
103
 
@@ -145,10 +145,16 @@ You can use Ecwid’s built-in import tools to copy your store products from any
145
  * [Ecwid eCommerce Forums](https://www.ecwid.com/forums/forumdisplay.php?f=19)
146
 
147
  == Changelog ==
 
 
 
 
 
 
148
  = 4.4 =
149
  - **New store categories sidebar widget.** The new categories widget displays your online store root categories list in the site sidebar to let your customers navigate the store easily. Compared to the legacy sidebar categories widget, the new one fits your site layout perfectly – its style is fully based on your theme fonts and styles and looks good on any device and screen size. Find it under Appearance->Widgets->Store Root Categories.
150
  - **Fixed an issue with the categories list in the page default category option.** Ecwid Ecommerce plugin allows you to define a store category shown by default when a customer opens the store page. This could be used to feature some part of your products or display different categories on different site pages. In some cases, the drop-down selector of categories in this tool didn't have the actual categories list from your store (e.g. when you add a new category). We fixed this. You can continue using this tool – it should work good.
151
- - **A few minor fixes and improvements.**
152
 
153
  = 4.3 =
154
  - **New Minicart Widget.** We added a new floating minicart widget. You can enable it on the "Appearance -> Widgets" page in you Wordpress backend. The new search widget appears as soon as a customer adds something to the cart and resides at the top right or bottom right position on the screen so that the customer always sees it and can easily proceed to checkout. The minicart widget also contains a counter displaying the number of products in the cart. Feel free to add it to your site – it's free!
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.5
6
+ Stable tag: 4.4.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
 
93
 
94
  == Screenshots ==
95
 
96
+ 1.
97
+ 2.
98
+ 3.
99
+ 4.
100
+ 5.
101
 
102
  == Frequently Asked Questions ==
103
 
145
  * [Ecwid eCommerce Forums](https://www.ecwid.com/forums/forumdisplay.php?f=19)
146
 
147
  == Changelog ==
148
+ = 4.4.1 =
149
+ - **Fixed notice/warning messages that appeared in rare cases in a sitemap generated by 3d-party Sitemap/SEO plugins.** Now sitemaps should be generated without any error messages. Here, you can find the plugins we recommend to generate a sitemap on your Wordpress site: https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-downloadable-#productstositemap
150
+ - **Added a few improvements to the plugin code to work better on servers with PHP7 installed.** If your hosting is going to migrate your site to PHP7, you can rest assured Ecwid eCommerce plugin will work fine in new environment.
151
+ - **Fixed an issue with the "Default category" drop-down in the store page appearance settings.** You might notice that the Default category list in the store page settings didn't show a category if you just created that category in your online store. We updated this tool so that it faster reacts on creating new categories.
152
+ - **Fixed an issue with price display in the Recently viewed products sidebar widget.** You might notice that the Recently Viewed Products widget didn't display product prices on your site – we fixed that.
153
+
154
  = 4.4 =
155
  - **New store categories sidebar widget.** The new categories widget displays your online store root categories list in the site sidebar to let your customers navigate the store easily. Compared to the legacy sidebar categories widget, the new one fits your site layout perfectly – its style is fully based on your theme fonts and styles and looks good on any device and screen size. Find it under Appearance->Widgets->Store Root Categories.
156
  - **Fixed an issue with the categories list in the page default category option.** Ecwid Ecommerce plugin allows you to define a store category shown by default when a customer opens the store page. This could be used to feature some part of your products or display different categories on different site pages. In some cases, the drop-down selector of categories in this tool didn't have the actual categories list from your store (e.g. when you add a new category). We fixed this. You can continue using this tool – it should work good.
157
+ - A few minor fixes and improvements.
158
 
159
  = 4.3 =
160
  - **New Minicart Widget.** We added a new floating minicart widget. You can enable it on the "Appearance -> Widgets" page in you Wordpress backend. The new search widget appears as soon as a customer adds something to the cart and resides at the top right or bottom right position on the screen so that the customer always sees it and can easily proceed to checkout. The minicart widget also contains a counter displaying the number of products in the cart. Feel free to add it to your site – it's free!
templates/advanced-settings.php CHANGED
@@ -31,15 +31,6 @@
31
  <div class="note">
32
  <?php _e('By default, the storefront shows a list of root categories. You can override this behavior and show a different category when customers open your store for the first time. This is useful if you only have one category or want to display a specific set of items (e.g. "Featured Products") to new visitors.', 'ecwid-shopping-cart'); ?>
33
  </div>
34
- <div class="note">
35
- <?php if (!ecwid_is_paid_account()): ?>
36
- <?php echo sprintf(
37
- __('In order to set this option, <a %s>find an ID of the necessary category</a> and save it here.', 'ecwid-shopping-cart'),
38
- 'target="_blank" href="http://kb.ecwid.com/w/page/23947812/How%20to%20get%20ID%20of%20your%20product%20or%20category"'
39
- );
40
- ?>
41
- <?php endif; ?>
42
- </div>
43
  </div>
44
 
45
  <hr />
@@ -89,7 +80,7 @@
89
  <?php _e('Automatic adjustment of your store design to your Wordpress theme. Whatever Wordpress theme you use, Ecwid will detect predominant colors and font and use them in your product catalog.', 'ecwid-shopping-cart'); ?>
90
  </div>
91
  <div class="note grayed-links">
92
- <?php echo sprintf(__('Please note this functionality is in beta. So if you run into difficulties or find problems with Chameleon, please <a %s>let us know</a>.', 'ecwid-shopping-cart'), ' target="_blank" href="http://help.ecwid.com/customer/portal/emails/new"'); ?>
93
  </div>
94
  </div>
95
 
31
  <div class="note">
32
  <?php _e('By default, the storefront shows a list of root categories. You can override this behavior and show a different category when customers open your store for the first time. This is useful if you only have one category or want to display a specific set of items (e.g. "Featured Products") to new visitors.', 'ecwid-shopping-cart'); ?>
33
  </div>
 
 
 
 
 
 
 
 
 
34
  </div>
35
 
36
  <hr />
80
  <?php _e('Automatic adjustment of your store design to your Wordpress theme. Whatever Wordpress theme you use, Ecwid will detect predominant colors and font and use them in your product catalog.', 'ecwid-shopping-cart'); ?>
81
  </div>
82
  <div class="note grayed-links">
83
+ <?php echo sprintf(__('Please note this functionality is in beta. So if you run into difficulties or find problems with Chameleon, please <a %s>let us know</a>.', 'ecwid-shopping-cart'), ' target="_blank" href="' . __('https://support.ecwid.com/hc/en-us/requests/new', 'ecwid-shopping-cart') . '"'); ?>
84
  </div>
85
  </div>
86
 
templates/help.php CHANGED
@@ -12,12 +12,11 @@
12
 
13
  <div class="hds-container">
14
  <div class="hds-wrapper">
15
- <form class="hds-form" method="get" target="_blank" action="https://help.ecwid.com/customer/portal/articles/search" onsubmit="help-page searchquerysubmited">
16
  <div class="input-wrapper input-prepend">
17
- <input type="text" class="form-control q" value="" name="q" id="q" placeholder="<?php _e( 'E.g. How to set up shipping', 'ecwid-shopping-cart' ); ?> " autocomplete="off"/>
18
- <input type='hidden' name='t' value=''/>
19
  <span class="hds-loader"></span>
20
- <button type="submit" class="hds-submit btn" id="hds-submit">
21
  <span class="icon-search"></span>
22
  <span class="btn-text"><?php _e( 'Search the Knowledge Base', 'ecwid-shopping-cart' ); ?> </span>
23
  </button>
@@ -27,31 +26,31 @@
27
  </div>
28
  <ul class="shortcuts">
29
  <li>
30
- <a href="https://help.ecwid.com/customer/en/portal/topics/626757-ecwid-basics/articles" target="_blank" class="shortcut-item">
31
  <span class="iconhelp-101"></span>
32
  <span class="shortcut-item-text"><?php _e( 'Ecwid Basics', 'ecwid-shopping-cart' ); ?> </span>
33
  </a>
34
  </li>
35
  <li>
36
- <a href="https://help.ecwid.com/customer/en/portal/topics/626764-manage-your-ecwid-store/articles" target="_blank" class="shortcut-item">
37
  <span class="iconhelp-manage"></span>
38
  <span class="shortcut-item-text"><?php _e( 'Manage Your Ecwid Store', 'ecwid-shopping-cart' ); ?> </span>
39
  </a>
40
  </li>
41
  <li>
42
- <a href="https://help.ecwid.com/customer/en/portal/topics/618835-customize-your-store/articles" target="_blank" class="shortcut-item">
43
  <span class="iconhelp-custom"></span>
44
  <span class="shortcut-item-text"><?php _e( 'Customize Your Store', 'ecwid-shopping-cart' ); ?> </span>
45
  </a>
46
  </li>
47
  <li>
48
- <a href="https://help.ecwid.com/customer/en/portal/topics/626765-billing-questions/articles" target="_blank" class="shortcut-item">
49
  <span class="iconhelp-billing"></span>
50
  <span class="shortcut-item-text"><?php _e( 'Billing Questions', 'ecwid-shopping-cart' ); ?> </span>
51
  </a>
52
  </li>
53
  <li>
54
- <a href="https://help.ecwid.com/customer/en/portal/topics/618834-technical-reference/articles" target="_blank" class="shortcut-item">
55
  <span class="iconhelp-api"></span>
56
  <span class="shortcut-item-text"><?php _e( 'Technical Reference', 'ecwid-shopping-cart' ); ?> </span>
57
  </a>
@@ -93,7 +92,7 @@
93
 
94
  <div class="block-topics-link">
95
 
96
- <a href="https://help.ecwid.com/customer/portal/topics/686891--collection-browse-by-topic" class="horizontal-icolink">
97
  <?php _e( 'See more', 'ecwid-shopping-cart' ); ?>
98
  <i class="icon-arr-right"></i>
99
  </a>
@@ -203,13 +202,13 @@
203
  <ul>
204
  <li>
205
  <div class="block-help-item">
206
- <a href="https://help.ecwid.com/customer/portal/emails/new" target="_blank"><?php _e( 'Contact us', 'ecwid-shopping-cart' ); ?> </a>
207
  <p><?php _e( 'Still have questions about Ecwid? Let us know!', 'ecwid-shopping-cart' ); ?> </p>
208
  </div>
209
  </li>
210
  <li>
211
  <div class="block-help-item">
212
- <a href="https://www.ecwid.com/forums" target="_blank"><?php _e( 'Forums', 'ecwid-shopping-cart' ); ?> </a>
213
  <p><?php _e( 'Join the Ecwid community. Discuss support topics and store ideas with other Ecwid users.', 'ecwid-shopping-cart' ); ?> </p>
214
  </div>
215
  </li>
@@ -256,6 +255,10 @@
256
  </div>
257
 
258
  <script type="text/javascript">
 
 
 
 
259
  jQuery('#email_subject, #email_body').focus(function() {
260
  jQuery('.block-contact .send-error').hide();
261
  });
12
 
13
  <div class="hds-container">
14
  <div class="hds-wrapper">
15
+ <form class="hds-form" method="get" target="_blank" data-action="<?php _e( 'https://support.ecwid.com/hc/en-us/search', 'ecwid-shopping-cart'); ?>" onsubmit="help-page searchquerysubmited">
16
  <div class="input-wrapper input-prepend">
17
+ <input type="text" class="form-control q" value="" id="q" placeholder="<?php _e( 'E.g. How to set up shipping', 'ecwid-shopping-cart' ); ?> " autocomplete="off"/>
 
18
  <span class="hds-loader"></span>
19
+ <button type="submit" class="hds-submit btn" id="hds-submit" onClick="">
20
  <span class="icon-search"></span>
21
  <span class="btn-text"><?php _e( 'Search the Knowledge Base', 'ecwid-shopping-cart' ); ?> </span>
22
  </button>
26
  </div>
27
  <ul class="shortcuts">
28
  <li>
29
+ <a href="<?php _e( 'https://support.ecwid.com/hc/en-us/sections/201706719-Ecwid-Basics', 'ecwid-shopping-cart' ); ?>" target="_blank" class="shortcut-item">
30
  <span class="iconhelp-101"></span>
31
  <span class="shortcut-item-text"><?php _e( 'Ecwid Basics', 'ecwid-shopping-cart' ); ?> </span>
32
  </a>
33
  </li>
34
  <li>
35
+ <a href="<?php _e( 'https://support.ecwid.com/hc/en-us/sections/201758475-Manage-Your-Ecwid-Store', 'ecwid-shopping-cart' ); ?>" target="_blank" class="shortcut-item">
36
  <span class="iconhelp-manage"></span>
37
  <span class="shortcut-item-text"><?php _e( 'Manage Your Ecwid Store', 'ecwid-shopping-cart' ); ?> </span>
38
  </a>
39
  </li>
40
  <li>
41
+ <a href="<?php _e( 'https://support.ecwid.com/hc/en-us/sections/201758445-Customize-Your-Store', 'ecwid-shopping-cart'); ?>" target="_blank" class="shortcut-item">
42
  <span class="iconhelp-custom"></span>
43
  <span class="shortcut-item-text"><?php _e( 'Customize Your Store', 'ecwid-shopping-cart' ); ?> </span>
44
  </a>
45
  </li>
46
  <li>
47
+ <a href="<?php _e( 'https://support.ecwid.com/hc/en-us/sections/201706799-Billing-Questions', 'ecwid-shopping-cart' ); ?>" target="_blank" class="shortcut-item">
48
  <span class="iconhelp-billing"></span>
49
  <span class="shortcut-item-text"><?php _e( 'Billing Questions', 'ecwid-shopping-cart' ); ?> </span>
50
  </a>
51
  </li>
52
  <li>
53
+ <a href="<?php _e( 'https://support.ecwid.com/hc/en-us/sections/201702859-Technical-Reference', 'ecwid-shopping-cart'); ?>" target="_blank" class="shortcut-item">
54
  <span class="iconhelp-api"></span>
55
  <span class="shortcut-item-text"><?php _e( 'Technical Reference', 'ecwid-shopping-cart' ); ?> </span>
56
  </a>
92
 
93
  <div class="block-topics-link">
94
 
95
+ <a href="#" class="horizontal-icolink">
96
  <?php _e( 'See more', 'ecwid-shopping-cart' ); ?>
97
  <i class="icon-arr-right"></i>
98
  </a>
202
  <ul>
203
  <li>
204
  <div class="block-help-item">
205
+ <a href="<?php _e( 'https://support.ecwid.com/hc/en-us/requests/new', 'ecwid-shopping-cart'); ?>" target="_blank"><?php _e( 'Contact us', 'ecwid-shopping-cart' ); ?> </a>
206
  <p><?php _e( 'Still have questions about Ecwid? Let us know!', 'ecwid-shopping-cart' ); ?> </p>
207
  </div>
208
  </li>
209
  <li>
210
  <div class="block-help-item">
211
+ <a href="<?php _e( 'https://www.ecwid.com/forums', 'ecwid-shopping-cart'); ?>" target="_blank"><?php _e( 'Forums', 'ecwid-shopping-cart' ); ?> </a>
212
  <p><?php _e( 'Join the Ecwid community. Discuss support topics and store ideas with other Ecwid users.', 'ecwid-shopping-cart' ); ?> </p>
213
  </div>
214
  </li>
255
  </div>
256
 
257
  <script type="text/javascript">
258
+ jQuery('.hds-form').submit(function() {
259
+ jQuery(this).attr('action', jQuery(this).data('action') + '#q=' + encodeURIComponent(jQuery('#q').val()));
260
+ })
261
+
262
  jQuery('#email_subject, #email_body').focus(function() {
263
  jQuery('.block-contact .send-error').hide();
264
  });