Ecwid Ecommerce Shopping Cart - Version 5.3

Version Description

  • Fixes and improvements for the new clean URLs functionality. The new clean URLs for your online store are now more stable and the product pages are more SEO friendly. The changes include: fix in the processing of non-latin characters in the product URLs; adjustment for the sharing metatags on the product pages (rel shortlink meta tags); fix for the store terms&conditions and signin links to make them work properly with the new clean URLs.
  • Fix for the Recently Viewed Product widget and the Minimaze theme. The widget didnt work well in this theme. Now you can use Recently Viewed Products with the Minimaze theme as well as with any other Wordpress theme.
  • Layout improvements and fixes for the Ribosome, Edge and OptimizePress Wordpress themes. If you use one of those themes, you might notice minor layout issues in your e-commerce catalog or in the appearance of minicart widget. The troubles should be fixed now.
  • Fixed a 404 not found issue, when Ecwid is used with the Sublanguage plugin. If you noticed some of your pages respond with 404 errors when Sublanguage and Ecwid plugins are both activated, this update should fix that.
  • Improvements for the product pages SEO when Yoast plugin is used on the site. If you have the new Ecwid clean URLs enabled in your shop and are using Yoast, this improvement should make meta tags and canonical tags work better on your site with the new URLs.
Download this release

Release Info

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

Code changes from version 5.2 to 5.3

Files changed (56) hide show
  1. css/admin.3.8.css +0 -12
  2. css/admin.css +11 -7
  3. css/themes/optimizepress.css +5 -0
  4. css/themes/ribosome.css +9 -0
  5. css/wl.css +4 -0
  6. ecwid-shopping-cart.php +115 -190
  7. includes/class-ecwid-admin.php +137 -0
  8. includes/class-ecwid-config.php +100 -0
  9. includes/class-ecwid-integration-wpseo.php +16 -3
  10. includes/class-ecwid-message-manager.php +20 -57
  11. includes/class-ecwid-nav-menus.php +1 -1
  12. includes/class-ecwid-oauth.php +21 -20
  13. includes/class-ecwid-product-popup.php +15 -1
  14. includes/class-ecwid-seo-links.php +24 -21
  15. includes/class-ecwid-store-page.php +31 -3
  16. includes/oembed.php +1 -1
  17. includes/shortcodes.php +11 -4
  18. includes/shortcodes/class-ecwid-shortcode-base.php +12 -1
  19. includes/shortcodes/class-ecwid-shortcode-categories.php +1 -1
  20. includes/shortcodes/class-ecwid-shortcode-minicart.php +1 -1
  21. includes/shortcodes/class-ecwid-shortcode-product.php +6 -2
  22. includes/shortcodes/class-ecwid-shortcode-productbrowser.php +21 -21
  23. includes/shortcodes/class-ecwid-shortcode-search.php +1 -1
  24. includes/themes.php +8 -4
  25. includes/themes/class-ecwid-theme-base.php +8 -0
  26. includes/widgets.php +4 -1
  27. includes/widgets/class-ecwid-widget-recently-viewed.php +1 -1
  28. includes/widgets/class-ecwid-widget-search.php +1 -1
  29. js/admin.js +10 -10
  30. js/historywa.js +2 -0
  31. js/landing.js +7 -1
  32. js/nav-menu.js +7 -7
  33. js/product-popup.js +2 -2
  34. js/store-editor-common.js +2 -2
  35. js/store-editor-page.js +1 -1
  36. js/themes/edge.js +7 -0
  37. languages/ecwid-shopping-cart-pt_BR.mo +0 -0
  38. languages/ecwid-shopping-cart-pt_BR.po +1204 -156
  39. languages/ecwid-shopping-cart-ru_RU.mo +0 -0
  40. languages/ecwid-shopping-cart-ru_RU.po +1404 -552
  41. lib/ecwid_api_v3.php +13 -12
  42. lib/ecwid_platform.php +13 -0
  43. lib/ecwid_product_api.php +5 -5
  44. lib/ecwid_requests.php +2 -0
  45. readme.txt +8 -1
  46. templates/admin-footer.php +7 -4
  47. templates/advanced-settings.php +10 -8
  48. templates/appearance-settings.php +3 -3
  49. templates/connect.php +6 -6
  50. templates/dashboard.php +3 -15
  51. templates/help.php +1 -1
  52. templates/landing.php +13 -13
  53. templates/landing_old.php +4 -4
  54. templates/reconnect-sso.php +2 -2
  55. templates/reconnect.php +4 -4
  56. templates/store-popup.php +3 -3
css/admin.3.8.css CHANGED
@@ -1,12 +0,0 @@
1
- #adminmenu #toplevel_page_ecwid div.wp-menu-image:before {
2
- font-family: 'ecwid-plugin-icons' !important;
3
- content: "\e603";
4
- -webkit-font-smoothing: antialiased;
5
- -moz-osx-font-smoothing: grayscale;
6
- }
7
-
8
- #adminmenu #toplevel_page_ecwid div.wp-menu-image {
9
- margin: 0px;
10
- width: 34px;
11
- height: 30px;
12
- }
 
 
 
 
 
 
 
 
 
 
 
 
css/admin.css CHANGED
@@ -10,15 +10,12 @@
10
  background-image: url(../images/icon-head-active.png);
11
  }
12
 
13
- #adminmenu #toplevel_page_ecwid div.wp-menu-image {
14
  background: url(../images/icon-sidebar-default.png) no-repeat 5px 2px;
15
- margin: 2px 3px 2px 2px;
16
- width: 23px;
17
- height: 23px;
18
  }
19
 
20
- #adminmenu #toplevel_page_ecwid:hover div.wp-menu-image,
21
- #adminmenu #toplevel_page_ecwid.wp-has-current-submenu div.wp-menu-image
22
  {
23
  background-image: url(../images/icon-sidebar-active.png);
24
  }
@@ -371,7 +368,7 @@ body[class*="_page_ecwid"] .ecwid-message {
371
  height: 600px;
372
  }
373
 
374
- .toplevel_page_ecwid #wpcontent {
375
  padding-left: 0px;
376
  }
377
 
@@ -569,4 +566,11 @@ body[class*="_page_ecwid"] .ecwid-message {
569
  .ecwid-reset-categories-cache.cache-cleared:hover {
570
  color:#666;
571
  border-bottom-color:#666;
 
 
 
 
 
 
 
572
  }
10
  background-image: url(../images/icon-head-active.png);
11
  }
12
 
13
+ #adminmenu #toplevel_page_ec-store div.wp-menu-image {
14
  background: url(../images/icon-sidebar-default.png) no-repeat 5px 2px;
 
 
 
15
  }
16
 
17
+ #adminmenu #toplevel_page_ec-store:hover div.wp-menu-image,
18
+ #adminmenu #toplevel_page_ec-store.wp-has-current-submenu div.wp-menu-image
19
  {
20
  background-image: url(../images/icon-sidebar-active.png);
21
  }
368
  height: 600px;
369
  }
370
 
371
+ .toplevel_page_ec-store #wpcontent {
372
  padding-left: 0px;
373
  }
374
 
566
  .ecwid-reset-categories-cache.cache-cleared:hover {
567
  color:#666;
568
  border-bottom-color:#666;
569
+ }
570
+
571
+ #adminmenu #toplevel_page_ec-store div.wp-menu-image:before {
572
+ font-family: 'ecwid-plugin-icons' !important;
573
+ content: "\e603";
574
+ -webkit-font-smoothing: antialiased;
575
+ -moz-osx-font-smoothing: grayscale;
576
  }
css/themes/optimizepress.css ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ @media only screen and (max-width: 660px) {
2
+ .main-content-area-container .main-content-area {
3
+ width: 660px !important;
4
+ }
5
+ }
css/themes/ribosome.css ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ html#ecwid_html body#ecwid_body th,
2
+ html#ecwid_html body#ecwid_body td {
3
+ padding-left: 0 !important;
4
+ }
5
+
6
+ html#ecwid_html body#ecwid_body .ecwid-description-table th,
7
+ html#ecwid_html body#ecwid_body .ecwid-description-table td {
8
+ padding-left: 10px !important;
9
+ }
css/wl.css ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ #adminmenu #toplevel_page_ec-store div.wp-menu-image:before {
2
+ content: "\f108";
3
+ font-family: dashicons !important;
4
+ }
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: 5.2
9
  Author URI: http://www.ecwid.com?source=wporg
10
  */
11
 
@@ -37,12 +37,33 @@ if ( ! defined('ECWID_SHORTCODES_DIR' ) ) {
37
  define( 'ECWID_SHORTCODES_DIR', ECWID_PLUGIN_DIR . 'includes/shortcodes' );
38
  }
39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  // Older versions of Google XML Sitemaps plugin generate it in admin, newer in site area, so the hook should be assigned in both of them
41
  add_action('sm_buildmap', 'ecwid_build_google_xml_sitemap');
42
 
43
- // Needs to be in both front-end and back-end to allow admin zone recognize the shortcode
44
- add_shortcode('ecwid', 'ecwid_shortcode');
45
-
46
  add_action( 'plugins_loaded', 'ecwid_init_integrations' );
47
  add_filter('plugins_loaded', 'ecwid_load_textdomain');
48
 
@@ -51,7 +72,6 @@ if ( is_admin() ){
51
  add_action('admin_init', 'ecwid_check_version');
52
  add_action('admin_init', 'ecwid_process_oauth_params');
53
  add_action('admin_notices', 'ecwid_show_admin_messages');
54
- add_action('admin_menu', 'ecwid_build_menu');
55
  add_action('admin_enqueue_scripts', 'ecwid_common_admin_scripts');
56
  add_action('admin_enqueue_scripts', 'ecwid_register_admin_styles');
57
  add_action('admin_enqueue_scripts', 'ecwid_register_settings_styles');
@@ -66,7 +86,7 @@ if ( is_admin() ){
66
  add_action('admin_head', 'ecwid_ie8_fonts_inclusion');
67
  add_action('init', 'ecwid_apply_theme', 0);
68
  add_action('get_footer', 'ecwid_admin_get_footer');
69
- add_action('admin_post_ecwid_connect', 'ecwid_admin_post_connect');
70
  add_filter('tiny_mce_before_init', 'ecwid_tinymce_init');
71
  add_action('admin_post_ecwid_get_debug', 'ecwid_get_debug_file');
72
  add_action('admin_init', 'ecwid_admin_check_api_cache');
@@ -102,6 +122,9 @@ if (get_option('ecwid_last_oauth_fail_time') > 0) {
102
  add_action('plugins_loaded', 'ecwid_test_oauth');
103
  }
104
 
 
 
 
105
  $ecwid_script_rendered = false; // controls single script.js on page
106
 
107
  require_once ECWID_PLUGIN_DIR . 'includes/themes.php';
@@ -123,9 +146,7 @@ require_once ECWID_PLUGIN_DIR . 'includes/class-ecwid-nav-menus.php';
123
  require_once ECWID_PLUGIN_DIR . 'includes/class-ecwid-seo-links.php';
124
  require_once ECWID_PLUGIN_DIR . 'includes/class-ecwid-store-page.php';
125
 
126
-
127
- require_once ECWID_PLUGIN_DIR . 'lib/ecwid_platform.php';
128
- require_once ECWID_PLUGIN_DIR . 'lib/ecwid_api_v3.php';
129
 
130
  function ecwid_init_integrations()
131
  {
@@ -287,7 +308,11 @@ function ecwid_redirect_canonical2($redir, $req) {
287
  function ecwid_enqueue_frontend() {
288
 
289
 
290
- global $wp_query;
 
 
 
 
291
 
292
  if (!wp_script_is('jquery-ui-widget')) {
293
  wp_enqueue_script('jquery-ui-widget', includes_url() . 'js/jquery/ui/widget.min.js', array('jquery'));
@@ -532,7 +557,6 @@ function ecwid_check_version()
532
 
533
  if ($fresh_install) {
534
 
535
- ecwid_plugin_add_oauth();
536
  do_action('ecwid_plugin_installed', $current_version);
537
  add_option('ecwid_plugin_version', $current_version);
538
 
@@ -545,7 +569,6 @@ function ecwid_check_version()
545
 
546
  } elseif ($upgrade) {
547
 
548
- ecwid_plugin_add_oauth();
549
  do_action('ecwid_plugin_upgraded', array( 'old' => $stored_version, 'new' => $current_version ) );
550
  update_option('ecwid_plugin_version', $current_version);
551
 
@@ -579,10 +602,13 @@ function ecwid_check_version()
579
  add_option('ecwid_chameleon_colors_button', '');
580
  add_option('ecwid_chameleon_colors_price', '');
581
  add_option('ecwid_disable_pb_url', false );
 
582
 
583
  add_option(Ecwid_Widget_Floating_Shopping_Cart::OPTION_DISPLAY_POSITION, '');
584
 
585
  update_option('ecwid_use_new_search', 'Y');
 
 
586
  update_option('ecwid_use_new_categories', 'Y');
587
 
588
  add_option( 'force_scriptjs_render', false );
@@ -653,19 +679,9 @@ function ecwid_log_error($message)
653
 
654
  function ecwid_get_last_logged_error()
655
  {
656
-
657
-
658
  return '';
659
  }
660
 
661
- function ecwid_plugin_add_oauth()
662
- {
663
- add_option('ecwid_oauth_client_id', 'RD4o2KQimiGUrFZc');
664
- add_option('ecwid_oauth_client_secret', 'jEPVdcA3KbzKVrG8FZDgNnsY3wKHDTF8');
665
-
666
- update_option('ecwid_oauth_client_id', 'RD4o2KQimiGUrFZc');
667
- update_option('ecwid_oauth_client_secret', 'jEPVdcA3KbzKVrG8FZDgNnsY3wKHDTF8');
668
- }
669
 
670
  function ecwid_override_option($name, $new_value = null)
671
  {
@@ -792,17 +808,19 @@ function ecwid_invalidate_cache()
792
  function add_ecwid_admin_bar_node() {
793
  global $wp_admin_bar;
794
 
795
- if ( !is_super_admin() || !is_admin_bar_showing() )
796
  return;
797
 
798
  $theme = ecwid_get_theme_name();
799
  $store_url = Ecwid_Store_Page::get_store_url();
800
 
801
 
 
802
  if (!is_admin()) {
803
- $subject = sprintf(__('Ecwid plugin doesn\'t work well with my "%s" theme', 'ecwid-shopping-cart'), $theme);
 
804
  $body = <<<TEXT
805
- Hey Ecwid,
806
 
807
  My store looks bad with my theme on Wordpress.
808
 
@@ -814,11 +832,11 @@ Can you have a look?
814
  Thanks.
815
  TEXT;
816
  } else {
817
- $subject = __('I have a problem with my Ecwid store', 'ecwid-shopping-cart');
818
  $body = <<<TEXT
819
- Hey Ecwid,
820
 
821
- I have a problem with my Ecwid store.
822
 
823
  [Please provide details here]
824
 
@@ -832,12 +850,12 @@ TEXT;
832
  }
833
 
834
  $body = __($body, 'ecwid-shopping-cart');
835
- $body = sprintf($body, $theme, $store_url);
836
 
837
  $wp_admin_bar->add_menu( array(
838
  'id' => 'ecwid-main',
839
  'title' => '<span class="ab-icon ecwid-top-menu-item"></span>',
840
- 'href' => admin_url('admin.php?page=ecwid'),
841
  ));
842
 
843
  $wp_admin_bar->add_menu(array(
@@ -852,7 +870,7 @@ TEXT;
852
  "id" => "ecwid-control-panel",
853
  "title" => __("Manage my store", 'ecwid-shopping-cart'),
854
  "parent" => "ecwid-main",
855
- 'href' => admin_url('admin.php?page=ecwid')
856
  )
857
  );
858
 
@@ -878,19 +896,19 @@ TEXT;
878
  ));
879
  }
880
 
881
- function ecwid_content_has_productbrowser($content) {
882
 
883
- $result = has_shortcode($content, 'ecwid_productbrowser');
884
 
885
- if (!$result && has_shortcode($content, 'ecwid')) {
886
- $shortcodes = ecwid_find_shortcodes($content, 'ecwid');
887
- if ($shortcodes) foreach ($shortcodes as $shortcode) {
888
 
889
- $attributes = shortcode_parse_atts($shortcode[3]);
890
 
891
- if (isset($attributes['widgets'])) {
892
- $widgets = preg_split('![^0-9^a-z^A-Z^-^_]!', $attributes['widgets']);
893
- if (is_array($widgets) && in_array('productbrowser', $widgets)) {
894
  $result = true;
895
  }
896
  }
@@ -1154,8 +1172,9 @@ function ecwid_add_credits($powered_by)
1154
 
1155
  $new_powered_by = '<li>';
1156
  $new_powered_by .= sprintf(
1157
- __('<a %s>Online store powered by Ecwid</a>', 'ecwid-shopping-cart'),
1158
- 'target="_blank" href="//www.ecwid.com?source=wporg-metalink"'
 
1159
  );
1160
  $new_powered_by .= '</li>';
1161
 
@@ -1308,34 +1327,6 @@ function _ecwid_get_single_product_widget_parts_v2($attributes) {
1308
  );
1309
  }
1310
 
1311
-
1312
- function ecwid_install_theme() {
1313
- if ( ! class_exists( 'Theme_Upgrader', false ) ) {
1314
- require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
1315
- }
1316
-
1317
- wp_enqueue_script( 'customize-loader' );
1318
-
1319
- $title = __('Install Themes');
1320
- $parent_file = 'themes.php';
1321
- $submenu_file = 'themes.php';
1322
- require_once(ABSPATH . 'wp-admin/admin-header.php');
1323
-
1324
- $upgrader = new Theme_Upgrader( );
1325
- $result = $upgrader->install("https://plugins.ecwid.com/files/ecwid-ecommerce.zip");
1326
-
1327
- if ( !$result || is_wp_error($result) ) {
1328
- echo '<a href="javascript:history.back()">' . __('Back') . '</a>';
1329
- } else {
1330
- _e( 'Preparing theme preview...', 'ecwid-shopping-cart' );
1331
- echo '<script type="text/javascript">location.href="themes.php?theme=ecwid-ecommerce";</script>';
1332
-
1333
- Ecwid_Message_Manager::disable_message( 'install_ecwid_theme' );
1334
- }
1335
-
1336
- include(ABSPATH . 'wp-admin/admin-footer.php');
1337
- }
1338
-
1339
  function ecwid_shortcode($attributes)
1340
  {
1341
  $defaults = ecwid_get_default_pb_size();
@@ -1437,8 +1428,10 @@ function ecwid_store_activate() {
1437
 
1438
  $my_post = array();
1439
  $defaults = ecwid_get_default_pb_size();
 
 
1440
  $content = <<<EOT
1441
- [ecwid widgets="productbrowser minicart categories search" grid="$defaults[grid_rows],$defaults[grid_columns]" list="$defaults[list_rows]" table="$defaults[table_rows]" default_category_id="0" category_view="grid" search_view="grid" minicart_layout="MiniAttachToProductBrowser" ]
1442
  EOT;
1443
  add_option("ecwid_store_page_id", '', '', 'yes');
1444
 
@@ -1529,7 +1522,7 @@ EOT;
1529
  add_action('in_admin_header', 'ecwid_disable_other_notices');
1530
  function ecwid_disable_other_notices() {
1531
 
1532
- $pages = array('toplevel_page_ecwid', 'admin_page_ecwid-help', 'admin_page-ecwid-install-theme');
1533
 
1534
  if (!in_array(get_current_screen()->base, $pages)) return;
1535
 
@@ -1612,8 +1605,10 @@ function ecwid_get_store_shortcode_widgets()
1612
  {
1613
  if (get_option('ecwid_use_new_horizontal_categories')) return false;
1614
 
 
1615
  $page_contents = get_post(Ecwid_Store_Page::get_current_store_page_id())->post_content;
1616
  $shortcodes = ecwid_find_shortcodes($page_contents, 'ecwid');
 
1617
  if (!$shortcodes) {
1618
  return null;
1619
  }
@@ -1635,90 +1630,6 @@ function ecwid_abs_intval($value) {
1635
  return null;
1636
  }
1637
 
1638
- function ecwid_build_menu() {
1639
-
1640
- $is_newbie = get_ecwid_store_id() == ECWID_DEMO_STORE_ID;
1641
-
1642
- add_menu_page(
1643
- __('Ecwid shopping cart settings', 'ecwid-shopping-cart'),
1644
- __('Ecwid Store', 'ecwid-shopping-cart'),
1645
- 'manage_options',
1646
- 'ecwid',
1647
- 'ecwid_general_settings_do_page',
1648
- '',
1649
- '2.562347345'
1650
- );
1651
-
1652
- if ($is_newbie) {
1653
- $title = __('Setup', 'ecwid-shopping-cart');
1654
- } else {
1655
- $title = __('Dashboard', 'ecwid-shopping-cart');
1656
- }
1657
- add_submenu_page(
1658
- 'ecwid',
1659
- $title,
1660
- $title,
1661
- 'manage_options',
1662
- 'ecwid',
1663
- 'ecwid_general_settings_do_page'
1664
- );
1665
-
1666
- global $ecwid_oauth;
1667
- if (!$is_newbie && $ecwid_oauth->has_scope( 'allow_sso' )) {
1668
- add_submenu_page(
1669
- 'ecwid',
1670
- __('Sales', 'ecwid-shopping-cart'),
1671
- __('Sales', 'ecwid-shopping-cart'),
1672
- 'manage_options',
1673
- 'ecwid-admin-orders',
1674
- 'ecwid_admin_orders_do_page'
1675
- );
1676
-
1677
-
1678
- add_submenu_page(
1679
- 'ecwid',
1680
- __('Products', 'ecwid-shopping-cart'),
1681
- __('Products', 'ecwid-shopping-cart'),
1682
- 'manage_options',
1683
- 'ecwid-admin-products',
1684
- 'ecwid_admin_products_do_page'
1685
- );
1686
- }
1687
- if (get_option('ecwid_hide_appearance_menu') != 'Y') {
1688
- add_submenu_page(
1689
- 'ecwid',
1690
- __('Appearance settings', 'ecwid-shopping-cart'),
1691
- __('Appearance', 'ecwid-shopping-cart'),
1692
- 'manage_options',
1693
- 'ecwid-appearance',
1694
- 'ecwid_appearance_settings_do_page'
1695
- );
1696
- }
1697
-
1698
- if (!$is_newbie || (isset($_GET['page']) && $_GET['page'] == 'ecwid-advanced')) {
1699
- add_submenu_page(
1700
- 'ecwid',
1701
- __('Advanced settings', 'ecwid-shopping-cart'),
1702
- __('Advanced', 'ecwid-shopping-cart'),
1703
- 'manage_options',
1704
- 'ecwid-advanced',
1705
- 'ecwid_advanced_settings_do_page'
1706
- );
1707
- }
1708
-
1709
- add_submenu_page('', 'Ecwid debug', '', 'manage_options', 'ecwid_debug', 'ecwid_debug_do_page');
1710
- add_submenu_page('', 'Ecwid get mobile app', '', 'manage_options', 'ecwid-admin-mobile', 'ecwid_admin_mobile_do_page');
1711
- add_submenu_page(
1712
- 'ecwid',
1713
- __('Help', 'ecwid-shopping-cart'),
1714
- __('Help', 'ecwid-shopping-cart'),
1715
- 'manage_options', 'ecwid-help', 'ecwid_help_do_page'
1716
- );
1717
- add_submenu_page('', 'Install ecwid theme', '', 'manage_options', 'ecwid-install-theme', 'ecwid_install_theme');
1718
-
1719
- add_submenu_page('', 'Ecwid sync', '', 'manage_options', 'ecwid-sync', 'ecwid_sync_do_page');
1720
- }
1721
-
1722
  function ecwid_sync_do_page() {
1723
 
1724
  require_once ECWID_PLUGIN_DIR . 'includes/class-ecwid-products.php';
@@ -1742,7 +1653,7 @@ function ecwid_get_categories($nocache = false) {
1742
  );
1743
 
1744
  if (!$request) {
1745
- return false;
1746
  }
1747
 
1748
  $categories = $request->do_request();
@@ -1752,6 +1663,10 @@ function ecwid_get_categories($nocache = false) {
1752
  }
1753
  }
1754
 
 
 
 
 
1755
  return $categories;
1756
  }
1757
 
@@ -1770,18 +1685,14 @@ function ecwid_register_admin_styles($hook_suffix) {
1770
  wp_enqueue_style('ecwid-admin-css', ECWID_PLUGIN_URL . 'css/admin.css', array(), get_option('ecwid_plugin_version'));
1771
  wp_enqueue_style('ecwid-fonts-css', ECWID_PLUGIN_URL . 'css/fonts.css', array(), get_option('ecwid_plugin_version'));
1772
 
1773
-
1774
- if (version_compare(get_bloginfo('version'), '3.8-beta') > 0) {
1775
- wp_enqueue_style('ecwid-admin38-css', ECWID_PLUGIN_URL . 'css/admin.3.8.css', array('ecwid-admin-css'), get_option('ecwid_plugin_version'), 'all');
1776
- }
1777
-
1778
- if (isset($_GET['page']) && $_GET['page'] == 'ecwid') {
1779
 
1780
  if (get_option('ecwid_store_id') == ECWID_DEMO_STORE_ID) {
1781
  // Open dashboard for the first time, ecwid store id is set to demo => need landing styles/scripts
1782
  wp_enqueue_script('ecwid-landing-js', ECWID_PLUGIN_URL . 'js/landing.js', array(), get_option('ecwid_plugin_version'));
1783
  wp_localize_script('ecwid-landing-js', 'ecwidParams', array(
1784
- 'registerLink' => ecwid_get_register_link()
 
1785
  ));
1786
  if (ecwid_use_old_landing()) {
1787
  wp_enqueue_style('ecwid-landing-css', ECWID_PLUGIN_URL . 'css/landing_old.css', array(), get_option('ecwid_plugin_version'), 'all');
@@ -1798,16 +1709,17 @@ function ecwid_register_admin_styles($hook_suffix) {
1798
 
1799
  function ecwid_register_settings_styles($hook_suffix) {
1800
 
1801
- if ( ($hook_suffix != 'post.php' && $hook_suffix != 'post-new.php') && strpos($hook_suffix, 'ecwid') === false) return;
1802
 
1803
  wp_enqueue_style('ecwid-settings-css', ECWID_PLUGIN_URL . 'css/settings.css', array(), get_option('ecwid_plugin_version'), 'all');
1804
 
1805
  if (version_compare(get_bloginfo('version'), '3.8-beta') > 0) {
1806
  wp_enqueue_style('ecwid-settings38-css', ECWID_PLUGIN_URL . 'css/settings.3.8.css', array('ecwid-settings-css'), '', 'all');
1807
- }}
 
1808
 
1809
  function ecwid_plugin_actions($links) {
1810
- $settings_link = "<a href='admin.php?page=ecwid'>"
1811
  . (get_ecwid_store_id() == ECWID_DEMO_STORE_ID ? __('Setup', 'ecwid-shopping-cart') : __('Settings') )
1812
  . "</a>";
1813
  array_unshift( $links, $settings_link );
@@ -1846,7 +1758,6 @@ function ecwid_settings_api_init() {
1846
  register_setting( 'ecwid_options_page', 'ecwid_sso_secret_key' );
1847
  register_setting( 'ecwid_options_page', 'ecwid_use_chameleon' );
1848
  register_setting( 'ecwid_options_page', 'ecwid_is_sso_enabled' );
1849
- register_setting( 'ecwid_options_page', Ecwid_Seo_Links::OPTION_ENABLED );
1850
  break;
1851
  }
1852
 
@@ -1857,11 +1768,13 @@ function ecwid_settings_api_init() {
1857
  }
1858
 
1859
 
1860
- if ($_POST['settings_section'] == 'advanced' && isset($_POST[Ecwid_Seo_Links::OPTION_ENABLED]) && !Ecwid_Seo_Links::is_enabled()) {
1861
- Ecwid_Seo_Links::enable();
1862
- } else if ($_POST['settings_section'] == 'advanced' && !isset($_POST[Ecwid_Seo_Links::OPTION_ENABLED]) && Ecwid_Seo_Links::is_enabled()) {
1863
- Ecwid_Seo_Links::disable();
1864
- }
 
 
1865
 
1866
  if ($_POST['settings_section'] == 'advanced' && !@$_POST['ecwid_is_sso_enabled']) {
1867
  update_option('ecwid_sso_secret_key', '');
@@ -1882,16 +1795,18 @@ function ecwid_common_admin_scripts() {
1882
  wp_enqueue_script('ecwid-admin-js', ECWID_PLUGIN_URL . 'js/admin.js', array(), get_option('ecwid_plugin_version'));
1883
  wp_enqueue_script('ecwid-modernizr-js', ECWID_PLUGIN_URL . 'js/modernizr.js', array(), get_option('ecwid_plugin_version'));
1884
 
1885
- wp_localize_script('ecwid-admin-js', 'ecwid_l10n', array(
1886
  'dashboard' => __('Dashboard', 'ecwid-shopping-cart'),
1887
- 'dashboard_url' => 'admin.php?page=ecwid',
1888
  'products' => __('Products', 'ecwid-shopping-cart'),
1889
- 'products_url' => 'admin.php?page=ecwid-admin-products',
1890
  'orders' => __('Orders', 'ecwid-shopping-cart'),
1891
- 'orders_url' => 'admin.php?page=ecwid-admin-orders',
1892
  'reset_cats_cache' => __('Refresh categories list', 'ecwid-shopping-cart'),
1893
  'cache_updated' => __('Done', 'ecwid-shopping-cart'),
1894
  'reset_cache_message' => __('The store top-level categories are automatically added to this drop-down menu', 'ecwid-shopping-cart'),
 
 
1895
  ));
1896
 
1897
  wp_enqueue_script('ecwid-sync', ECWID_PLUGIN_URL . 'js/sync.js', array(), get_option('ecwid_plugin_version'));
@@ -1899,7 +1814,16 @@ function ecwid_common_admin_scripts() {
1899
 
1900
  function ecwid_get_register_link()
1901
  {
1902
- $link = 'https://my.ecwid.com/cp/?source=wporg&partner=wporg%s#register';
 
 
 
 
 
 
 
 
 
1903
 
1904
  $current_user = wp_get_current_user();
1905
 
@@ -1989,7 +1913,8 @@ function ecwid_general_settings_do_page() {
1989
 
1990
  if ($connection_error || isset($_GET['reconnect'])) {
1991
  if (isset($_GET['reason'])) switch ($_GET['reason']) {
1992
- case 'spw': $reconnect_message = __( 'To be able to choose a product to insert to your posts and pages, you will need to re-connect your site to your Ecwid store. This will only require you to accept permissions request – so that the plugin will be able to list your products in the "Add product" dialog.', 'ecwid-shopping-cart' ); break;
 
1993
  }
1994
 
1995
  $scopes = '';
@@ -2056,7 +1981,7 @@ function ecwid_get_iframe_src($time, $page) {
2056
  get_ecwid_store_id(),
2057
  Ecwid_Api_V3::get_token(),
2058
  $time,
2059
- hash( 'sha256', get_ecwid_store_id() . Ecwid_Api_V3::get_token() . $time . Ecwid_Api_V3::CLIENT_SECRET ),
2060
  $page,
2061
  substr( $lang, 0, 2 )
2062
  );
@@ -2138,7 +2063,7 @@ function ecwid_process_oauth_params() {
2138
  return;
2139
  }
2140
 
2141
- $is_dashboard = $_GET['page'] == 'ecwid';
2142
 
2143
  if (!$is_dashboard) {
2144
  return;
@@ -2176,7 +2101,7 @@ function ecwid_admin_post_connect()
2176
  update_option('ecwid_is_api_enabled', 'off');
2177
  update_option('ecwid_api_check_time', 0);
2178
  update_option('ecwid_last_oauth_fail_time', 1);
2179
- wp_redirect('admin.php?page=ecwid');
2180
  exit;
2181
  }
2182
  global $ecwid_oauth;
@@ -2184,15 +2109,15 @@ function ecwid_admin_post_connect()
2184
  if (ecwid_test_oauth(true)) {
2185
 
2186
  if (@isset($_GET['api_v3_sso'])) {
2187
- $ecwid_oauth->update_state(array('mode' => 'reconnect', 'return_url' => 'admin.php?page=ecwid-advanced'));
2188
  wp_redirect($ecwid_oauth->get_sso_reconnect_dialog_url());
2189
  } else {
2190
  wp_redirect( $ecwid_oauth->get_auth_dialog_url() );
2191
  }
2192
  } else if (!isset($_GET['reconnect'])) {
2193
- wp_redirect('admin.php?page=ecwid&oauth=no&connection_error');
2194
  } else {
2195
- wp_redirect('admin.php?page=ecwid&reconnect&connection_error');
2196
  }
2197
  exit;
2198
  }
@@ -2278,7 +2203,7 @@ function ecwid_advanced_settings_do_page() {
2278
  }
2279
 
2280
  function get_reconnect_link() {
2281
- return admin_url('admin-post.php?action=ecwid_connect&reconnect&api_v3_sso');
2282
  }
2283
 
2284
  function ecwid_get_admin_iframe_upgrade_page() {
@@ -2352,7 +2277,7 @@ function ecwid_sync_products() {
2352
  echo 'OK';
2353
  wp_die();
2354
  } else {
2355
- wp_redirect('admin.php?page=ecwid-advanced');
2356
  }
2357
  }
2358
 
@@ -2440,7 +2365,7 @@ function ecwid_sync_reset()
2440
  EcwidPlatform::set(Ecwid_Products_Sync_Status::OPTION_LAST_PRODUCT_UPDATE_TIME, 0);
2441
  EcwidPlatform::set(Ecwid_Products_Sync_Status::OPTION_LAST_PRODUCT_DELETE_TIME, 0);
2442
 
2443
- wp_redirect('admin.php?page=ecwid-advanced');
2444
  }
2445
 
2446
  add_action('admin_post_ecwid_sync_no_sse', 'ecwid_sync_products_no_sse');
@@ -2651,8 +2576,8 @@ JS;
2651
 
2652
  global $ecwid_oauth;
2653
  if ($ecwid_oauth->has_scope('create_customers')) {
2654
- $key = Ecwid_Api_V3::CLIENT_SECRET;
2655
- $user_data['appClientId'] = Ecwid_Api_V3::CLIENT_ID;
2656
  } else {
2657
  $key = get_option('ecwid_sso_secret_key');
2658
  $user_data['appId'] = "wp_" . get_ecwid_store_id();
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: 5.3
9
  Author URI: http://www.ecwid.com?source=wporg
10
  */
11
 
37
  define( 'ECWID_SHORTCODES_DIR', ECWID_PLUGIN_DIR . 'includes/shortcodes' );
38
  }
39
 
40
+ require_once ECWID_PLUGIN_DIR . 'includes/themes.php';
41
+ require_once ECWID_PLUGIN_DIR . 'includes/oembed.php';
42
+ require_once ECWID_PLUGIN_DIR . 'includes/widgets.php';
43
+ require_once ECWID_PLUGIN_DIR . 'includes/shortcodes.php';
44
+
45
+ require_once ECWID_PLUGIN_DIR . 'includes/class-ecwid-message-manager.php';
46
+ require_once ECWID_PLUGIN_DIR . 'includes/class-ecwid-store-editor.php';
47
+ require_once ECWID_PLUGIN_DIR . 'includes/class-ecwid-product-popup.php';
48
+ require_once ECWID_PLUGIN_DIR . 'includes/class-ecwid-oauth.php';
49
+ require_once ECWID_PLUGIN_DIR . 'includes/class-ecwid-products.php';
50
+ require_once ECWID_PLUGIN_DIR . 'includes/class-ecwid-config.php';
51
+
52
+ require_once ECWID_PLUGIN_DIR . 'includes/class-ecwid-admin.php';
53
+
54
+ if ( is_admin() ) {
55
+ require_once ECWID_PLUGIN_DIR . 'includes/class-ecwid-help-page.php';
56
+ }
57
+
58
+ require_once ECWID_PLUGIN_DIR . 'includes/class-ecwid-nav-menus.php';
59
+
60
+ require_once ECWID_PLUGIN_DIR . 'lib/ecwid_platform.php';
61
+ require_once ECWID_PLUGIN_DIR . 'lib/ecwid_api_v3.php';
62
+
63
+
64
  // Older versions of Google XML Sitemaps plugin generate it in admin, newer in site area, so the hook should be assigned in both of them
65
  add_action('sm_buildmap', 'ecwid_build_google_xml_sitemap');
66
 
 
 
 
67
  add_action( 'plugins_loaded', 'ecwid_init_integrations' );
68
  add_filter('plugins_loaded', 'ecwid_load_textdomain');
69
 
72
  add_action('admin_init', 'ecwid_check_version');
73
  add_action('admin_init', 'ecwid_process_oauth_params');
74
  add_action('admin_notices', 'ecwid_show_admin_messages');
 
75
  add_action('admin_enqueue_scripts', 'ecwid_common_admin_scripts');
76
  add_action('admin_enqueue_scripts', 'ecwid_register_admin_styles');
77
  add_action('admin_enqueue_scripts', 'ecwid_register_settings_styles');
86
  add_action('admin_head', 'ecwid_ie8_fonts_inclusion');
87
  add_action('init', 'ecwid_apply_theme', 0);
88
  add_action('get_footer', 'ecwid_admin_get_footer');
89
+ add_action('admin_post_ec_connect', 'ecwid_admin_post_connect');
90
  add_filter('tiny_mce_before_init', 'ecwid_tinymce_init');
91
  add_action('admin_post_ecwid_get_debug', 'ecwid_get_debug_file');
92
  add_action('admin_init', 'ecwid_admin_check_api_cache');
122
  add_action('plugins_loaded', 'ecwid_test_oauth');
123
  }
124
 
125
+ // Needs to be in both front-end and back-end to allow admin zone recognize the shortcode
126
+ add_shortcode( Ecwid_Shortcode_Base::get_store_shortcode_name(), 'ecwid_shortcode' );
127
+
128
  $ecwid_script_rendered = false; // controls single script.js on page
129
 
130
  require_once ECWID_PLUGIN_DIR . 'includes/themes.php';
146
  require_once ECWID_PLUGIN_DIR . 'includes/class-ecwid-seo-links.php';
147
  require_once ECWID_PLUGIN_DIR . 'includes/class-ecwid-store-page.php';
148
 
149
+ $ecwid_script_rendered = false; // controls single script.js on page
 
 
150
 
151
  function ecwid_init_integrations()
152
  {
308
  function ecwid_enqueue_frontend() {
309
 
310
 
311
+ global $ecwid_current_theme;
312
+
313
+ if ( $ecwid_current_theme && $ecwid_current_theme->historyjs_html4mode || get_option('ecwid_historyjs_html4mode') ) {
314
+ wp_enqueue_script('ecwid-historyjs-wa', ECWID_PLUGIN_URL . 'js/historywa.js');
315
+ }
316
 
317
  if (!wp_script_is('jquery-ui-widget')) {
318
  wp_enqueue_script('jquery-ui-widget', includes_url() . 'js/jquery/ui/widget.min.js', array('jquery'));
557
 
558
  if ($fresh_install) {
559
 
 
560
  do_action('ecwid_plugin_installed', $current_version);
561
  add_option('ecwid_plugin_version', $current_version);
562
 
569
 
570
  } elseif ($upgrade) {
571
 
 
572
  do_action('ecwid_plugin_upgraded', array( 'old' => $stored_version, 'new' => $current_version ) );
573
  update_option('ecwid_plugin_version', $current_version);
574
 
602
  add_option('ecwid_chameleon_colors_button', '');
603
  add_option('ecwid_chameleon_colors_price', '');
604
  add_option('ecwid_disable_pb_url', false );
605
+ add_option('ecwid_historyjs_html4mode', false);
606
 
607
  add_option(Ecwid_Widget_Floating_Shopping_Cart::OPTION_DISPLAY_POSITION, '');
608
 
609
  update_option('ecwid_use_new_search', 'Y');
610
+
611
+ Ecwid_Config::load_from_ini();
612
  update_option('ecwid_use_new_categories', 'Y');
613
 
614
  add_option( 'force_scriptjs_render', false );
679
 
680
  function ecwid_get_last_logged_error()
681
  {
 
 
682
  return '';
683
  }
684
 
 
 
 
 
 
 
 
 
685
 
686
  function ecwid_override_option($name, $new_value = null)
687
  {
808
  function add_ecwid_admin_bar_node() {
809
  global $wp_admin_bar;
810
 
811
+ if ( !is_super_admin() || !is_admin_bar_showing() || Ecwid_Config::is_wl() )
812
  return;
813
 
814
  $theme = ecwid_get_theme_name();
815
  $store_url = Ecwid_Store_Page::get_store_url();
816
 
817
 
818
+ $brand = Ecwid_Config::get_brand();
819
  if (!is_admin()) {
820
+ $subject = sprintf( __('%s plugin doesn\'t work well with my "%s" theme', 'ecwid-shopping-cart'), Ecwid_Config::get_brand(), $theme );
821
+
822
  $body = <<<TEXT
823
+ Hey %s,
824
 
825
  My store looks bad with my theme on Wordpress.
826
 
832
  Thanks.
833
  TEXT;
834
  } else {
835
+ $subject = __('I have a problem with my %s store', 'ecwid-shopping-cart');
836
  $body = <<<TEXT
837
+ Hey %s,
838
 
839
+ I have a problem with my store.
840
 
841
  [Please provide details here]
842
 
850
  }
851
 
852
  $body = __($body, 'ecwid-shopping-cart');
853
+ $body = sprintf($body, Ecwid_Config::get_brand(), $theme, $store_url);
854
 
855
  $wp_admin_bar->add_menu( array(
856
  'id' => 'ecwid-main',
857
  'title' => '<span class="ab-icon ecwid-top-menu-item"></span>',
858
+ 'href' => Ecwid_Admin::get_dashboard_url(),
859
  ));
860
 
861
  $wp_admin_bar->add_menu(array(
870
  "id" => "ecwid-control-panel",
871
  "title" => __("Manage my store", 'ecwid-shopping-cart'),
872
  "parent" => "ecwid-main",
873
+ 'href' => Ecwid_Admin::get_dashboard_url()
874
  )
875
  );
876
 
896
  ));
897
  }
898
 
899
+ function ecwid_content_has_productbrowser( $content ) {
900
 
901
+ $result = has_shortcode( $content, 'ecwid_productbrowser' );
902
 
903
+ if ( !$result && has_shortcode($content, Ecwid_Shortcode_Base::get_store_shortcode_name() ) ) {
904
+ $shortcodes = ecwid_find_shortcodes( $content, Ecwid_Shortcode_Base::get_store_shortcode_name() );
905
+ if ( $shortcodes ) foreach ( $shortcodes as $shortcode ) {
906
 
907
+ $attributes = shortcode_parse_atts( $shortcode[3] );
908
 
909
+ if ( isset( $attributes['widgets'] ) ) {
910
+ $widgets = preg_split( '![^0-9^a-z^A-Z^-^_]!', $attributes['widgets'] );
911
+ if ( is_array( $widgets ) && in_array('productbrowser', $widgets ) ) {
912
  $result = true;
913
  }
914
  }
1172
 
1173
  $new_powered_by = '<li>';
1174
  $new_powered_by .= sprintf(
1175
+ __('<a %s>Online store powered by %s</a>', 'ecwid-shopping-cart'),
1176
+ 'target="_blank" href="//www.ecwid.com?source=wporg-metalink"',
1177
+ Ecwid_Config::get_brand()
1178
  );
1179
  $new_powered_by .= '</li>';
1180
 
1327
  );
1328
  }
1329
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1330
  function ecwid_shortcode($attributes)
1331
  {
1332
  $defaults = ecwid_get_default_pb_size();
1428
 
1429
  $my_post = array();
1430
  $defaults = ecwid_get_default_pb_size();
1431
+
1432
+ $shortcode = Ecwid_Shortcode_Base::get_store_shortcode_name();
1433
  $content = <<<EOT
1434
+ [$shortcode widgets="productbrowser minicart categories search" grid="$defaults[grid_rows],$defaults[grid_columns]" list="$defaults[list_rows]" table="$defaults[table_rows]" default_category_id="0" category_view="grid" search_view="grid" minicart_layout="MiniAttachToProductBrowser" ]
1435
  EOT;
1436
  add_option("ecwid_store_page_id", '', '', 'yes');
1437
 
1522
  add_action('in_admin_header', 'ecwid_disable_other_notices');
1523
  function ecwid_disable_other_notices() {
1524
 
1525
+ $pages = array('toplevel_page_ec-store', 'toplevel_page_ec_store', 'admin_page_ecwid-help');
1526
 
1527
  if (!in_array(get_current_screen()->base, $pages)) return;
1528
 
1605
  {
1606
  if (get_option('ecwid_use_new_horizontal_categories')) return false;
1607
 
1608
+
1609
  $page_contents = get_post(Ecwid_Store_Page::get_current_store_page_id())->post_content;
1610
  $shortcodes = ecwid_find_shortcodes($page_contents, 'ecwid');
1611
+
1612
  if (!$shortcodes) {
1613
  return null;
1614
  }
1630
  return null;
1631
  }
1632
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1633
  function ecwid_sync_do_page() {
1634
 
1635
  require_once ECWID_PLUGIN_DIR . 'includes/class-ecwid-products.php';
1653
  );
1654
 
1655
  if (!$request) {
1656
+ return array();
1657
  }
1658
 
1659
  $categories = $request->do_request();
1663
  }
1664
  }
1665
 
1666
+ if ( !is_array($categories) || !$categories ) {
1667
+ return array();
1668
+ }
1669
+
1670
  return $categories;
1671
  }
1672
 
1685
  wp_enqueue_style('ecwid-admin-css', ECWID_PLUGIN_URL . 'css/admin.css', array(), get_option('ecwid_plugin_version'));
1686
  wp_enqueue_style('ecwid-fonts-css', ECWID_PLUGIN_URL . 'css/fonts.css', array(), get_option('ecwid_plugin_version'));
1687
 
1688
+ if (isset($_GET['page']) && $_GET['page'] == 'ec-store') {
 
 
 
 
 
1689
 
1690
  if (get_option('ecwid_store_id') == ECWID_DEMO_STORE_ID) {
1691
  // Open dashboard for the first time, ecwid store id is set to demo => need landing styles/scripts
1692
  wp_enqueue_script('ecwid-landing-js', ECWID_PLUGIN_URL . 'js/landing.js', array(), get_option('ecwid_plugin_version'));
1693
  wp_localize_script('ecwid-landing-js', 'ecwidParams', array(
1694
+ 'registerLink' => ecwid_get_register_link(),
1695
+ 'isWL' => Ecwid_Config::is_wl()
1696
  ));
1697
  if (ecwid_use_old_landing()) {
1698
  wp_enqueue_style('ecwid-landing-css', ECWID_PLUGIN_URL . 'css/landing_old.css', array(), get_option('ecwid_plugin_version'), 'all');
1709
 
1710
  function ecwid_register_settings_styles($hook_suffix) {
1711
 
1712
+ if ( ($hook_suffix != 'post.php' && $hook_suffix != 'post-new.php') && strpos( $hook_suffix, Ecwid_Admin::ADMIN_SLUG ) === false) return;
1713
 
1714
  wp_enqueue_style('ecwid-settings-css', ECWID_PLUGIN_URL . 'css/settings.css', array(), get_option('ecwid_plugin_version'), 'all');
1715
 
1716
  if (version_compare(get_bloginfo('version'), '3.8-beta') > 0) {
1717
  wp_enqueue_style('ecwid-settings38-css', ECWID_PLUGIN_URL . 'css/settings.3.8.css', array('ecwid-settings-css'), '', 'all');
1718
+ }
1719
+ }
1720
 
1721
  function ecwid_plugin_actions($links) {
1722
+ $settings_link = "<a href='" . Ecwid_Admin::get_dashboard_url() . "'>"
1723
  . (get_ecwid_store_id() == ECWID_DEMO_STORE_ID ? __('Setup', 'ecwid-shopping-cart') : __('Settings') )
1724
  . "</a>";
1725
  array_unshift( $links, $settings_link );
1758
  register_setting( 'ecwid_options_page', 'ecwid_sso_secret_key' );
1759
  register_setting( 'ecwid_options_page', 'ecwid_use_chameleon' );
1760
  register_setting( 'ecwid_options_page', 'ecwid_is_sso_enabled' );
 
1761
  break;
1762
  }
1763
 
1768
  }
1769
 
1770
 
1771
+ if (Ecwid_Seo_Links::should_display_option()) {
1772
+ if ($_POST['settings_section'] == 'advanced' && isset($_POST[Ecwid_Seo_Links::OPTION_ENABLED]) && !Ecwid_Seo_Links::is_enabled()) {
1773
+ Ecwid_Seo_Links::enable();
1774
+ } else if ($_POST['settings_section'] == 'advanced' && !isset($_POST[Ecwid_Seo_Links::OPTION_ENABLED]) && Ecwid_Seo_Links::is_enabled()) {
1775
+ Ecwid_Seo_Links::disable();
1776
+ }
1777
+ }
1778
 
1779
  if ($_POST['settings_section'] == 'advanced' && !@$_POST['ecwid_is_sso_enabled']) {
1780
  update_option('ecwid_sso_secret_key', '');
1795
  wp_enqueue_script('ecwid-admin-js', ECWID_PLUGIN_URL . 'js/admin.js', array(), get_option('ecwid_plugin_version'));
1796
  wp_enqueue_script('ecwid-modernizr-js', ECWID_PLUGIN_URL . 'js/modernizr.js', array(), get_option('ecwid_plugin_version'));
1797
 
1798
+ wp_localize_script('ecwid-admin-js', 'ecwid_params', array(
1799
  'dashboard' => __('Dashboard', 'ecwid-shopping-cart'),
1800
+ 'dashboard_url' => Ecwid_Admin::get_dashboard_url(),
1801
  'products' => __('Products', 'ecwid-shopping-cart'),
1802
+ 'products_url' => Ecwid_Admin::get_dashboard_url() . '-admin-products',
1803
  'orders' => __('Orders', 'ecwid-shopping-cart'),
1804
+ 'orders_url' => Ecwid_Admin::get_dashboard_url() . '-admin-orders',
1805
  'reset_cats_cache' => __('Refresh categories list', 'ecwid-shopping-cart'),
1806
  'cache_updated' => __('Done', 'ecwid-shopping-cart'),
1807
  'reset_cache_message' => __('The store top-level categories are automatically added to this drop-down menu', 'ecwid-shopping-cart'),
1808
+ 'store_shortcode' => Ecwid_Shortcode_Base::get_store_shortcode_name(),
1809
+ 'product_shortcode' => Ecwid_Shortcode_Product::get_shortcode_name()
1810
  ));
1811
 
1812
  wp_enqueue_script('ecwid-sync', ECWID_PLUGIN_URL . 'js/sync.js', array(), get_option('ecwid_plugin_version'));
1814
 
1815
  function ecwid_get_register_link()
1816
  {
1817
+ $link = Ecwid_Config::get_registration_url();
1818
+
1819
+ if ( strpos($link, '?') ) {
1820
+ $link .= '&';
1821
+ } else {
1822
+ $link .= '?';
1823
+ }
1824
+ $link .= 'partner='
1825
+ . Ecwid_Config::get_channel_id()
1826
+ . '%s#register';
1827
 
1828
  $current_user = wp_get_current_user();
1829
 
1913
 
1914
  if ($connection_error || isset($_GET['reconnect'])) {
1915
  if (isset($_GET['reason'])) switch ($_GET['reason']) {
1916
+ case 'spw': $reconnect_message = sprintf( __( 'To be able to choose a product to insert to your posts and pages, you will need to re-connect your site to your %s store. This will only require you to accept permissions request – so that the plugin will be able to list your products in the "Add product" dialog.', 'ecwid-shopping-cart' ), Ecwid_Config::get_brand() );
1917
+ break;
1918
  }
1919
 
1920
  $scopes = '';
1981
  get_ecwid_store_id(),
1982
  Ecwid_Api_V3::get_token(),
1983
  $time,
1984
+ hash( 'sha256', get_ecwid_store_id() . Ecwid_Api_V3::get_token() . $time . Ecwid_Config::get_oauth_appsecret() ),
1985
  $page,
1986
  substr( $lang, 0, 2 )
1987
  );
2063
  return;
2064
  }
2065
 
2066
+ $is_dashboard = $_GET['page'] == 'ec-store';
2067
 
2068
  if (!$is_dashboard) {
2069
  return;
2101
  update_option('ecwid_is_api_enabled', 'off');
2102
  update_option('ecwid_api_check_time', 0);
2103
  update_option('ecwid_last_oauth_fail_time', 1);
2104
+ wp_redirect( Ecwid_Admin::get_dashboard_url() );
2105
  exit;
2106
  }
2107
  global $ecwid_oauth;
2109
  if (ecwid_test_oauth(true)) {
2110
 
2111
  if (@isset($_GET['api_v3_sso'])) {
2112
+ $ecwid_oauth->update_state(array('mode' => 'reconnect', 'return_url' => Ecwid_Admin::get_dashboard_url() . '-advanced' ));
2113
  wp_redirect($ecwid_oauth->get_sso_reconnect_dialog_url());
2114
  } else {
2115
  wp_redirect( $ecwid_oauth->get_auth_dialog_url() );
2116
  }
2117
  } else if (!isset($_GET['reconnect'])) {
2118
+ wp_redirect(Ecwid_Admin::get_dashboard_url() . '&oauth=no&connection_error');
2119
  } else {
2120
+ wp_redirect(Ecwid_Admin::get_dashboard_url() . '&reconnect&connection_error');
2121
  }
2122
  exit;
2123
  }
2203
  }
2204
 
2205
  function get_reconnect_link() {
2206
+ return admin_url('admin-post.php?action=ec_connect&reconnect&api_v3_sso');
2207
  }
2208
 
2209
  function ecwid_get_admin_iframe_upgrade_page() {
2277
  echo 'OK';
2278
  wp_die();
2279
  } else {
2280
+ wp_redirect(Ecwid_Admin::get_dashboard_url() . '-advanced');
2281
  }
2282
  }
2283
 
2365
  EcwidPlatform::set(Ecwid_Products_Sync_Status::OPTION_LAST_PRODUCT_UPDATE_TIME, 0);
2366
  EcwidPlatform::set(Ecwid_Products_Sync_Status::OPTION_LAST_PRODUCT_DELETE_TIME, 0);
2367
 
2368
+ wp_redirect( Ecwid_Admin::get_dashboard_url() . '-advanced' );
2369
  }
2370
 
2371
  add_action('admin_post_ecwid_sync_no_sse', 'ecwid_sync_products_no_sse');
2576
 
2577
  global $ecwid_oauth;
2578
  if ($ecwid_oauth->has_scope('create_customers')) {
2579
+ $key = Ecwid_Config::get_oauth_appsecret();
2580
+ $user_data['appClientId'] = Ecwid_Config::get_oauth_appid();
2581
  } else {
2582
  $key = get_option('ecwid_sso_secret_key');
2583
  $user_data['appId'] = "wp_" . get_ecwid_store_id();
includes/class-ecwid-admin.php ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Ecwid_Admin {
4
+
5
+ const ADMIN_SLUG = 'ec-store';
6
+
7
+ public function __construct()
8
+ {
9
+ if ( is_admin() ) {
10
+ add_action( 'current_screen', array( $this, 'do_ec_redirect' ) );
11
+ add_action('admin_menu', array( $this, 'build_menu' ) );
12
+ }
13
+ }
14
+
15
+ public function build_menu()
16
+ {
17
+
18
+ $is_newbie = get_ecwid_store_id() == ECWID_DEMO_STORE_ID;
19
+
20
+ add_menu_page(
21
+ sprintf(__('%s shopping cart settings', 'ecwid-shopping-cart'), Ecwid_Config::get_brand()),
22
+ sprintf(__('%s Store', 'ecwid-shopping-cart'), Ecwid_Config::get_brand()),
23
+ 'manage_options',
24
+ self::ADMIN_SLUG,
25
+ 'ecwid_general_settings_do_page',
26
+ '',
27
+ '2.562347345'
28
+ );
29
+
30
+ if ($is_newbie) {
31
+ $title = __('Setup', 'ecwid-shopping-cart');
32
+ } else {
33
+ $title = __('Dashboard', 'ecwid-shopping-cart');
34
+ }
35
+ add_submenu_page(
36
+ self::ADMIN_SLUG,
37
+ $title,
38
+ $title,
39
+ 'manage_options',
40
+ self::ADMIN_SLUG,
41
+ 'ecwid_general_settings_do_page'
42
+ );
43
+
44
+ global $ecwid_oauth;
45
+ if (!$is_newbie && $ecwid_oauth->has_scope('allow_sso')) {
46
+ add_submenu_page(
47
+ self::ADMIN_SLUG,
48
+ __('Sales', 'ecwid-shopping-cart'),
49
+ __('Sales', 'ecwid-shopping-cart'),
50
+ 'manage_options',
51
+ self::ADMIN_SLUG . '-admin-orders',
52
+ 'ecwid_admin_orders_do_page'
53
+ );
54
+
55
+
56
+ add_submenu_page(
57
+ self::ADMIN_SLUG,
58
+ __('Products', 'ecwid-shopping-cart'),
59
+ __('Products', 'ecwid-shopping-cart'),
60
+ 'manage_options',
61
+ self::ADMIN_SLUG . '-admin-products',
62
+ 'ecwid_admin_products_do_page'
63
+ );
64
+ }
65
+ if (get_option('ecwid_hide_appearance_menu') != 'Y') {
66
+ add_submenu_page(
67
+ self::ADMIN_SLUG,
68
+ __('Appearance settings', 'ecwid-shopping-cart'),
69
+ __('Appearance', 'ecwid-shopping-cart'),
70
+ 'manage_options',
71
+ self::ADMIN_SLUG . '-appearance',
72
+ 'ecwid_appearance_settings_do_page'
73
+ );
74
+ }
75
+
76
+ if (!$is_newbie || (isset($_GET['page']) && $_GET['page'] == 'ecwid-advanced')) {
77
+ add_submenu_page(
78
+ self::ADMIN_SLUG,
79
+ __('Advanced settings', 'ecwid-shopping-cart'),
80
+ __('Advanced', 'ecwid-shopping-cart'),
81
+ 'manage_options',
82
+ self::ADMIN_SLUG . '-advanced',
83
+ 'ecwid_advanced_settings_do_page'
84
+ );
85
+ }
86
+
87
+ add_submenu_page('', 'Ecwid debug', '', 'manage_options', 'ec_debug', 'ecwid_debug_do_page');
88
+ add_submenu_page('', 'Ecwid get mobile app', '', 'manage_options', 'ec-admin-mobile', 'ecwid_admin_mobile_do_page');
89
+
90
+ if (!Ecwid_Config::is_wl()) {
91
+ add_submenu_page(
92
+ self::ADMIN_SLUG,
93
+ __('Help', 'ecwid-shopping-cart'),
94
+ __('Help', 'ecwid-shopping-cart'),
95
+ 'manage_options', self::ADMIN_SLUG . '-help', 'ecwid_help_do_page'
96
+ );
97
+ }
98
+
99
+ add_submenu_page('', 'Install ecwid theme', '', 'manage_options', 'ecwid-install-theme', 'ecwid_install_theme');
100
+
101
+ add_submenu_page('', 'Ecwid sync', '', 'manage_options', 'ec-sync', 'ecwid_sync_do_page');
102
+
103
+ $pages = array(
104
+ 'ecwid',
105
+ 'ecwid-admin-orders',
106
+ 'ecwid-admin-products',
107
+ 'ecwid-appearance',
108
+ 'ecwid-advanced',
109
+ 'ecwid-help',
110
+ 'ecwid_debug',
111
+ 'ecwid-sync'
112
+ );
113
+
114
+ foreach ($pages as $page) {
115
+ add_submenu_page( '', 'Legacy', '', 'manage_options', $page, array( $this, 'do_ec_redirect' ) );
116
+ }
117
+ }
118
+
119
+ public function do_ec_redirect() {
120
+
121
+ $screen = get_current_screen();
122
+
123
+ $base = $screen->base;
124
+ if ( strpos( $base, 'admin_page_ecwid' ) === false ) return;
125
+
126
+ $page = str_replace('admin_page_ecwid', Ecwid_Admin::ADMIN_SLUG, $base );
127
+
128
+ wp_redirect( admin_url('admin.php?page=' . $page ), 301 );
129
+ exit();
130
+ }
131
+
132
+ static public function get_dashboard_url() {
133
+ return admin_url( 'admin.php?page=' . Ecwid_Admin::ADMIN_SLUG );
134
+ }
135
+ }
136
+
137
+ $ecwid_admin = new Ecwid_Admin();
includes/class-ecwid-config.php ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Ecwid_Config {
4
+ const IS_WL = 'whitelabel_is_enabled';
5
+ const BRAND = 'whitelabel_brand';
6
+ const KB_URL = 'whitelabel_kb_url';
7
+ const CONTACT_US_URL = 'whitelabel_contact_us_url';
8
+ const REGISTRATION_URL = 'whitelabel_registration_url';
9
+ const CHANNEL_ID = 'whitelabel_channel_id';
10
+ const OAUTH_APPID = 'whitelabel_oauth_appid';
11
+ const OAUTH_APPSECRET = 'whitelabel_oauth_appsecret';
12
+ const OAUTH_TOKEN_URL = 'whitelabel_oauth_token_url';
13
+ const OAUTH_AUTH_URL = 'whitelabel_oauth_auth_url';
14
+
15
+ public static function is_wl() {
16
+ return EcwidPlatform::get( self::IS_WL, false );
17
+ }
18
+
19
+ public static function get_brand() {
20
+ return EcwidPlatform::get( self::BRAND, 'Ecwid' );
21
+ }
22
+
23
+ public static function get_kb_link() {
24
+ return EcwidPlatform::get( self::KB_URL );
25
+ }
26
+
27
+ public static function get_contact_us_url() {
28
+ return EcwidPlatform::get( self::CONTACT_US_URL, 'https://support.ecwid.com/hc/en-us/requests/new' );
29
+ }
30
+
31
+ public static function get_registration_url() {
32
+ return EcwidPlatform::get( self::REGISTRATION_URL, 'https://my.ecwid.com/cp/?source=wporg' );
33
+ }
34
+
35
+ public static function get_channel_id() {
36
+ return EcwidPlatform::get( self::CHANNEL_ID, 'wporg' );
37
+ }
38
+
39
+ public static function get_oauth_token_url() {
40
+ return EcwidPlatform::get( self::OAUTH_TOKEN_URL, Ecwid_Api_V3::OAUTH_URL );
41
+ }
42
+
43
+ public static function get_oauth_auth_url() {
44
+ return EcwidPlatform::get( self::OAUTH_AUTH_URL, 'https://my.ecwid.com/api/oauth/authorize' );
45
+ }
46
+
47
+ public static function get_oauth_appid() {
48
+ return EcwidPlatform::get( self::OAUTH_APPID, Ecwid_Api_V3::CLIENT_ID );
49
+ }
50
+
51
+ public static function get_oauth_appsecret() {
52
+ return EcwidPlatform::get( self::OAUTH_APPSECRET, Ecwid_Api_V3::CLIENT_SECRET );
53
+ }
54
+
55
+ public static function load_from_ini() {
56
+
57
+ if (!file_exists(ECWID_PLUGIN_DIR . 'config.ini')) {
58
+ return;
59
+ }
60
+
61
+ $result = @parse_ini_file(ECWID_PLUGIN_DIR . 'config.ini');
62
+
63
+ if ($result === false) {
64
+ return;
65
+ }
66
+
67
+ $config = array(
68
+ self::IS_WL => 'wl_mode',
69
+ self::BRAND => 'brand',
70
+ self::CONTACT_US_URL => 'contact_us_url',
71
+ self::KB_URL => 'kb_url',
72
+ self::REGISTRATION_URL => 'registration_url',
73
+ self::CHANNEL_ID => 'channel_id',
74
+ self::OAUTH_APPID => 'oauth_appid',
75
+ self::OAUTH_APPSECRET => 'oauth_appsecret',
76
+ self::OAUTH_TOKEN_URL => 'oauth_token_url',
77
+ self::OAUTH_AUTH_URL => 'oauth_authorize_url'
78
+ );
79
+
80
+ $is_enabled = @$result['wl_mode'];
81
+
82
+ foreach ( $config as $name => $ini_name ) {
83
+
84
+ $value = @$result[$ini_name];
85
+ if ( $is_enabled && $value ) {
86
+ EcwidPlatform::set($name, @$result[$ini_name]);
87
+ } else {
88
+ EcwidPlatform::reset($name);
89
+ }
90
+ }
91
+ }
92
+ public static function enqueue_styles() {
93
+ if ( !self::is_wl() ) {
94
+ return;
95
+ }
96
+
97
+ wp_enqueue_style( 'ecwid-wl', ECWID_PLUGIN_URL . 'css/wl.css', array( 'ecwid-admin-css' ), get_option( 'ecwid_plugin_version' ) );
98
+ }
99
+ }
100
+ add_action( 'admin_enqueue_scripts', array( 'Ecwid_Config', 'enqueue_styles' ) );
includes/class-ecwid-integration-wpseo.php CHANGED
@@ -13,7 +13,7 @@ class Ecwid_Integration_WordPress_SEO_By_Yoast
13
  if (ecwid_is_paid_account() && ecwid_is_store_page_available()) {
14
  add_filter( 'wpseo_sitemap_index', array( $this, 'wpseo_hook_sitemap_index' ) );
15
  add_filter( 'wpseo_do_sitemap_ecwid', array( $this, 'wpseo_hook_do_sitemap' ) );
16
- if (array_key_exists('_escaped_fragment_', $_GET)) {
17
  add_filter( 'wpseo_title', 'ecwid_seo_title' );
18
  add_filter( 'wpseo_metadesc', array( $this, 'wpseo_hook_description' ) );
19
  }
@@ -25,7 +25,12 @@ class Ecwid_Integration_WordPress_SEO_By_Yoast
25
  // Disable titles, descriptions and canonical link on ecwid _escaped_fragment_ pages
26
  public function disable_seo_on_escaped_fragment()
27
  {
28
- if (!array_key_exists('_escaped_fragment_', $_GET) || !Ecwid_Store_Page::is_store_page()) {
 
 
 
 
 
29
  return;
30
  }
31
 
@@ -53,7 +58,7 @@ class Ecwid_Integration_WordPress_SEO_By_Yoast
53
  public function wpseo_hook_sitemap_index( )
54
  {
55
  $now = date('c', time());;
56
- $sitemap_url = wpseo_xml_sitemaps_base_url('ecwid-sitemap.xml');
57
  return <<<XML
58
  <sitemap>
59
  <loc>$sitemap_url</loc>
@@ -125,6 +130,14 @@ XML;
125
 
126
  return $description;
127
  }
 
 
 
 
 
 
 
 
128
  }
129
 
130
  $ecwid_integration_wpseo = new Ecwid_Integration_WordPress_SEO_By_Yoast();
13
  if (ecwid_is_paid_account() && ecwid_is_store_page_available()) {
14
  add_filter( 'wpseo_sitemap_index', array( $this, 'wpseo_hook_sitemap_index' ) );
15
  add_filter( 'wpseo_do_sitemap_ecwid', array( $this, 'wpseo_hook_do_sitemap' ) );
16
+ if (array_key_exists('_escaped_fragment_', $_GET) || Ecwid_Seo_Links::is_product_browser_url()) {
17
  add_filter( 'wpseo_title', 'ecwid_seo_title' );
18
  add_filter( 'wpseo_metadesc', array( $this, 'wpseo_hook_description' ) );
19
  }
25
  // Disable titles, descriptions and canonical link on ecwid _escaped_fragment_ pages
26
  public function disable_seo_on_escaped_fragment()
27
  {
28
+ $is_store_page = Ecwid_Store_Page::is_store_page();
29
+ $is_escaped_fragment = array_key_exists('_escaped_fragment_', $_GET);
30
+ $is_seo_pb_url = Ecwid_Seo_Links::is_product_browser_url();
31
+
32
+ $no_canonical_or_meta = $is_store_page && ( $is_escaped_fragment || $is_seo_pb_url );
33
+ if ( !$no_canonical_or_meta ) {
34
  return;
35
  }
36
 
58
  public function wpseo_hook_sitemap_index( )
59
  {
60
  $now = date('c', time());;
61
+ $sitemap_url = $this->_get_base_url( 'ecwid-sitemap.xml' );
62
  return <<<XML
63
  <sitemap>
64
  <loc>$sitemap_url</loc>
130
 
131
  return $description;
132
  }
133
+
134
+ protected function _get_base_url( $page ) {
135
+ if ( class_exists( 'WPSEO_Sitemaps_Router' ) && method_exists( 'WPSEO_Sitemaps_Router', 'get_base_url' ) ) {
136
+ return WPSEO_Sitemaps_Router::get_base_url( $page );
137
+ } else {
138
+ return wpseo_xml_sitemaps_base_url ( $page );
139
+ }
140
+ }
141
  }
142
 
143
  $ecwid_integration_wpseo = new Ecwid_Integration_WordPress_SEO_By_Yoast();
includes/class-ecwid-message-manager.php CHANGED
@@ -167,12 +167,12 @@ TXT
167
 
168
  if ($name == 'on_appearance_widgets') {
169
 
170
- if (isset($_GET['from-ecwid']) && $_GET['from-ecwid'] == 'appearance') {
171
- $admin_page = 'admin.php?page=ecwid-appearance';
172
- } elseif (isset($_GET['from-ecwid']) && $_GET['from-ecwid'] == 'new') {
173
  $admin_page = 'post-new.php?post_type=page';
174
- } elseif (isset($_GET['from-ecwid']) && is_numeric($_GET['from-ecwid'])) {
175
- $admin_page = 'post.php?post=' . $_GET['from-ecwid'] . '&action=edit';
176
  }
177
 
178
  $params['secondary_url'] = $admin_page;
@@ -191,9 +191,9 @@ TXT
191
  {
192
  return array(
193
  'on_activate' => array(
194
- 'title' => __('Greetings! Your Ecwid plugin is now active.', 'ecwid-shopping-cart'),
195
  'message' => __('Take a few simple steps to complete store setup', 'ecwid-shopping-cart'),
196
- 'primary_title' => __('Set up Ecwid Store', 'ecwid-shopping-cart'),
197
  'primary_url' => 'admin.php?page=ecwid',
198
  'hideable' => true,
199
  'default' => 'disabled'
@@ -204,23 +204,24 @@ TXT
204
  'title' => __('Your store is almost ready!', 'ecwid-shopping-cart' ),
205
  'message' => __('Complete setup and start selling', 'ecwid-shopping-cart' ),
206
  'primary_title' => __('Complete Setup', 'ecwid-shopping-cart' ),
207
- 'primary_url' => 'admin.php?page=ecwid',
208
  'hideable' => true
209
  ),
210
 
211
  'on_appearance_widgets' => array(
212
- 'message' => __('To add extra functions to your store, drag and drop Ecwid store elements on your site. When you\'re done, you can get back to modifying your settings.', 'ecwid-shopping-cart' ),
213
  'secondary_title' => __('Back to Store Settings', 'ecwid-shopping-cart'),
214
- 'secondary_url' => 'admin.php?page=ecwid-appearance',
215
  'hideable' => true
216
  ),
217
 
218
  'please_vote' => array(
219
  'message' => sprintf(
220
- __('Do you like your Ecwid online store? We\'d appreciate it if you add your review and vote for the plugin on Wordpress site.', 'ecwid-shopping-cart'),
 
221
  'target="_blank" href="http://wordpress.org/support/view/plugin-reviews/ecwid-shopping-cart"'
222
  ),
223
- 'primary_title' => __('Rate Ecwid at WordPress.org', 'ecwid-shopping-cart'),
224
  'primary_url' => 'http://wordpress.org/support/view/plugin-reviews/ecwid-shopping-cart',
225
  'hideable' => true
226
  ),
@@ -231,14 +232,6 @@ TXT
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
 
@@ -254,16 +247,16 @@ TXT
254
  $admin_page = $screen->base;
255
  }
256
 
257
- if ($admin_page == 'toplevel_page_ecwid' && isset($_GET['reconnect'])) {
258
  return false;
259
  }
260
 
261
  switch ($name) {
262
  case 'on_activate':
263
- return $admin_page != 'toplevel_page_ecwid' && get_ecwid_store_id() == ECWID_DEMO_STORE_ID;
264
 
265
  case 'on_storeid_set':
266
- return get_ecwid_store_id() != ECWID_DEMO_STORE_ID && @$_GET['settings-updated'] == 'true' && $admin_page == 'toplevel_page_ecwid';
267
 
268
  case 'on_no_storeid_on_setup_pages':
269
  $is_newbie = get_ecwid_store_id() == ECWID_DEMO_STORE_ID;
@@ -274,9 +267,12 @@ TXT
274
  return $is_newbie && ($is_ecwid_settings || $is_store_page);
275
 
276
  case 'on_appearance_widgets':
277
- return isset($_GET['from-ecwid']) && $_GET['from-ecwid'] != 'true' && $admin_page == 'widgets';
278
 
279
  case 'please_vote':
 
 
 
280
  $install_date = get_option('ecwid_installation_date');
281
 
282
  $result = false;
@@ -293,39 +289,6 @@ TXT
293
  }
294
 
295
  return $result;
296
-
297
- case "install_ecwid_theme":
298
- return false;
299
- $install_date = ecwid_get_wp_install_date();
300
- $theme = ecwid_get_theme_identification();
301
-
302
- $default_themes = array(
303
- 'twentyten',
304
- 'twentyeleven',
305
- 'twentytwelve',
306
- 'twentythirteen',
307
- 'twentyfourteen',
308
- 'twentyfifteen',
309
- 'twentysixteen'
310
- );
311
-
312
- $is_default_theme = in_array($theme, $default_themes);
313
- $is_newbie = (time() - $install_date) < 60*60*24*31;
314
- $is_ecwid_connected = get_ecwid_store_id() != ECWID_DEMO_STORE_ID;
315
- $is_installing = get_current_screen()->base == 'admin_page_ecwid-install-theme';
316
- $theme_object = wp_get_theme('ecwid-ecommerce');
317
- $err = $theme_object->errors();
318
- $is_theme_installed = $theme_object;
319
- if ($is_theme_installed) {
320
- if ($err && $err->get_error_code() == 'theme_not_found') {
321
- $is_theme_installed = false;
322
- }
323
- }
324
-
325
- if ( $is_default_theme && $is_newbie && $is_ecwid_connected && !$is_installing && !$is_theme_installed ) {
326
- return true;
327
- }
328
-
329
  }
330
  }
331
 
167
 
168
  if ($name == 'on_appearance_widgets') {
169
 
170
+ if (isset($_GET['from-ec-store']) && $_GET['from-ec-store'] == 'appearance') {
171
+ $admin_page = Ecwid_Admin::get_dashboard_url() . '-appearance';
172
+ } elseif (isset($_GET['from-ec-store']) && $_GET['from-ec-store'] == 'new') {
173
  $admin_page = 'post-new.php?post_type=page';
174
+ } elseif (isset($_GET['from-ec-store']) && is_numeric($_GET['from-ec-store'])) {
175
+ $admin_page = 'post.php?post=' . $_GET['from-ec-store'] . '&action=edit';
176
  }
177
 
178
  $params['secondary_url'] = $admin_page;
191
  {
192
  return array(
193
  'on_activate' => array(
194
+ 'title' => sprintf( __( 'Greetings! Your %s plugin is now active.', 'ecwid-shopping-cart'), Ecwid_Config::get_brand() ),
195
  'message' => __('Take a few simple steps to complete store setup', 'ecwid-shopping-cart'),
196
+ 'primary_title' => sprintf( __( 'Set up %s Store', 'ecwid-shopping-cart'), Ecwid_Config::get_brand() ),
197
  'primary_url' => 'admin.php?page=ecwid',
198
  'hideable' => true,
199
  'default' => 'disabled'
204
  'title' => __('Your store is almost ready!', 'ecwid-shopping-cart' ),
205
  'message' => __('Complete setup and start selling', 'ecwid-shopping-cart' ),
206
  'primary_title' => __('Complete Setup', 'ecwid-shopping-cart' ),
207
+ 'primary_url' => Ecwid_Admin::get_dashboard_url(),
208
  'hideable' => true
209
  ),
210
 
211
  'on_appearance_widgets' => array(
212
+ 'message' => sprintf( __( 'To add extra functions to your store, drag and drop %s store elements on your site. When you\'re done, you can get back to modifying your settings.', 'ecwid-shopping-cart' ), Ecwid_Config::get_brand() ),
213
  'secondary_title' => __('Back to Store Settings', 'ecwid-shopping-cart'),
214
+ 'secondary_url' => Ecwid_Admin::get_dashboard_url() . '-appearance',
215
  'hideable' => true
216
  ),
217
 
218
  'please_vote' => array(
219
  'message' => sprintf(
220
+ __('Do you like your %s online store? We\'d appreciate it if you add your review and vote for the plugin on WordPress site.', 'ecwid-shopping-cart'),
221
+ Ecwid_Config::get_brand(),
222
  'target="_blank" href="http://wordpress.org/support/view/plugin-reviews/ecwid-shopping-cart"'
223
  ),
224
+ 'primary_title' => sprintf( __( 'Rate %s at WordPress.org', 'ecwid-shopping-cart'), Ecwid_Config::get_brand() ),
225
  'primary_url' => 'http://wordpress.org/support/view/plugin-reviews/ecwid-shopping-cart',
226
  'hideable' => true
227
  ),
232
  'hideable' => false,
233
  'type' => 'error'
234
  ),
 
 
 
 
 
 
 
 
235
  );
236
  }
237
 
247
  $admin_page = $screen->base;
248
  }
249
 
250
+ if ($admin_page == 'toplevel_page_ec-store' && isset($_GET['reconnect'])) {
251
  return false;
252
  }
253
 
254
  switch ($name) {
255
  case 'on_activate':
256
+ return $admin_page != 'toplevel_page_ec-store' && get_ecwid_store_id() == ECWID_DEMO_STORE_ID;
257
 
258
  case 'on_storeid_set':
259
+ return get_ecwid_store_id() != ECWID_DEMO_STORE_ID && @$_GET['settings-updated'] == 'true' && $admin_page == 'toplevel_page_ec-store';
260
 
261
  case 'on_no_storeid_on_setup_pages':
262
  $is_newbie = get_ecwid_store_id() == ECWID_DEMO_STORE_ID;
267
  return $is_newbie && ($is_ecwid_settings || $is_store_page);
268
 
269
  case 'on_appearance_widgets':
270
+ return isset($_GET['from-ec-store']) && $_GET['from-ec-store'] != 'true' && $admin_page == 'widgets';
271
 
272
  case 'please_vote':
273
+
274
+ if ( Ecwid_Config::is_wl() ) return false;
275
+
276
  $install_date = get_option('ecwid_installation_date');
277
 
278
  $result = false;
289
  }
290
 
291
  return $result;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
292
  }
293
  }
294
 
includes/class-ecwid-nav-menus.php CHANGED
@@ -139,7 +139,7 @@ class Ecwid_Nav_Menus {
139
  }
140
 
141
  wp_enqueue_script('ecwid-admin-menu-js', ECWID_PLUGIN_URL . 'js/nav-menu.js', array(), get_option('ecwid_plugin_version'));
142
- wp_localize_script('ecwid-admin-menu-js', 'ecwid_params', array(
143
  'store_page' => __('Store Page', 'ecwid-shopping-cart'),
144
  'reset_cats_cache' => __('Refresh categories list', 'ecwid-shopping-cart'),
145
  'cache_updated' => __('Done', 'ecwid-shopping-cart'),
139
  }
140
 
141
  wp_enqueue_script('ecwid-admin-menu-js', ECWID_PLUGIN_URL . 'js/nav-menu.js', array(), get_option('ecwid_plugin_version'));
142
+ wp_localize_script('ecwid-admin-menu-js', 'ecwid_nav_menu_params', array(
143
  'store_page' => __('Store Page', 'ecwid-shopping-cart'),
144
  'reset_cats_cache' => __('Refresh categories list', 'ecwid-shopping-cart'),
145
  'cache_updated' => __('Done', 'ecwid-shopping-cart'),
includes/class-ecwid-oauth.php CHANGED
@@ -14,10 +14,10 @@ class Ecwid_OAuth {
14
 
15
  public function __construct()
16
  {
17
- add_action('admin_post_ecwid_oauth', array($this, 'process_authorization'));
18
- add_action('admin_post_ecwid_oauth_reconnect', array($this, 'process_authorization'));
19
- add_action('admin_post_ecwid_disconnect', array($this, 'disconnect_store'));
20
- add_action('admin_post_ecwid_show_reconnect', array($this, 'show_reconnect'));
21
 
22
  $this->_load_state();
23
 
@@ -39,15 +39,15 @@ class Ecwid_OAuth {
39
 
40
  public function get_test_post_url()
41
  {
42
- return 'https://my.ecwid.com/api/oauth/token';
43
  }
44
 
45
 
46
  public function get_auth_dialog_url( )
47
  {
48
- $action = 'ecwid_oauth';
49
  if ( $this->_is_reconnect() ) {
50
- $action = 'ecwid_oauth_reconnect';
51
  }
52
 
53
  $redirect_uri = 'admin-post.php?action=' . $action;
@@ -60,7 +60,7 @@ class Ecwid_OAuth {
60
 
61
  public function get_sso_reconnect_dialog_url()
62
  {
63
- $redirect_uri = 'admin-post.php?action=ecwid_oauth_reconnect';
64
 
65
  $scope = $this->_get_scope();
66
 
@@ -76,7 +76,7 @@ class Ecwid_OAuth {
76
 
77
  public function process_authorization()
78
  {
79
- $reconnect = $_REQUEST['action'] == 'ecwid_oauth_reconnect';
80
 
81
  if ( isset( $_REQUEST['error'] ) || !isset( $_REQUEST['code'] ) ) {
82
  if ($reconnect) {
@@ -85,20 +85,20 @@ class Ecwid_OAuth {
85
  $this->update_state(array('mode' => self::MODE_CONNECT, 'error' => 'cancelled'));
86
  }
87
 
88
- wp_redirect('admin.php?page=ecwid&connection_error' . ($reconnect ? '&reconnect' : ''));
89
  exit;
90
  }
91
 
92
- $base_admin_url = 'admin-post.php?action=ecwid_oauth' . ($reconnect ? '_reconnect' : '');
93
 
94
  $params['code'] = $_REQUEST['code'];
95
- $params['client_id'] = Ecwid_Api_V3::CLIENT_ID;
96
- $params['client_secret'] = Ecwid_Api_V3::CLIENT_SECRET;
97
  $params['redirect_uri'] = admin_url( $base_admin_url );
98
 
99
  $params['grant_type'] = 'authorization_code';
100
 
101
- $request = Ecwid_HTTP::create_post( 'oauth_authorize', 'https://my.ecwid.com/api/oauth/token', array(
102
  Ecwid_HTTP::POLICY_RETURN_VERBOSE
103
  ));
104
 
@@ -116,6 +116,7 @@ class Ecwid_OAuth {
116
  || ( $result->token_type != 'Bearer' )
117
  ) {
118
  ecwid_log_error(var_export($return, true));
 
119
  return $this->trigger_auth_error($reconnect ? 'reconnect' : 'default');
120
  }
121
 
@@ -135,9 +136,9 @@ class Ecwid_OAuth {
135
  } else {
136
  $url = '';
137
  if ($reconnect) {
138
- $url = 'admin.php?page=ecwid&setting-updated=true';
139
  } else {
140
- $url = 'admin.php?page=ecwid';
141
  }
142
  wp_redirect( $url );
143
  }
@@ -151,7 +152,7 @@ class Ecwid_OAuth {
151
  update_option( 'ecwid_is_api_enabled', 'off' );
152
  update_option( 'ecwid_api_check_time', 0 );
153
 
154
- wp_redirect('admin.php?page=ecwid');
155
  exit;
156
  }
157
 
@@ -215,7 +216,7 @@ class Ecwid_OAuth {
215
  EcwidPlatform::report_error($last_error);
216
  }
217
 
218
- wp_redirect('admin.php?page=ecwid&connection_error' . ($mode == self::MODE_RECONNECT ? '&reconnect' : ''));
219
  exit;
220
  }
221
 
@@ -242,7 +243,7 @@ class Ecwid_OAuth {
242
  $token = $this->api->get_token();
243
 
244
  $timestamp = time();
245
- $signature = hash('sha256', $store_id . $token . $timestamp . Ecwid_Api_V3::CLIENT_SECRET);
246
 
247
  $url = sprintf(
248
  $url,
@@ -332,7 +333,7 @@ class Ecwid_OAuth {
332
  if (isset($this->state->reason)) {
333
  switch ( $this->state->reason ) {
334
  case 'spw':
335
- $reconnect_message = __( 'To be able to choose a product to insert to your posts and pages, you will need to re-connect your site to your Ecwid store. This will only require you to accept permissions request – so that the plugin will be able to list your products in the "Add product" dialog.', 'ecwid-shopping-cart' );;
336
  break;
337
  case '2':
338
  $reconnect_message = "Message 2";
14
 
15
  public function __construct()
16
  {
17
+ add_action('admin_post_ec_oauth', array($this, 'process_authorization'));
18
+ add_action('admin_post_ec_oauth_reconnect', array($this, 'process_authorization'));
19
+ add_action('admin_post_ec_disconnect', array($this, 'disconnect_store'));
20
+ add_action('admin_post_ec_show_reconnect', array($this, 'show_reconnect'));
21
 
22
  $this->_load_state();
23
 
39
 
40
  public function get_test_post_url()
41
  {
42
+ return Ecwid_Config::get_oauth_auth_url();
43
  }
44
 
45
 
46
  public function get_auth_dialog_url( )
47
  {
48
+ $action = 'ec_oauth';
49
  if ( $this->_is_reconnect() ) {
50
+ $action = 'ec_oauth_reconnect';
51
  }
52
 
53
  $redirect_uri = 'admin-post.php?action=' . $action;
60
 
61
  public function get_sso_reconnect_dialog_url()
62
  {
63
+ $redirect_uri = 'admin-post.php?action=ec_oauth_reconnect';
64
 
65
  $scope = $this->_get_scope();
66
 
76
 
77
  public function process_authorization()
78
  {
79
+ $reconnect = $_REQUEST['action'] == 'ec_oauth_reconnect';
80
 
81
  if ( isset( $_REQUEST['error'] ) || !isset( $_REQUEST['code'] ) ) {
82
  if ($reconnect) {
85
  $this->update_state(array('mode' => self::MODE_CONNECT, 'error' => 'cancelled'));
86
  }
87
 
88
+ wp_redirect( Ecwid_Admin::get_dashboard_url() . '&connection_error' . ($reconnect ? '&reconnect' : ''));
89
  exit;
90
  }
91
 
92
+ $base_admin_url = 'admin-post.php?action=ec_oauth' . ($reconnect ? '_reconnect' : '');
93
 
94
  $params['code'] = $_REQUEST['code'];
95
+ $params['client_id'] = Ecwid_Config::get_oauth_appid();
96
+ $params['client_secret'] = Ecwid_Config::get_oauth_appsecret();
97
  $params['redirect_uri'] = admin_url( $base_admin_url );
98
 
99
  $params['grant_type'] = 'authorization_code';
100
 
101
+ $request = Ecwid_HTTP::create_post( 'oauth_authorize', Ecwid_Config::get_oauth_token_url(), array(
102
  Ecwid_HTTP::POLICY_RETURN_VERBOSE
103
  ));
104
 
116
  || ( $result->token_type != 'Bearer' )
117
  ) {
118
  ecwid_log_error(var_export($return, true));
119
+
120
  return $this->trigger_auth_error($reconnect ? 'reconnect' : 'default');
121
  }
122
 
136
  } else {
137
  $url = '';
138
  if ($reconnect) {
139
+ $url = Ecwid_Admin::get_dashboard_url() . '&setting-updated=true';
140
  } else {
141
+ $url = Ecwid_Admin::get_dashboard_url();
142
  }
143
  wp_redirect( $url );
144
  }
152
  update_option( 'ecwid_is_api_enabled', 'off' );
153
  update_option( 'ecwid_api_check_time', 0 );
154
 
155
+ wp_redirect( Ecwid_Admin::get_dashboard_url() );
156
  exit;
157
  }
158
 
216
  EcwidPlatform::report_error($last_error);
217
  }
218
 
219
+ wp_redirect( Ecwid_Admin::get_dashboard_url() . '&connection_error' . ( $mode == self::MODE_RECONNECT ? '&reconnect' : '' ) );
220
  exit;
221
  }
222
 
243
  $token = $this->api->get_token();
244
 
245
  $timestamp = time();
246
+ $signature = hash('sha256', $store_id . $token . $timestamp . Ecwid_Config::get_oauth_appsecret());
247
 
248
  $url = sprintf(
249
  $url,
333
  if (isset($this->state->reason)) {
334
  switch ( $this->state->reason ) {
335
  case 'spw':
336
+ $reconnect_message = sprintf( __( 'To be able to choose a product to insert to your posts and pages, you will need to re-connect your site to your %s store. This will only require you to accept permissions request – so that the plugin will be able to list your products in the "Add product" dialog.', 'ecwid-shopping-cart' ), Ecwid_Config::get_brand() );
337
  break;
338
  case '2':
339
  $reconnect_message = "Message 2";
includes/class-ecwid-product-popup.php CHANGED
@@ -113,7 +113,21 @@ HTML;
113
  }
114
 
115
  if ( !isset( $data['display'] ) ) {
116
- $data['display'] = array('picture' => 1, 'title' => 1, 'price' => 1, 'addtobag' => 1, 'options' => 1);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
117
  }
118
 
119
  $data['labels'] = array(
113
  }
114
 
115
  if ( !isset( $data['display'] ) ) {
116
+ $data['display'] = array(
117
+ 'picture' => 1,
118
+ 'title' => 1,
119
+ 'price' => 1,
120
+ 'addtobag' => 1,
121
+ 'options' => 1
122
+ );
123
+ }
124
+
125
+ if ( !isset( $data['attributes'] ) ) {
126
+ $data['attributes'] = array(
127
+ 'show_price_on_button' => 1,
128
+ 'center_align' => 1,
129
+ 'show_border' => 1
130
+ );
131
  }
132
 
133
  $data['labels'] = array(
includes/class-ecwid-seo-links.php CHANGED
@@ -7,9 +7,8 @@ class Ecwid_Seo_Links {
7
 
8
  public function __construct()
9
  {
10
- // Should always run, check for enabled inside: once the option is turned on, it should rebuild the rules right away,
11
  // therefore the action must me registered
12
- add_action( 'rewrite_rules_array', array( $this, 'build_rewrite_rules' ), 1, 1 );
13
 
14
  add_action( 'init', array( $this, 'init' ) );
15
  add_action( 'ecwid_on_fresh_install', array( $this, 'on_fresh_install' ) );
@@ -116,7 +115,13 @@ class Ecwid_Seo_Links {
116
  'account\/address-book',
117
  'account\/favorites',
118
  'search',
119
- 'search\?.*'
 
 
 
 
 
 
120
  );
121
  }
122
 
@@ -176,16 +181,14 @@ JS;
176
  return $pattern = '!.*-(p|c)([0-9]*)!';
177
  }
178
 
179
- public function build_rewrite_rules( $original_rules ) {
180
 
181
- if ( !self::is_enabled() ) return $original_rules;
182
-
183
- $rules = array();
184
 
185
  if ( $this->is_store_on_home_page() ) {
186
  $patterns = $this->get_seo_links_patterns();
187
- foreach ($patterns as $pattern) {
188
- $rules['^' . $pattern . '$'] = 'index.php?page_id=' . get_option( 'page_on_front' );
189
  }
190
  }
191
 
@@ -193,11 +196,12 @@ JS;
193
 
194
  if ( is_array( $pages ) ) {
195
 
196
- foreach ($pages as $page_id) {
197
  $patterns = $this->get_seo_links_patterns();
198
- $link = get_page_uri($page_id);
199
- foreach ($patterns as $pattern) {
200
- $rules['^' . $link . '/' . $pattern . '.*'] = 'index.php?page_id=' . $page_id;
 
201
  }
202
  }
203
 
@@ -212,20 +216,19 @@ JS;
212
  $links_model = $model->get_links_model();
213
  if ($links_model instanceof PLL_Links_Directory) {
214
  $patterns = $this->get_seo_links_patterns();
215
- foreach ($pages as $page_id) {
216
- $link = get_page_uri($page_id);
217
- $language = pll_get_post_language($page_id);
218
- foreach ($patterns as $pattern) {
219
- $rules['^' . $language . '/' . $link . '/' . $pattern . '.*'] = 'index.php?page_id=' . $page_id;
220
  }
221
  }
222
  }
223
  }
224
  }
225
-
226
- return array_merge( $rules, $original_rules );
227
  }
228
 
 
229
  public static function is_enabled() {
230
 
231
  return self::is_feature_available() && get_option( self::OPTION_ENABLED );
@@ -248,7 +251,7 @@ JS;
248
  }
249
 
250
  public static function should_display_option() {
251
- return ecwid_migrations_is_original_plugin_version_older_than( '5.0.8' );
252
  }
253
 
254
  }
7
 
8
  public function __construct()
9
  {
 
10
  // therefore the action must me registered
11
+ add_action( 'init', array( $this, 'build_rewrite_rules' ) );
12
 
13
  add_action( 'init', array( $this, 'init' ) );
14
  add_action( 'ecwid_on_fresh_install', array( $this, 'on_fresh_install' ) );
115
  'account\/address-book',
116
  'account\/favorites',
117
  'search',
118
+ 'search\?.*',
119
+ 'signin',
120
+ 'pages\/about',
121
+ 'pages\/shipping-payment',
122
+ 'pages\/returns',
123
+ 'pages\/terms',
124
+ 'pages\/privacy-policy'
125
  );
126
  }
127
 
181
  return $pattern = '!.*-(p|c)([0-9]*)!';
182
  }
183
 
184
+ public function build_rewrite_rules( ) {
185
 
186
+ if ( !self::is_enabled() ) return;
 
 
187
 
188
  if ( $this->is_store_on_home_page() ) {
189
  $patterns = $this->get_seo_links_patterns();
190
+ foreach ( $patterns as $pattern ) {
191
+ add_rewrite_rule( '^' . $pattern . '$', 'index.php?page_id=' . get_option( 'page_on_front' ), 'top' );
192
  }
193
  }
194
 
196
 
197
  if ( is_array( $pages ) ) {
198
 
199
+ foreach ( $pages as $page_id ) {
200
  $patterns = $this->get_seo_links_patterns();
201
+ $link = urldecode( get_page_uri( $page_id ) );
202
+
203
+ foreach ( $patterns as $pattern ) {
204
+ add_rewrite_rule( '^' . $link . '/' . $pattern . '.*', 'index.php?page_id=' . $page_id, 'top' );
205
  }
206
  }
207
 
216
  $links_model = $model->get_links_model();
217
  if ($links_model instanceof PLL_Links_Directory) {
218
  $patterns = $this->get_seo_links_patterns();
219
+ foreach ( $pages as $page_id ) {
220
+ $link = urldecode( get_page_uri( $page_id ) );
221
+ $language = pll_get_post_language( $page_id );
222
+ foreach ( $patterns as $pattern ) {
223
+ add_rewrite_rule( '^' . $language . '/' . $link . '/' . $pattern . '.*', 'index.php?page_id=' . $page_id, 'top' );
224
  }
225
  }
226
  }
227
  }
228
  }
 
 
229
  }
230
 
231
+
232
  public static function is_enabled() {
233
 
234
  return self::is_feature_available() && get_option( self::OPTION_ENABLED );
251
  }
252
 
253
  public static function should_display_option() {
254
+ return ecwid_migrations_is_original_plugin_version_older_than( '5.2' );
255
  }
256
 
257
  }
includes/class-ecwid-store-page.php CHANGED
@@ -61,9 +61,9 @@ class Ecwid_Store_Page {
61
 
62
  if ( $category ) {
63
  $url = $category->url;
64
- }
65
 
66
- return $url;
 
67
  }
68
 
69
  return self::get_store_url() . '#!/c/' . $id;
@@ -109,10 +109,36 @@ class Ecwid_Store_Page {
109
 
110
  $id = get_option( self::OPTION_MAIN_STORE_PAGE_ID );
111
  if ( $id ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
112
  $status = get_post_status( $id );
113
 
114
  if (in_array($status, self::_get_allowed_post_statuses())) {
115
  $page_id = $id;
 
 
 
116
  }
117
  }
118
  }
@@ -201,7 +227,9 @@ class Ecwid_Store_Page {
201
  }
202
 
203
  public static function flush_rewrites() {
204
- flush_rewrite_rules();
 
 
205
 
206
  update_option( self::OPTION_FLUSH_REWRITES, 0 );
207
  }
61
 
62
  if ( $category ) {
63
  $url = $category->url;
 
64
 
65
+ return $url;
66
+ }
67
  }
68
 
69
  return self::get_store_url() . '#!/c/' . $id;
109
 
110
  $id = get_option( self::OPTION_MAIN_STORE_PAGE_ID );
111
  if ( $id ) {
112
+
113
+ $post = get_post( $id );
114
+ $changed = false;
115
+
116
+ while ( is_null( $post ) ) {
117
+
118
+ $changed = true;
119
+
120
+ $pages = self::get_store_pages_array();
121
+ $ind = array_search( $id, $pages );
122
+
123
+ if ( $ind !== false ) {
124
+ unset($pages[$ind]);
125
+ $pages = self::_set_store_pages($pages);
126
+ }
127
+
128
+ if ( count( $pages ) == 0 ) {
129
+ return false;
130
+ }
131
+
132
+ $id = $pages[0];
133
+ $post = get_post($id);
134
+ }
135
  $status = get_post_status( $id );
136
 
137
  if (in_array($status, self::_get_allowed_post_statuses())) {
138
  $page_id = $id;
139
+ if ( $changed ) {
140
+ update_option( self::OPTION_MAIN_STORE_PAGE_ID, $id );
141
+ }
142
  }
143
  }
144
  }
227
  }
228
 
229
  public static function flush_rewrites() {
230
+ if ( get_option( self::OPTION_FLUSH_REWRITES ) == 1) {
231
+ flush_rewrite_rules();
232
+ }
233
 
234
  update_option( self::OPTION_FLUSH_REWRITES, 0 );
235
  }
includes/oembed.php CHANGED
@@ -14,7 +14,7 @@ function ecwid_get_embed_content()
14
  $root_category_id = 0;
15
 
16
  $post_content = get_post(get_the_ID())->post_content;
17
- $shortcodes = ecwid_find_shortcodes($post_content, 'ecwid');
18
 
19
  if (!$shortcodes || !isset($shortcodes[0]) || !isset($shortcodes[0][3])) {
20
  return;
14
  $root_category_id = 0;
15
 
16
  $post_content = get_post(get_the_ID())->post_content;
17
+ $shortcodes = ecwid_find_shortcodes($post_content, Ecwid_Shortcode_Base::get_store_shortcode_name());
18
 
19
  if (!$shortcodes || !isset($shortcodes[0]) || !isset($shortcodes[0][3])) {
20
  return;
includes/shortcodes.php CHANGED
@@ -12,17 +12,24 @@ add_shortcode('ecwid_search', 'ecwid_render_shortcode');
12
  add_shortcode('ecwid_categories', 'ecwid_render_shortcode');
13
  add_shortcode('ecwid_product', 'ecwid_render_shortcode');
14
  add_shortcode('ecwid_searchbox', 'ecwid_searchbox_shortcode');
 
15
 
16
  function ecwid_render_shortcode($params, $content = '', $name) {
17
  $names = array('productbrowser', 'minicart', 'search', 'categories', 'product');
18
 
19
- $prefix = substr($name, 0, 6);
20
 
21
- if ($prefix != 'ecwid_') return '';
 
 
 
 
 
 
 
22
 
23
- $base = substr($name, 6);
24
 
25
- if (in_array($base, $names)) {
26
  $classname = 'Ecwid_Shortcode_' . $base;
27
 
28
  $shortcode = new $classname($params);
12
  add_shortcode('ecwid_categories', 'ecwid_render_shortcode');
13
  add_shortcode('ecwid_product', 'ecwid_render_shortcode');
14
  add_shortcode('ecwid_searchbox', 'ecwid_searchbox_shortcode');
15
+ add_shortcode('ec_product', 'ecwid_render_shortcode');
16
 
17
  function ecwid_render_shortcode($params, $content = '', $name) {
18
  $names = array('productbrowser', 'minicart', 'search', 'categories', 'product');
19
 
 
20
 
21
+ $expected_prefix = 'ecwid_';
22
+ if ( Ecwid_Config::is_wl() ) {
23
+ $expected_prefix = 'ec_';
24
+ }
25
+
26
+ $prefix = substr( $name, 0, strlen( $expected_prefix ) );
27
+
28
+ if ( $prefix != $expected_prefix ) return '';
29
 
30
+ $base = substr( $name, strlen( $expected_prefix ) );
31
 
32
+ if ( in_array( $base, $names ) ) {
33
  $classname = 'Ecwid_Shortcode_' . $base;
34
 
35
  $shortcode = new $classname($params);
includes/shortcodes/class-ecwid-shortcode-base.php CHANGED
@@ -8,7 +8,10 @@ abstract class Ecwid_Shortcode_Base {
8
 
9
  static protected $shortcodes = array();
10
 
11
- abstract public function get_shortcode_name();
 
 
 
12
  abstract protected function _process_params( $shortcode_params = array() );
13
  abstract public function get_ecwid_widget_function_name();
14
 
@@ -26,6 +29,14 @@ abstract class Ecwid_Shortcode_Base {
26
  self::$shortcodes[$this->get_shortcode_name()][] = $this;
27
  }
28
 
 
 
 
 
 
 
 
 
29
  public function wrap_code($code) {
30
 
31
  $version = get_option('ecwid_plugin_version');
8
 
9
  static protected $shortcodes = array();
10
 
11
+ static public function get_shortcode_name() {
12
+ return 'ec_store';
13
+ }
14
+
15
  abstract protected function _process_params( $shortcode_params = array() );
16
  abstract public function get_ecwid_widget_function_name();
17
 
29
  self::$shortcodes[$this->get_shortcode_name()][] = $this;
30
  }
31
 
32
+ public static function get_store_shortcode_name() {
33
+ if ( Ecwid_Config::is_wl() ) {
34
+ return 'ec_store';
35
+ }
36
+
37
+ return 'ecwid';
38
+ }
39
+
40
  public function wrap_code($code) {
41
 
42
  $version = get_option('ecwid_plugin_version');
includes/shortcodes/class-ecwid-shortcode-categories.php CHANGED
@@ -8,7 +8,7 @@ class Ecwid_Shortcode_Categories extends Ecwid_Shortcode_Base {
8
  $this->_should_render = (isset($params['is_ecwid_shortcode']) && $params['is_ecwid_shortcode']) ? true : get_option('ecwid_show_categories');
9
  }
10
 
11
- public function get_shortcode_name() {
12
  return 'categories';
13
  }
14
 
8
  $this->_should_render = (isset($params['is_ecwid_shortcode']) && $params['is_ecwid_shortcode']) ? true : get_option('ecwid_show_categories');
9
  }
10
 
11
+ public static function get_shortcode_name() {
12
  return 'categories';
13
  }
14
 
includes/shortcodes/class-ecwid-shortcode-minicart.php CHANGED
@@ -41,7 +41,7 @@ class Ecwid_Shortcode_Minicart extends Ecwid_Shortcode_Base {
41
  $this->_should_render = ! empty( $ecwid_enable_minicart ) && ! empty( $ecwid_show_categories );
42
  }
43
 
44
- public function get_shortcode_name() {
45
  return 'minicart';
46
  }
47
 
41
  $this->_should_render = ! empty( $ecwid_enable_minicart ) && ! empty( $ecwid_show_categories );
42
  }
43
 
44
+ public static function get_shortcode_name() {
45
  return 'minicart';
46
  }
47
 
includes/shortcodes/class-ecwid-shortcode-product.php CHANGED
@@ -5,7 +5,11 @@ require_once ECWID_SHORTCODES_DIR . '/class-ecwid-shortcode-base.php';
5
  class Ecwid_Shortcode_Product extends Ecwid_Shortcode_Base {
6
 
7
  protected $_version;
8
- public function get_shortcode_name() {
 
 
 
 
9
  return 'product';
10
  }
11
 
@@ -18,7 +22,7 @@ class Ecwid_Shortcode_Product extends Ecwid_Shortcode_Base {
18
  'version' => '1',
19
  'show_border' => '1',
20
  'show_price_on_button' => '1',
21
- 'center_align' => '0'
22
  ),
23
  $shortcode_params
24
  );
5
  class Ecwid_Shortcode_Product extends Ecwid_Shortcode_Base {
6
 
7
  protected $_version;
8
+ public static function get_shortcode_name() {
9
+ if ( Ecwid_Config::is_wl() ) {
10
+ return 'ec_product';
11
+ }
12
+
13
  return 'product';
14
  }
15
 
22
  'version' => '1',
23
  'show_border' => '1',
24
  'show_price_on_button' => '1',
25
+ 'center_align' => '1'
26
  ),
27
  $shortcode_params
28
  );
includes/shortcodes/class-ecwid-shortcode-productbrowser.php CHANGED
@@ -4,7 +4,7 @@ require_once ECWID_SHORTCODES_DIR . '/class-ecwid-shortcode-base.php';
4
 
5
  class Ecwid_Shortcode_ProductBrowser extends Ecwid_Shortcode_Base {
6
 
7
- public function get_shortcode_name() {
8
  return 'productbrowser';
9
  }
10
 
@@ -60,46 +60,46 @@ HTML;
60
  */
61
  public function _build_html_catalog($store_id, $params)
62
  {
63
- include_once ECWID_PLUGIN_DIR . 'lib/ecwid_product_api.php';
64
- include_once ECWID_PLUGIN_DIR . 'lib/ecwid_catalog.php';
65
 
66
- $page_url = get_page_link();
67
 
68
- $catalog = new EcwidCatalog($store_id, $page_url);
69
 
70
- $url = false;
71
 
72
- if (isset($params['mode']) && !empty($params['mode'])) {
73
- if ($params['mode'] == 'product') {
74
- $plain_content = $catalog->get_product($params['id']);
75
  $url = Ecwid_Store_Page::get_product_url($params['id']);
76
- } elseif ($params['mode'] == 'category') {
77
  $plain_content = $catalog->get_category($params['id']);
78
  $url = Ecwid_Store_Page::get_category_url($params['id']);
79
- }
80
 
81
- } else {
82
 
83
  $id = intval( $this->_get_param_default_category_id( $params ) );
84
- $plain_content = $catalog->get_category($id);
85
  if ( empty( $plain_content ) || !isset( $params['id'] ) ) {
86
- $plain_content = $catalog->get_category(0);
87
- } else {
88
- $url = Ecwid_Store_Page::get_category_url( $params['id'] );
 
89
  }
90
- }
91
 
92
  if ( $url && !Ecwid_Seo_Links::is_product_browser_url() ) {
93
- $parsed = parse_url($url);
94
 
95
  if ($parsed['fragment']) {
96
  $plain_content .= '<script data-cfasync="false" type="text/javascript"> if (!document.location.hash) document.location.hash = "' . $parsed['fragment'] . '";</script>';
97
  return $plain_content;
98
- } else {
99
- $plain_content .= '<script data-cfasync="false" type="text/javascript"> document.location = "' . esc_js($url) . '";</script>';
100
  return $plain_content;
 
101
  }
102
- }
103
  return $plain_content;
104
  }
105
 
4
 
5
  class Ecwid_Shortcode_ProductBrowser extends Ecwid_Shortcode_Base {
6
 
7
+ public static function get_shortcode_name() {
8
  return 'productbrowser';
9
  }
10
 
60
  */
61
  public function _build_html_catalog($store_id, $params)
62
  {
63
+ include_once ECWID_PLUGIN_DIR . 'lib/ecwid_product_api.php';
64
+ include_once ECWID_PLUGIN_DIR . 'lib/ecwid_catalog.php';
65
 
66
+ $page_url = get_page_link();
67
 
68
+ $catalog = new EcwidCatalog($store_id, $page_url);
69
 
70
+ $url = false;
71
 
72
+ if (isset($params['mode']) && !empty($params['mode'])) {
73
+ if ($params['mode'] == 'product') {
74
+ $plain_content = $catalog->get_product($params['id']);
75
  $url = Ecwid_Store_Page::get_product_url($params['id']);
76
+ } elseif ($params['mode'] == 'category') {
77
  $plain_content = $catalog->get_category($params['id']);
78
  $url = Ecwid_Store_Page::get_category_url($params['id']);
79
+ }
80
 
81
+ } else {
82
 
83
  $id = intval( $this->_get_param_default_category_id( $params ) );
84
+ $plain_content = $catalog->get_category($id);
85
  if ( empty( $plain_content ) || !isset( $params['id'] ) ) {
86
+ $plain_content = $catalog->get_category(0);
87
+ } else {
88
+ $url = Ecwid_Store_Page::get_category_url( $params['id'] );
89
+ }
90
  }
 
91
 
92
  if ( $url && !Ecwid_Seo_Links::is_product_browser_url() ) {
93
+ $parsed = parse_url($url);
94
 
95
  if ($parsed['fragment']) {
96
  $plain_content .= '<script data-cfasync="false" type="text/javascript"> if (!document.location.hash) document.location.hash = "' . $parsed['fragment'] . '";</script>';
97
  return $plain_content;
98
+ } else {
99
+ $plain_content .= '<script data-cfasync="false" type="text/javascript"> document.location = "' . esc_js($url) . '";</script>';
100
  return $plain_content;
101
+ }
102
  }
 
103
  return $plain_content;
104
  }
105
 
includes/shortcodes/class-ecwid-shortcode-search.php CHANGED
@@ -8,7 +8,7 @@ class Ecwid_Shortcode_Search extends Ecwid_Shortcode_Base {
8
  $this->_should_render = (isset($params['is_ecwid_shortcode']) && $params['is_ecwid_shortcode']) ? true : get_option('ecwid_show_search_box');
9
  }
10
 
11
- public function get_shortcode_name() {
12
  return 'search';
13
  }
14
 
8
  $this->_should_render = (isset($params['is_ecwid_shortcode']) && $params['is_ecwid_shortcode']) ? true : get_option('ecwid_show_search_box');
9
  }
10
 
11
+ public static function get_shortcode_name() {
12
  return 'search';
13
  }
14
 
includes/themes.php CHANGED
@@ -53,11 +53,14 @@ function ecwid_apply_theme($theme_name = null)
53
  'zerif-lite' => array( 'css-no-parent' ),
54
  'storefront' => array( 'css' ),
55
  'salient' => array( 'css-no-parent'),
56
- 'flora' => array( 'js' ),
57
- 'thevoux-wp' => array( 'js' ),
58
  'zerogravity' => array( 'css' ),
59
  'skt-design-agency-pro' => array( 'css-no-parent' ),
60
- 'uncode' => array( 'css-no-parent' )
 
 
 
61
  );
62
  $generic_themes = apply_filters('ecwid_generic_themes', $generic_themes);
63
 
@@ -98,7 +101,8 @@ function ecwid_apply_theme($theme_name = null)
98
  require_once( $theme_file );
99
  }
100
  } else if ( array_key_exists( $theme_name, $generic_themes ) ) {
101
- Ecwid_Theme_Base::create( $theme_name, $generic_themes[$theme_name] );
 
102
  }
103
  }
104
 
53
  'zerif-lite' => array( 'css-no-parent' ),
54
  'storefront' => array( 'css' ),
55
  'salient' => array( 'css-no-parent'),
56
+ 'flora' => array( 'historyjs_html4mode' ),
57
+ 'thevoux-wp' => array( 'historyjs_html4mode' ),
58
  'zerogravity' => array( 'css' ),
59
  'skt-design-agency-pro' => array( 'css-no-parent' ),
60
+ 'uncode' => array( 'css-no-parent' ),
61
+ 'ribosome' => array( 'css' ),
62
+ 'optimizepress' => array( 'css' ),
63
+ 'edge' => array( 'js', 'scroll' )
64
  );
65
  $generic_themes = apply_filters('ecwid_generic_themes', $generic_themes);
66
 
101
  require_once( $theme_file );
102
  }
103
  } else if ( array_key_exists( $theme_name, $generic_themes ) ) {
104
+ global $ecwid_current_theme;
105
+ $ecwid_current_theme = Ecwid_Theme_Base::create( $theme_name, $generic_themes[$theme_name] );
106
  }
107
  }
108
 
includes/themes/class-ecwid-theme-base.php CHANGED
@@ -12,6 +12,10 @@ class Ecwid_Theme_Base {
12
  protected $has_css = false;
13
  protected $css_parent = false;
14
 
 
 
 
 
15
  public function __construct()
16
  {
17
  }
@@ -39,6 +43,10 @@ class Ecwid_Theme_Base {
39
  $theme->add_css( '' );
40
  }
41
 
 
 
 
 
42
  return $theme;
43
  }
44
 
12
  protected $has_css = false;
13
  protected $css_parent = false;
14
 
15
+ public $historyjs_html4mode = false;
16
+
17
+ public static $instance = null;
18
+
19
  public function __construct()
20
  {
21
  }
43
  $theme->add_css( '' );
44
  }
45
 
46
+ if (in_array( 'historyjs_html4mode', $props ) ) {
47
+ $theme->historyjs_html4mode = true;
48
+ }
49
+
50
  return $theme;
51
  }
52
 
includes/widgets.php CHANGED
@@ -21,7 +21,10 @@ function ecwid_sidebar_widgets_init() {
21
  return;
22
  }
23
 
24
- register_widget('Ecwid_Widget_Badge');
 
 
 
25
  register_widget('Ecwid_Widget_Search');
26
 
27
  register_widget('Ecwid_Widget_Minicart_Miniview');
21
  return;
22
  }
23
 
24
+ if ( !Ecwid_Config::is_wl() ) {
25
+ register_widget('Ecwid_Widget_Badge');
26
+ }
27
+
28
  register_widget('Ecwid_Widget_Search');
29
 
30
  register_widget('Ecwid_Widget_Minicart_Miniview');
includes/widgets/class-ecwid-widget-recently-viewed.php CHANGED
@@ -113,7 +113,7 @@ HTML;
113
  <script type="text/javascript">
114
  <!--
115
  jQuery(document).ready(function() {
116
- jQuery('#$this->id .ecwid-recently-viewed-products').recentlyViewedProducts();
117
  });
118
  -->
119
  </script>
113
  <script type="text/javascript">
114
  <!--
115
  jQuery(document).ready(function() {
116
+ jQuery('.ecwid-recently-viewed-products:not([data-rvp-initialized=1])').recentlyViewedProducts().attr('data-rvp-initialized', 1);
117
  });
118
  -->
119
  </script>
includes/widgets/class-ecwid-widget-search.php CHANGED
@@ -6,7 +6,7 @@ class Ecwid_Widget_Search extends WP_Widget {
6
  }
7
 
8
  function __construct() {
9
- $widget_ops = array('classname' => 'widget_ecwid_search', 'description' => __("Displays a simple search box for your customers to find a product in your storex", 'ecwid-shopping-cart'));
10
  parent::__construct('ecwidsearch', __('Product Search', 'ecwid-shopping-cart'), $widget_ops);
11
  }
12
 
6
  }
7
 
8
  function __construct() {
9
+ $widget_ops = array('classname' => 'widget_ecwid_search', 'description' => __("Displays a simple search box for your customers to find a product in your store", 'ecwid-shopping-cart'));
10
  parent::__construct('ecwidsearch', __('Product Search', 'ecwid-shopping-cart'), $widget_ops);
11
  }
12
 
js/admin.js CHANGED
@@ -106,18 +106,18 @@ jQuery(document).ready(function() {
106
 
107
  var admin_pages = [
108
  {
109
- url: ecwid_l10n.dashboard_url,
110
- title: ecwid_l10n.dashboard,
111
  place: 'dashboard'
112
  },
113
  {
114
- url: ecwid_l10n.products_url,
115
- title: ecwid_l10n.products,
116
  place: 'products'
117
  },
118
  {
119
- url: ecwid_l10n.orders_url,
120
- title: ecwid_l10n.orders,
121
  place: 'orders'
122
  }
123
  ];
@@ -127,11 +127,11 @@ jQuery(document).ready(function() {
127
  jQuery('#ecwid-frame').addClass('has-wp-message');
128
  }
129
  for (var i = 0; i < admin_pages.length; i++) {
130
- jQuery('li.toplevel_page_ecwid .wp-submenu a[href="' + admin_pages[i].url + '"]')
131
  .data('ecwid-menu', admin_pages[i])
132
  .click(function() {
133
  var ecwidMenu = jQuery(this).data('ecwid-menu');
134
- jQuery('.toplevel_page_ecwid *.current').removeClass('current');
135
  jQuery(this).addClass('current').closest('li').addClass('current');
136
 
137
  ecwidOpenAdminPage(ecwidMenu.place);
@@ -173,12 +173,12 @@ prepareVerticalCategoriesWidget = function(element) {
173
  $target = jQuery('<p class="ecwid-cats-reset-cache">').appendTo(jQuery('.ecwid-reset-categories-cache-block', element));
174
 
175
  jQuery('<span>')
176
- .text(ecwid_l10n.cache_updated)
177
  .addClass('ecwid-reset-categories-cache-updated')
178
  .appendTo($target);
179
 
180
  var a = jQuery('<a>')
181
- .text(ecwid_l10n.reset_cats_cache)
182
  .attr('href', 'javascript:void(0);')
183
  .addClass('ecwid-reset-categories-cache')
184
  .appendTo($target);
106
 
107
  var admin_pages = [
108
  {
109
+ url: ecwid_params.dashboard_url,
110
+ title: ecwid_params.dashboard,
111
  place: 'dashboard'
112
  },
113
  {
114
+ url: ecwid_params.products_url,
115
+ title: ecwid_params.products,
116
  place: 'products'
117
  },
118
  {
119
+ url: ecwid_params.orders_url,
120
+ title: ecwid_params.orders,
121
  place: 'orders'
122
  }
123
  ];
127
  jQuery('#ecwid-frame').addClass('has-wp-message');
128
  }
129
  for (var i = 0; i < admin_pages.length; i++) {
130
+ jQuery('li.toplevel_page_ec_store .wp-submenu a[href="' + admin_pages[i].url + '"]')
131
  .data('ecwid-menu', admin_pages[i])
132
  .click(function() {
133
  var ecwidMenu = jQuery(this).data('ecwid-menu');
134
+ jQuery('.toplevel_page_ec-store *.current').removeClass('current');
135
  jQuery(this).addClass('current').closest('li').addClass('current');
136
 
137
  ecwidOpenAdminPage(ecwidMenu.place);
173
  $target = jQuery('<p class="ecwid-cats-reset-cache">').appendTo(jQuery('.ecwid-reset-categories-cache-block', element));
174
 
175
  jQuery('<span>')
176
+ .text(ecwid_params.cache_updated)
177
  .addClass('ecwid-reset-categories-cache-updated')
178
  .appendTo($target);
179
 
180
  var a = jQuery('<a>')
181
+ .text(ecwid_params.reset_cats_cache)
182
  .attr('href', 'javascript:void(0);')
183
  .addClass('ecwid-reset-categories-cache')
184
  .appendTo($target);
js/historywa.js ADDED
@@ -0,0 +1,2 @@
 
 
1
+ if (!window.History.options) window.History.options = {};
2
+ window.History.options.html4Mode=1;
js/landing.js CHANGED
@@ -16,6 +16,12 @@ jQuery(document).ready(function(){
16
 
17
  jQuery('.create-store-button').click(function() {
18
 
 
 
 
 
 
 
19
  var $context = jQuery(this).closest('.ecwid-button');
20
  jQuery(hide_on_loading + ', ' + invisible_on_loading, $context).fadeTo(150, .01).promise().done(function() {
21
  jQuery(hide_on_loading, $context).hide();
@@ -33,7 +39,7 @@ jQuery(document).ready(function(){
33
 
34
  jQuery(show_on_success, $context).fadeIn(300);
35
  setTimeout(function() {
36
- location.href="admin.php?page=ecwid";
37
  }, 1000);
38
  })
39
  },
16
 
17
  jQuery('.create-store-button').click(function() {
18
 
19
+ if (ecwidParams.isWL) {
20
+ location.href = ecwidParams.registerLink;
21
+ return;
22
+ }
23
+
24
+
25
  var $context = jQuery(this).closest('.ecwid-button');
26
  jQuery(hide_on_loading + ', ' + invisible_on_loading, $context).fadeTo(150, .01).promise().done(function() {
27
  jQuery(hide_on_loading, $context).hide();
39
 
40
  jQuery(show_on_success, $context).fadeIn(300);
41
  setTimeout(function() {
42
+ location.href="admin.php?page=ec-store";
43
  }, 1000);
44
  })
45
  },
js/nav-menu.js CHANGED
@@ -1,11 +1,11 @@
1
  jQuery(document).ready(function() {
2
 
3
  var ecwidClasses = {};
4
- for (var i in ecwid_params.items) {
5
- ecwidClasses[i] = ecwid_params.items[i].name;
6
  }
7
 
8
- if (ecwid_params.first_run && jQuery('#ecwid_nav_links-hide:checked').length == 0) {
9
  jQuery('#ecwid_nav_links-hide').click();
10
  }
11
 
@@ -17,24 +17,24 @@ jQuery(document).ready(function() {
17
  if (jQuery(element).hasClass('ecwid-link')) return;
18
 
19
  jQuery(element).addClass('ecwid-link');
20
- jQuery(element).find('.item-type').text(ecwid_params.store_page);
21
 
22
  if (isStoreWithCategories(element)) {
23
 
24
  var $message = jQuery('<p>')
25
  .addClass('ecwid-store-with-cats-message')
26
- .text(ecwid_l10n.reset_cache_message)
27
  .insertAfter(jQuery('.field-move', element));
28
 
29
  $target = jQuery('<p class="ecwid-store-with-cats-reset-cache">').insertAfter($message);
30
 
31
  jQuery('<span>')
32
- .text(ecwid_l10n.cache_updated)
33
  .addClass('ecwid-reset-categories-cache-updated')
34
  .appendTo($target);
35
 
36
  jQuery('<a>')
37
- .text(ecwid_l10n.reset_cats_cache)
38
  .attr('href', 'javascript:void(0);')
39
  .addClass('ecwid-reset-categories-cache')
40
  .appendTo($target)
1
  jQuery(document).ready(function() {
2
 
3
  var ecwidClasses = {};
4
+ for (var i in ecwid_nav_menu_params.items) {
5
+ ecwidClasses[i] = ecwid_nav_menu_params.items[i].name;
6
  }
7
 
8
+ if (ecwid_nav_menu_params.first_run && jQuery('#ecwid_nav_links-hide:checked').length == 0) {
9
  jQuery('#ecwid_nav_links-hide').click();
10
  }
11
 
17
  if (jQuery(element).hasClass('ecwid-link')) return;
18
 
19
  jQuery(element).addClass('ecwid-link');
20
+ jQuery(element).find('.item-type').text(ecwid_nav_menu_params.store_page);
21
 
22
  if (isStoreWithCategories(element)) {
23
 
24
  var $message = jQuery('<p>')
25
  .addClass('ecwid-store-with-cats-message')
26
+ .text(ecwid_nav_menu_params.reset_cache_message)
27
  .insertAfter(jQuery('.field-move', element));
28
 
29
  $target = jQuery('<p class="ecwid-store-with-cats-reset-cache">').insertAfter($message);
30
 
31
  jQuery('<span>')
32
+ .text(ecwid_nav_menu_params.cache_updated)
33
  .addClass('ecwid-reset-categories-cache-updated')
34
  .appendTo($target);
35
 
36
  jQuery('<a>')
37
+ .text(ecwid_nav_menu_params.reset_cats_cache)
38
  .attr('href', 'javascript:void(0);')
39
  .addClass('ecwid-reset-categories-cache')
40
  .appendTo($target)
js/product-popup.js CHANGED
@@ -7,7 +7,7 @@ jQuery(document).ready(function() {
7
 
8
  jQuery('#insert-ecwid-product-button').click(function() {
9
  if (ecwidSpwParams && typeof ecwidSpwParams.no_token != 'undefined') {
10
- location.href='admin.php?page=ecwid&reconnect&reason=spw';
11
  return false;
12
  }
13
 
@@ -163,7 +163,7 @@ jQuery(document).ready(function() {
163
 
164
  var params_order = ['id', 'display', 'version', 'show_border', 'show_price_on_button', 'center_align'];
165
 
166
- var shortcode = '[ecwid_product';
167
 
168
  for (var i = 0; i < params_order.length; i++) {
169
  shortcode += ' ' + params_order[i] + '="' + params[params_order[i]] + '"';
7
 
8
  jQuery('#insert-ecwid-product-button').click(function() {
9
  if (ecwidSpwParams && typeof ecwidSpwParams.no_token != 'undefined') {
10
+ location.href='admin.php?page=ec-store&reconnect&reason=spw';
11
  return false;
12
  }
13
 
163
 
164
  var params_order = ['id', 'display', 'version', 'show_border', 'show_price_on_button', 'center_align'];
165
 
166
+ var shortcode = '[' + ecwid_params.product_shortcode;
167
 
168
  for (var i = 0; i < params_order.length; i++) {
169
  shortcode += ' ' + params_order[i] + '="' + params[params_order[i]] + '"';
js/store-editor-common.js CHANGED
@@ -4,7 +4,7 @@ function ecwid_get_store_shortcode(content) {
4
  var found = false;
5
  var index = 0;
6
 
7
- while (found = wp.shortcode.next('ecwid', content, index)) {
8
 
9
  if (found && (!found.shortcode.attrs.named.widgets || found.shortcode.attrs.named.widgets.toLowerCase().indexOf('productbrowser') != -1)) {
10
  break;
@@ -18,7 +18,7 @@ function ecwid_get_store_shortcode(content) {
18
 
19
  // Workaround for the caching bug that does allow to have properly parsed attributes
20
  if (found) {
21
- var tmpfound = wp.shortcode.next('ecwid', found.content.replace('[ecwid', '[ecwid timestamp="' + (new Date()).getMilliseconds() + '"'));
22
  found.shortcode.attrs = tmpfound.shortcode.attrs;
23
  delete found.shortcode.attrs.named.timestamp;
24
  }
4
  var found = false;
5
  var index = 0;
6
 
7
+ while (found = wp.shortcode.next(ecwid_params.store_shortcode, content, index)) {
8
 
9
  if (found && (!found.shortcode.attrs.named.widgets || found.shortcode.attrs.named.widgets.toLowerCase().indexOf('productbrowser') != -1)) {
10
  break;
18
 
19
  // Workaround for the caching bug that does allow to have properly parsed attributes
20
  if (found) {
21
+ var tmpfound = wp.shortcode.next(ecwid_params.store_shortcode, found.content.replace('[' + ecwid_params.store_shortcode, '[' + ecwid_params.store_shortcode+ ' timestamp="' + (new Date()).getMilliseconds() + '"'));
22
  found.shortcode.attrs = tmpfound.shortcode.attrs;
23
  delete found.shortcode.attrs.named.timestamp;
24
  }
js/store-editor-page.js CHANGED
@@ -233,7 +233,7 @@ jQuery(document).ready(function() {
233
  var shortcode = {};
234
  if (!existingShortcode) {
235
  shortcode.shortcode = new wp.shortcode();
236
- shortcode.shortcode.tag = 'ecwid';
237
  shortcode.shortcode.type = 'single';
238
  } else {
239
  shortcode = existingShortcode;
233
  var shortcode = {};
234
  if (!existingShortcode) {
235
  shortcode.shortcode = new wp.shortcode();
236
+ shortcode.shortcode.tag = ecwid_params.store_shortcode;
237
  shortcode.shortcode.type = 'single';
238
  } else {
239
  shortcode = existingShortcode;
js/themes/edge.js ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ jQuery(document).ready(function() {
2
+ var fixedNav = jQuery('#sticky_header');
3
+ jQuery('#ecwid_product_browser_scroller').css({
4
+ 'position': 'relative',
5
+ 'top': -fixedNav.height() - jQuery('.ecwid-shopping-cart-categories').height()
6
+ });
7
+ });
languages/ecwid-shopping-cart-pt_BR.mo CHANGED
Binary file
languages/ecwid-shopping-cart-pt_BR.po CHANGED
@@ -1,269 +1,1317 @@
1
- # This file was generated by Easy Translator Lite -- a WordPress plugin translator
2
- # Your Name:
3
- # Your Email: test@example.com
4
- # Your Website: wordpress36
5
- # Your URL: http://localhost/wordpress36
6
- # Your Locale: ru_RU (MO: /languages/ecwid-shopping-cart-ru_RU.mo)
7
- # Your Language: ru-RU
8
- #, fuzzy
9
-
10
- msgid "Ecwid Shopping Cart"
11
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
 
13
- msgid "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."
14
- msgstr ""
 
15
 
16
- msgid "Ecwid Team"
17
- msgstr ""
 
18
 
19
- msgid "Get help"
20
- msgstr "Obter Ajuda"
 
21
 
22
- msgid "Go to Ecwid site"
23
- msgstr "Ir para o sítio Ecwid"
 
24
 
25
- msgid "Visit storefront"
26
- msgstr "Visitar frente da loja"
 
27
 
28
- msgid "Manage my store"
29
- msgstr "Gerir a minha loja"
 
 
 
 
30
 
31
- msgid "Manage plugin settings"
32
- msgstr "Gerir definições de plugin"
 
33
 
34
- msgid "→ Sell on Facebook"
35
- msgstr "→ Vender no Facebook"
 
36
 
37
- msgid "Online store powered by <a %s>Ecwid</a>"
38
- msgstr ""
 
39
 
40
- msgid "Store"
41
- msgstr "Loja"
 
 
42
 
43
- msgid "<strong>Ecwid shopping cart is almost ready</strong>. Please visit <a target=\"_blank\" href=\"%s\">the created page</a> to see your store with demo products. In order to finish the installation, please go to the <a href=\"admin.php?page=ecwid\"><strong>Ecwid settings</strong></a> and configure the plugin."
44
- msgstr "<strong> O carrinho de compras Ecwid está quase pronto </strong> Por favor visite <a target=\"_blank\" href=\"%s\">a página criada</a> para ver os produtos demonstração na sua loja. De modo a terminar a instalação, por favor vá a <a href=\"admin.php?page=ecwid\"><strong>definições Ecwid </strong></a> e configure o plugin."
 
45
 
46
- msgid "Do you like your Ecwid online store? We'd appreciate it if you <a %s>add your review and vote</a> for the plugin on Wordpress site. (<a id=\"hide-vote-message\">Close</a> and do not show this message anymore)"
47
- msgstr ""
 
48
 
49
- msgid "Ecwid shopping cart settings"
50
- msgstr ""
 
51
 
52
- msgid "Ecwid Store"
53
- msgstr "Loja Ecwid"
 
54
 
55
- msgid "General settings"
56
- msgstr "Definições Gerais"
 
57
 
58
- msgid "General"
59
- msgstr "Geral"
 
60
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  msgid "Appearance settings"
62
- msgstr "Definições de Aparência"
63
 
 
 
64
  msgid "Appearance"
65
  msgstr "Aparência"
66
 
 
67
  msgid "Advanced settings"
68
- msgstr "Definições Avançadas"
69
 
 
70
  msgid "Advanced"
71
- msgstr "Avançadas"
72
 
73
- msgid "Setup"
74
- msgstr ""
 
 
 
 
 
75
 
76
- msgid "Your store's minicart"
77
- msgstr "O minicart da sua loja"
 
78
 
79
- msgid "Ecwid Shopping Bag (Normal)"
80
- msgstr "Saco de compras Ecwid (Normal)"
 
81
 
82
- msgid "Ecwid Shopping Bag (Mini view)"
83
- msgstr "Saco de compras Ecwid (Vista mini)"
 
84
 
85
- msgid "Your store's search box"
86
- msgstr "A barra de pesquisa da sua loja"
 
87
 
88
- msgid "Ecwid Search Box"
89
- msgstr "Barra de pesquisa Ecwid"
 
90
 
91
- msgid "Vertical menu of categories"
92
- msgstr "Menu vertical de categorias"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
 
94
- msgid "Ecwid Vertical Categories"
95
- msgstr "Categorias verticais Ecwid"
 
96
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  msgid "Price"
98
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
 
100
- msgid "Ecwid Shopping Cart — Advanced settings"
101
- msgstr "Carrinho de compras Ecwid — Definições Avançadas"
 
102
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
  msgid "Category shown by default"
104
- msgstr "Categoria mostrada por defeito"
105
 
 
106
  msgid "Store root category"
107
- msgstr "Categoria de raiz de loja"
108
-
109
- msgid "Default category ID"
110
- msgstr "Identificação de categoria por defeito"
111
 
 
112
  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."
113
- msgstr "Por defeito, a frente de loja mostra uma lista de categorias de raiz. Você pode ignorar este comportamento e mostrar uma categoria diferente quando os clientes abrirem a sua loja pela primeira vez. É util se você tem apenas uma categoria ou quer mostrar produtos especifícos (e.g. \"Produtos em Destaque\") para todos os novos visitantes."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
 
115
- msgid "In order to set this option, <a %s>find an ID of the necessary category</a> and save it here."
116
- msgstr "De modo a configurar esta opção, <a %s> encontra um ID da categoria necessária</a>, salvando-a."
 
117
 
118
- msgid "Single Sign-On Secret Key"
119
- msgstr "Chave Secreta e Iniciar Sessão Único"
 
120
 
121
- msgid "Single Sign-On Secret Key is an option that allows your customers access to your WordPress site as well as the Ecwid shopping cart. When customers log in to your site, they will automatically be logged in to your Ecwid store as well. It makes sense to enable this feature if your visitors actually create accounts in your WordPress website."
122
- msgstr "Esta característica opcional permite ativar o Iniciar Sessão Único: Quando os clientes estão inscritos no seu sítio, eles automaticamente se ligam na sua loja Ecwid, mesmo que eles não tenham conta na loja antes. Faz sentido ativar esta característica, se os seus visitantes realmente criarem contas no seu sítio WordPress."
 
123
 
124
- msgid "In order to enable this feature, opt to use a secret key. You will find this key in your Ecwid control panel, at \"System Settings > API > Single Sign-On API\" page. This feature is available for <a href=\"http://www.ecwid.com/compare-plans.html\" target=\"_blank\">paid users</a> only."
125
- msgstr "De modo a ativar esta caracterísitca você deverá submeter uma chave secreta. Você encontrará essa chave no painel de controle Ecwid, nas \"Definições de Sistema\" > API > Iniciar Sessão Único na página API. Esta característica está disponível para <a href=\"http://www.ecwid.com/compare-plans.html\" target=\"_blank\">usuários pagos</a> apenas."
 
126
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
127
  msgid "Save changes"
128
  msgstr "Salvar alterações"
129
 
130
- msgid "Ecwid Shopping Cart — Appearance settings"
131
- msgstr "Carrinho de compras Ecwid Definições Aparência"
 
132
 
 
133
  msgid "Display search box above products"
134
- msgstr "Mostrar barra de pesquisa acima dos produtos"
135
 
 
136
  msgid "Or you can add search box to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
137
- msgstr "Ou você pode adicionar uma barra de pesquisa no seu sítio usando <a href=\"%s\">widgets nativos do WordPress</a>"
138
 
139
- msgid "Display horizontal categories above products"
140
- msgstr "Mostrar categorias horizontais acima dos produtos"
 
141
 
 
142
  msgid "Or you can add vertical categories to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
143
- msgstr "Ou você pode adicionar categorias verticais na barra de ferramentas do seu sítio através de <a href=\"%s\">widgets nativos do WordPress</a>"
144
 
145
- msgid "Enable minicart attached to horizontal categories"
146
- msgstr "Ativar minicart anexado às categorias horizontais"
 
147
 
 
148
  msgid "You should disable this option, if you added minicart to your website's&nbsp;sidebar"
149
- msgstr "Deverá desativar esta opção se você adicionou o minicart à barra lateral do seu sítio"
150
 
 
151
  msgid "Number of categories per row"
152
- msgstr "Número de categorias por fila"
153
 
 
154
  msgid "Number of products per page"
155
- msgstr "Número de produtos por página"
156
 
 
157
  msgid "Grid view"
158
- msgstr "Vista Grelha"
159
 
 
160
  msgid "List view"
161
- msgstr "Vista Lista"
162
 
 
163
  msgid "Table view"
164
- msgstr "Vista Tabela"
165
 
166
- msgid "Here you can control how many products will be displayed per page. These options define maximum values. If there is not enough space to show all product columns, Ecwid will adapt the number of columns to hold all products."
167
- msgstr "Aqui você poderá controlar quando produtos quer que sejam mostrados por página. Estas opções definem valores máximos. Se não houver espaço suficiente para mostrar todas as colunas de produtos, a Ecwid irá adaptar o número de colunas a mostrar todos os produtos."
 
168
 
 
169
  msgid "Default view mode on product pages"
170
- msgstr "Vista padrão nas páginas de produtos"
171
 
 
 
172
  msgid "Grid"
173
- msgstr "Grelha"
174
 
 
 
175
  msgid "List"
176
  msgstr "Lista"
177
 
 
 
178
  msgid "Table"
179
  msgstr "Tabela"
180
 
 
181
  msgid "Default view mode on search results"
182
- msgstr "Vista Padrão nos resultados de pesquisa"
183
-
184
- msgid "Store powered by Ecwid"
185
- msgstr ""
186
 
187
- msgid "Ecwid Shopping Cart — General settings"
188
- msgstr "Carrinho de Compras Ecwid — Definições Gerais"
 
 
189
 
190
- msgid "Thank you for choosing Ecwid to build your online store"
191
- msgstr "Obrigado por escolher Ecwid para construir a sua loja online"
 
192
 
193
- msgid "The first step towards opening your online business: <br />Let’s get started and add a store to your WordPress website in <strong>3</strong> simple steps."
194
- msgstr "Os primeiros passos para abrir o seu negócio online<br />Vamos começar e adicionar uma loja no seu sítio WordPress em <strong>3</strong> passos simples."
195
-
196
- msgid "Register at Ecwid"
197
- msgstr "Registe-se na Ecwid"
198
-
199
- msgid "Create a new Ecwid account which you will use to manage your store and inventory. The registration is free."
200
- msgstr "Crie uma nova conta Ecwid que você utilizará para gerir a sua loja e inventário. O registo é grátis."
201
-
202
- msgid "Create new Ecwid account"
203
- msgstr "Crie uma nova conta Ecwid"
204
 
205
- msgid "I already have Ecwid account, sign in"
206
- msgstr "Já tenho uma conta Ecwid, iniciar sessão"
 
 
207
 
208
- msgid "You will be able to sign up through your existing Google, Facebook or PayPal profiles as well."
209
- msgstr "Você conseguirá iniciar sessão atráves dos seus perfis existentes do Google, Facebook ou PayPal."
 
210
 
211
- msgid "Find your Store ID"
212
- msgstr "Obtenha a sua ID de loja"
 
213
 
214
- msgid "Store ID is a unique identifier of any Ecwid store, it consists of several digits. You can find it on the \"Dashboard\" page of Ecwid control panel. Also the Store ID will be sent in the Welcome email after the registration."
215
- msgstr "ID de loja é um identificador único de qualquer loja Ecwid, consiste em vários digitos. Poderá encontrá-lo no \"Painel\" da página \"Painel de Controle\" da Ecwid. Mais, a ID de loja será enviada na mensagem de correio eletrônico de boas-vindas após o registo. "
 
216
 
217
- msgid "Enter your Store ID"
218
- msgstr "Insira a sua ID de Loja"
 
219
 
220
- msgid "Enter your Store ID here:"
221
- msgstr "Insira a sua ID de Loja aqui:"
 
222
 
 
 
223
  msgid "Store ID"
224
- msgstr "ID de Loja "
225
-
226
- msgid "Save and connect your Ecwid store to the site"
227
- msgstr "Salve e conete a sua loja Ecwid ao sítio"
228
 
229
- msgid "Questions? Visit <a href=\"http://help.ecwid.com/?source=wporg\">Ecwid support center</a>"
230
- msgstr "Questões? Visite <a href=\"http://help.ecwid.com/?source=wporg\"> Centro de Apoio Ecwid</a>"
 
231
 
 
232
  msgid "Congratulations!"
233
  msgstr "Parabéns!"
234
 
235
- msgid "Your Ecwid store is now connected to your WordPress website"
236
- msgstr "A sua loja Ecwid está agora conetada ao seu sítio WorkPress"
 
237
 
 
238
  msgid "Greetings!"
239
  msgstr "Saudações!"
240
 
241
- msgid "Your Ecwid store is connected to your WordPress website"
242
- msgstr "A sua loja Ecwid está agora conetada ao seu sítio WorkPress"
 
243
 
244
- msgid "Control panel"
245
- msgstr "Painel de Controle"
 
246
 
247
- msgid "Account status"
248
- msgstr "Estado de Conta"
 
249
 
250
- msgid "Paid"
251
- msgstr "Pago"
 
252
 
253
- msgid "Free"
254
- msgstr "Grátis"
 
255
 
256
- msgid "Thank you for supporting Ecwid!"
257
- msgstr "Obrigado por apoiar Ecwid!"
 
258
 
259
- msgid "Upgrade to get access to cool premium features."
260
- msgstr "Atualize para ter acesso a características premium convenientes."
 
261
 
262
- msgid "Billing and plans"
263
- msgstr ""
 
264
 
265
- msgid "Upgrade"
266
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
267
 
268
- msgid "If you want to connect another Ecwid store, you can <a %s>disconnect the current one and change Store ID</a>."
269
- msgstr ""
1
+ msgid ""
 
 
 
 
 
 
 
 
 
2
  msgstr ""
3
+ "MIME-Version: 1.0\n"
4
+ "Content-Type: text/plain; charset=UTF-8\n"
5
+ "Content-Transfer-Encoding: 8bit\n"
6
+ "X-Generator: POEditor.com\n"
7
+ "Project-Id-Version: WP Ecwid\n"
8
+ "Language: pt-br\n"
9
+
10
+ #: ecwid-shopping-cart.php:748
11
+ msgid "%s plugin doesn't work well with my \"%s\" theme"
12
+ msgstr "O plugin %s não funciona bem com meu tema \"%s\""
13
+
14
+ #: ecwid-shopping-cart.php:763
15
+ msgid "I have a problem with my %s store"
16
+ msgstr "Tenho um problema com minha loja %s"
17
+
18
+ #: ecwid-shopping-cart.php:791 templates/dashboard.php:44
19
+ msgid "Visit storefront"
20
+ msgstr "Visitar a loja"
21
 
22
+ #: ecwid-shopping-cart.php:799
23
+ msgid "Manage my store"
24
+ msgstr "Gerenciar minha loja"
25
 
26
+ #: ecwid-shopping-cart.php:807
27
+ msgid "Read FAQ"
28
+ msgstr "Leia a FAQ"
29
 
30
+ #: ecwid-shopping-cart.php:809
31
+ msgid "https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-downloadable-"
32
+ msgstr "https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-downloadable-"
33
 
34
+ #: ecwid-shopping-cart.php:818
35
+ msgid "Report a problem with the store"
36
+ msgstr "Reportar um problema com minha loja"
37
 
38
+ #: ecwid-shopping-cart.php:1119
39
+ msgid "<a %s>Online store powered by %s</a>"
40
+ msgstr "<a %s>Online store powered by %s</a>"
41
 
42
+ #: ecwid-shopping-cart.php:1440 includes/class-ecwid-nav-menus.php:111
43
+ #: includes/class-ecwid-nav-menus.php:297
44
+ #: includes/class-ecwid-nav-menus.php:300
45
+ #: includes/class-ecwid-nav-menus.php:308
46
+ msgid "Store"
47
+ msgstr "Loja"
48
 
49
+ #: ecwid-shopping-cart.php:1684 includes/class-ecwid-admin.php:31
50
+ msgid "Setup"
51
+ msgstr "Instalação"
52
 
53
+ #: ecwid-shopping-cart.php:1684
54
+ msgid "Settings"
55
+ msgstr "Configurações"
56
 
57
+ #: ecwid-shopping-cart.php:1760 includes/class-ecwid-admin.php:33
58
+ msgid "Dashboard"
59
+ msgstr "Dashboard"
60
 
61
+ #: ecwid-shopping-cart.php:1762 includes/class-ecwid-admin.php:58
62
+ #: includes/class-ecwid-admin.php:59 includes/class-ecwid-products.php:234
63
+ msgid "Products"
64
+ msgstr "Produtos"
65
 
66
+ #: ecwid-shopping-cart.php:1764
67
+ msgid "Orders"
68
+ msgstr "Pedidos"
69
 
70
+ #: ecwid-shopping-cart.php:1766 includes/class-ecwid-nav-menus.php:144
71
+ msgid "Refresh categories list"
72
+ msgstr "Atualizar lista de categorias"
73
 
74
+ #: ecwid-shopping-cart.php:1767 includes/class-ecwid-nav-menus.php:145
75
+ msgid "Done"
76
+ msgstr "Feito"
77
 
78
+ #: ecwid-shopping-cart.php:1768 includes/class-ecwid-nav-menus.php:146
79
+ msgid "The store top-level categories are automatically added to this drop-down menu"
80
+ msgstr "As categorias de nível superior da loja são automaticamente adicionadas a este menu suspenso"
81
 
82
+ #: ecwid-shopping-cart.php:1877 includes/class-ecwid-oauth.php:335
83
+ msgid "To be able to choose a product to insert to your posts and pages, you will need to re-connect your site to your %s store. This will only require you to accept permissions request – so that the plugin will be able to list your products in the \"Add product\" dialog."
84
+ msgstr "Para escolher um produto que deseja inserir em suas postagens e páginas, você precisará reconectar seu site à sua loja %s. Isso somente irá requerer que você aceite o pedido de permissões - liberando o plugin para listar seus produtos na caixa de diálogo \"Adicionar produto\"."
85
 
86
+ #: ecwid-shopping-cart.php:2383
87
+ msgid "Recommendations for Your Online Store"
88
+ msgstr "Recomendações para sua loja online"
89
 
90
+ #: includes/class-ecwid-admin.php:21
91
+ msgid "%s shopping cart settings"
92
+ msgstr "Configurações de carrinho de compras %s"
93
+
94
+ #: includes/class-ecwid-admin.php:22
95
+ msgid "%s Store"
96
+ msgstr "Loja %s"
97
+
98
+ #: includes/class-ecwid-admin.php:48 includes/class-ecwid-admin.php:49
99
+ msgid "Sales"
100
+ msgstr "Vendas"
101
+
102
+ #: includes/class-ecwid-admin.php:68
103
  msgid "Appearance settings"
104
+ msgstr "Configurações de aparência"
105
 
106
+ #: includes/class-ecwid-admin.php:69 templates/product-popup.php:183
107
+ #: templates/store-popup.php:13 templates/store-popup.php:31
108
  msgid "Appearance"
109
  msgstr "Aparência"
110
 
111
+ #: includes/class-ecwid-admin.php:79
112
  msgid "Advanced settings"
113
+ msgstr "Configurações avançadas"
114
 
115
+ #: includes/class-ecwid-admin.php:80
116
  msgid "Advanced"
117
+ msgstr "Avançado"
118
 
119
+ #: includes/class-ecwid-admin.php:93 includes/class-ecwid-admin.php:94
120
+ msgid "Help"
121
+ msgstr "Ajuda"
122
+
123
+ #: includes/class-ecwid-integration-divibuilder.php:25
124
+ msgid "Ecwid"
125
+ msgstr "Ecwid"
126
 
127
+ #: includes/class-ecwid-integration-divibuilder.php:41
128
+ msgid "Content"
129
+ msgstr "Conteúdo"
130
 
131
+ #: includes/class-ecwid-integration-divibuilder.php:44
132
+ msgid "Here you can create the content that will be used within the module."
133
+ msgstr "Aqui você pode criar o conteúdo que será usado dentro do módulo."
134
 
135
+ #: includes/class-ecwid-integration-divibuilder.php:49
136
+ msgid "Admin Label"
137
+ msgstr "Administração"
138
 
139
+ #: includes/class-ecwid-integration-divibuilder.php:51
140
+ msgid "This will change the label of the module in the builder for easy identification."
141
+ msgstr "Isto alterará o rótulo do módulo no construtor para fácil identificação."
142
 
143
+ #: includes/class-ecwid-integration-divibuilder.php:54
144
+ msgid "CSS ID"
145
+ msgstr "ID CSS"
146
 
147
+ #: includes/class-ecwid-integration-divibuilder.php:57
148
+ msgid "Enter an optional CSS ID to be used for this module. An ID can be used to create custom CSS styling, or to create links to particular sections of your page."
149
+ msgstr "Informe uma ID CSS opcional para ser usado para este módulo. Um ID pode ser usado para criar estilo CSS personalizado, ou criar links para seções particulares de sua página."
150
+
151
+ #: includes/class-ecwid-integration-divibuilder.php:60
152
+ msgid "CSS Class"
153
+ msgstr "Classe CSS"
154
+
155
+ #: includes/class-ecwid-integration-divibuilder.php:63
156
+ msgid "Enter optional CSS classes to be used for this module. A CSS class can be used to create custom CSS styling. You can add multiple classes, separated with a space."
157
+ msgstr "Informe as classes CSS opcionais a serem usadas para este módulo. Uma classe CSS pode ser usada para criar estilo CSS personalizado. Você pode adicionar várias classes, separadas por um espaço."
158
+
159
+ #: includes/class-ecwid-message-manager.php:45
160
+ msgid "Sorry, there is a problem. This page is supposed to display your store Control Panel. However, this Wordpress site doesn't seem to be able to connect to the Ecwid server to show your store dashboard here. This is likely caused by your server misconfiguration and can be fixed by your hosting provider. Here is a more techy description of the problem, which you can send to your hosting provider: \"The Wordpress function wp_remote_post() failed to connect a remote server because of some error: \"%s\". Seems like HTTP POST requests are disabled on this server\". <br /><br />Please feel free to contact us at <a %s>wordpress@ecwid.com</a> and we will help you contact your hosting and ask them to fix the issue. <br /><br /> Meanwhile, to manage your store, you can use the Ecwid Web Control Panel at <a %s>my.ecwid.com</a>. Your store front is working fine as well and you can check it here: <a %s>%s</a>."
161
+ msgstr "Desculpe, parece que há um problema. Esta página deve exibir o Painel de Controle da sua loja. No entanto, este site do Wordpress não parece ser capaz de se conectar ao servidor para mostrar o painel aqui. Isso provavelmente é causado por uma configuração incorreta do servidor e pode ser corrigido pelo seu provedor de hospedagem. Aqui está uma descrição mais técnica do problema, que você pode enviar para o seu provedor de hospedagem: \"A função wp_remote_post () do Wordpress não conseguiu conectar um servidor remoto por causa de algum erro:\"% s \". Parece que as solicitações HTTP POST estão desativadas neste servidor \". <br /> <br /> Sinta-se à vontade para entrar em contato conosco em <a% s> wordpress@ecwid.com </a> e nós ajudaremos a fazer contato com sua hospedagem e pedir-lhes para corrigir o problema. <br /> <br /> Enquanto isso, para gerenciar sua loja, você pode usar o Web Control Panel em <a% s> my.ecwid.com </a>. A página inicial da loja está funcional e você pode verificá-la aqui: <a% s>% s </a>."
162
+
163
+ #: includes/class-ecwid-message-manager.php:59
164
+ msgid "Updated %s widgets are available for your %s store. They are more mobile friendly and look better. Please enable them on the plugin settings page and check how they work in your store. The new widgets will be enabled automatically for all users in one of the upcoming plugin versions."
165
+ msgstr "Os widgets% s atualizados estão disponíveis para sua loja% s. Eles são mais amigáveis e mais atraentes. Ative-os na página de configurações do plug-in e veja como eles funcionam em sua loja. Os novos widgets serão ativados automaticamente para todos os usuários em uma das próximas versões de plug-in."
166
+
167
+ #: includes/class-ecwid-message-manager.php:61
168
+ msgctxt "upgrade widgets message"
169
+ msgid "Categories"
170
+ msgstr "Categorias"
171
 
172
+ #: includes/class-ecwid-message-manager.php:203
173
+ msgid "Greetings! Your %s plugin is now active."
174
+ msgstr "Saudações! Seu plugin %s está ativo."
175
 
176
+ #: includes/class-ecwid-message-manager.php:204
177
+ msgid "Take a few simple steps to complete store setup"
178
+ msgstr "Execute algumas etapas simples para concluir a configuração da loja"
179
+
180
+ #: includes/class-ecwid-message-manager.php:205
181
+ msgid "Set up %s Store"
182
+ msgstr "Configurar a Loja %s"
183
+
184
+ #: includes/class-ecwid-message-manager.php:213
185
+ msgid "Your store is almost ready!"
186
+ msgstr "Sua loja está quase pronta!"
187
+
188
+ #: includes/class-ecwid-message-manager.php:214
189
+ msgid "Complete setup and start selling"
190
+ msgstr "Configuração completa e inicie a vender"
191
+
192
+ #: includes/class-ecwid-message-manager.php:215
193
+ msgid "Complete Setup"
194
+ msgstr "Configuração Completa"
195
+
196
+ #: includes/class-ecwid-message-manager.php:221
197
+ msgid "To add extra functions to your store, drag and drop %s store elements on your site. When you're done, you can get back to modifying your settings."
198
+ msgstr "Para adicionar funções extras à sua loja, arraste e solte elementos da loja% s no seu site. Quando terminar, pode voltar a modificar as suas definições."
199
+
200
+ #: includes/class-ecwid-message-manager.php:222
201
+ msgid "Back to Store Settings"
202
+ msgstr "Voltar para as configurações da loja"
203
+
204
+ #: includes/class-ecwid-message-manager.php:229
205
+ msgid "Do you like your %s online store? We'd appreciate it if you add your review and vote for the plugin on WordPress site."
206
+ msgstr "Gostou de sua loja %s? Agradeceríamos se você adicionasse seu comentário e votasse em nosso plugin no site do WordPress."
207
+
208
+ #: includes/class-ecwid-message-manager.php:233
209
+ msgid "Rate %s at WordPress.org"
210
+ msgstr "Avalie %s no WordPress.org"
211
+
212
+ #: includes/class-ecwid-message-manager.php:248
213
+ msgid "Open %s store settings"
214
+ msgstr "Abrir as configurações da loja %s"
215
+
216
+ #: includes/class-ecwid-nav-menus.php:25
217
+ msgid "Ecwid Menu Item"
218
+ msgstr "Item de menu Ecwid"
219
+
220
+ #: includes/class-ecwid-nav-menus.php:143
221
+ msgid "Store Page"
222
+ msgstr "Página da loja"
223
+
224
+ #: includes/class-ecwid-nav-menus.php:254
225
+ msgid "Select All"
226
+ msgstr "Selecionar tudo"
227
+
228
+ #: includes/class-ecwid-nav-menus.php:257
229
+ msgid "Add to Menu"
230
+ msgstr "Adicionar ao menu"
231
+
232
+ #: includes/class-ecwid-nav-menus.php:273
233
+ msgid "Cart"
234
+ msgstr "Carrinho"
235
+
236
+ #: includes/class-ecwid-nav-menus.php:276
237
+ #: includes/widgets/class-ecwid-widget-minicart.php:6
238
+ msgid "Shopping Cart"
239
+ msgstr "Carrinho de Compras"
240
+
241
+ #: includes/class-ecwid-nav-menus.php:281
242
+ #: includes/class-ecwid-nav-menus.php:284
243
+ #: includes/widgets/class-ecwid-widget-search.php:10
244
+ msgid "Product Search"
245
+ msgstr "Pesquisa de Produto"
246
+
247
+ #: includes/class-ecwid-nav-menus.php:289
248
+ #: includes/class-ecwid-nav-menus.php:292
249
+ msgid "My Account"
250
+ msgstr "Minha Conta"
251
+
252
+ #: includes/class-ecwid-nav-menus.php:305
253
+ msgid "Store with Categories Menu"
254
+ msgstr "Loja com Menu de Categorias"
255
+
256
+ #: includes/class-ecwid-product-popup.php:91
257
+ msgid "Add Product"
258
+ msgstr "Adicionar Produto"
259
+
260
+ #: includes/class-ecwid-product-popup.php:117
261
+ msgid "First Page"
262
+ msgstr "Primeira Página"
263
+
264
+ #: includes/class-ecwid-product-popup.php:118
265
+ msgid "Previous Page"
266
+ msgstr "Página Anterior"
267
+
268
+ #: includes/class-ecwid-product-popup.php:119
269
+ msgid "Next Page"
270
+ msgstr "Próxima Página"
271
+
272
+ #: includes/class-ecwid-product-popup.php:120
273
+ msgid "Last Page"
274
+ msgstr "Última Página"
275
+
276
+ #: includes/class-ecwid-store-editor.php:44 templates/store-popup.php:11
277
+ #: templates/store-popup.php:19
278
+ msgid "Add Store"
279
+ msgstr "Adicionar Loja"
280
+
281
+ #: includes/class-ecwid-store-editor.php:52
282
+ msgid "Edit Store"
283
+ msgstr "Editar Loja"
284
+
285
+ #: includes/class-ecwid-store-editor.php:67
286
+ msgid "Edit Appearance"
287
+ msgstr "Editar Aparência"
288
+
289
+ #: includes/faq_entries.php:5
290
+ msgid "How secure is this plugin? Is my store PCI DSS compliant?"
291
+ msgstr "Quão seguro é esse plugin? A minha loja é compatível com PCI DSS?"
292
+
293
+ #: includes/faq_entries.php:6
294
+ 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>"
295
+ msgstr "Ecwid possui certificado PCI DSS nível 1, que é o padrão ouro para soluções de e-commerce em todo o mundo. Isso significa que você não terá problemas de conformidade bancária ao vender on-line com esta plataforma. <a target=\"_blank\" href=\"https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-downloadable-#secureplugin\"> Mais detalhes. </a>"
296
+
297
+ #: includes/faq_entries.php:12
298
+ msgid "How can I manage my store from a mobile device?"
299
+ msgstr "Como posso gerenciar a minha loja a partir de um dispositivo móvel?"
300
+
301
+ #: includes/faq_entries.php:13
302
+ 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>"
303
+ msgstr "O Ecwid fornece aplicativos gratuitos para iOS e Android para gerenciar sua loja e vender em qualquer lugar. Digitalize produtos, acompanhe o estoque, gerencie as vendas e aceite pagamentos usando seu dispositivo móvel como uma estação de Ponto de Venda. <a target=\"_blank\" href=\"https://www.ecwid.com/ecwid-mobile\">Mais detalhes.</a>"
304
+
305
+ #: includes/faq_entries.php:20
306
+ msgid "How to set up a storefront on Facebook with Ecwid?"
307
+ msgstr "Como configurar uma loja no Facebook com Ecwid?"
308
+
309
+ #: includes/faq_entries.php:21
310
+ 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>"
311
+ msgstr "Você pode adicionar sua loja on-line à sua página de negócios do Facebook. Nenhum addon é necessário. Ecwid sincronizará automaticamente produtos, clientes, encomendas e estoques entre as suas lojas do WordPress e do Facebook. <a target=\"_blank\" href=\"https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-downloadable-#How%20to%20add%20my%20store%20to%20Facebook\"> Mais detalhes. </a>"
312
+
313
+ #: includes/faq_entries.php:28
314
+ msgid "How can I add a cart widget to my site sidebar?"
315
+ msgstr "Como posso adicionar um widget de carrinho à barra lateral do meu site?"
316
+
317
+ #: includes/faq_entries.php:30
318
+ 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>"
319
+ msgstr "Você pode adicionar a caixa de pesquisa do produto, o widget do carrinho e muito mais na página <a href=\"%s\"> \"Aparência / Widgets\" </a> neste administrador do site. <a target=\"_blank\" href=\"https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-downloadable-#Sidebar%%20widgets\"> Mais detalhes. </a>"
320
+
321
+ #: includes/faq_entries.php:38
322
+ msgid "How much does Ecwid cost?"
323
+ msgstr "Quanto custa Ecwid?"
324
+
325
+ #: includes/faq_entries.php:39
326
+ 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."
327
+ msgstr "Nossos 4 tipos de conta variam de acordo com o número de produtos, tipos de funcionalidade e níveis de suporte. Para obter mais informações, consulte nossa <a target=\"_blank\" href=\"https://www.ecwid.com/pricing\"> página de preços. </a> <br /> <br /> Grátis - Até 10 Produtos <br /> Venture - $ 15 / month <br /> Negócio - $ 35 / month <br /> Ilimitado - $ 99 / month <br /> Pro Dica: Você pode ter vantagens nos valores com nossos planos anuais ."
328
+
329
+ #: includes/faq_entries.php:45
330
+ msgid "How do I add store categories to the site menu."
331
+ msgstr "Como faço para adicionar categorias de loja para o menu do site."
332
+
333
+ #: includes/faq_entries.php:46
334
+ 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."
335
+ msgstr "Você pode adicionar o menu de categorias de sua loja ao menu do seu site para ajudar seus clientes a navegar facilmente no seu site. Basta abrir \"Aparência > Menus\" no painel de controle do WordPress e adicione o item \"Loja com menu de categorias\" no menu do seu site. Um menu suspenso que contém suas categorias de loja aparecerá automaticamente em seu site."
336
+
337
+ #: includes/faq_entries.php:52
338
+ msgid "How do I put my products in the sitemap?"
339
+ msgstr "Como faço para colocar meus produtos no sitemap?"
340
+
341
+ #: includes/faq_entries.php:53
342
+ 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>."
343
+ msgstr "Para criar sitemap para seu site Wordpress, sugerimos usar <a target=\"_blank\" href=\"https://wordpress.org/plugins/google-sitemap-generator/\"> Google Sitemaps XML </a> ou <a target = \"_blank\" href = \"https://wordpress.org/plugins/wordpress-seo/\"> Yoast Wordpress SEO </a>. & Nbsp; plugins. Estes plugins são totalmente compatíveis com o Ecwid e permitem gerar um sitemap que terá links para categorias e páginas de produtos, para que as páginas da loja sejam indexadas mais rapidamente. Saiba que esta opção está disponível para <a target=\"_blank\" href=\"https://www.ecwid.com/pricing\"> usuários pagos do Ecwid </a>"
344
+
345
+ #: includes/faq_entries.php:58
346
+ msgid "How to add a single product with the add to bag button to the site pages?"
347
+ msgstr "Como adicionar um único produto com o botão \"Adicionar ao carrinho\" para as páginas do site?"
348
+
349
+ #: includes/faq_entries.php:59
350
+ 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>"
351
+ msgstr "Para apresentar um único produto em uma página separada ou postagem no blog do seu site, use <short code> <b> [ecwid_product] </ b>. <a target=\"_blank\" href=\"https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-downloadable-#Howtoembedasingleproductonapageorpostofmysite\"> Como usá-lo. </a>"
352
+
353
+ #: includes/faq_entries.php:65
354
+ msgid "Is it possible to display my store on the site home page?"
355
+ msgstr "É possível exibir minha loja na página inicial do site?"
356
+
357
+ #: includes/faq_entries.php:66
358
+ 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>"
359
+ msgstr "Você pode exibir sua loja na página principal do site. Ajuste as configurações de \"Leitura\" do seu site, conforme descrito em <a target = \"_ blank\" href = \"https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-downloadable-#displaystoreonhomepage\" > Central de Ajuda. </a>"
360
+
361
+ #: includes/oembed.php:68 includes/oembed.php:97 templates/help.php:96
362
+ msgid "See more"
363
+ msgstr "Veja mais"
364
+
365
+ #: includes/themes/class-ecwid-theme-twentyfifteen.php:32
366
+ #: includes/themes/class-ecwid-theme-twentyfifteen.php:38
367
+ #: includes/themes/class-ecwid-theme-twentyseventeen.php:47
368
+ #: includes/themes/class-ecwid-theme-twentyseventeen.php:53
369
+ #: includes/themes/class-ecwid-theme-twentysixteen.php:35
370
+ #: includes/themes/class-ecwid-theme-twentysixteen.php:41
371
+ #: includes/widgets/class-ecwid-widget-store-link.php:29
372
+ msgid "Shop"
373
+ msgstr "Loja"
374
+
375
+ #: includes/widgets/class-ecwid-widget-badge.php:9
376
+ msgid "Do you like Ecwid and want to help it grow? You can add this fancy 'Powered by Ecwid' badge on your site to show your visitors that you're a proud user of Ecwid."
377
+ msgstr "Você gosta de Ecwid e quer ajudá-lo a crescer? Você pode adicionar este emblema 'Powered by Ecwid' em seu site para mostrar aos seus visitantes que você é um usuário orgulhoso de Ecwid."
378
+
379
+ #: includes/widgets/class-ecwid-widget-badge.php:10
380
+ msgid "Ecwid Badge"
381
+ msgstr "Emblema Ecwid"
382
+
383
+ #: includes/widgets/class-ecwid-widget-badge.php:17
384
+ #: includes/widgets/class-ecwid-widget-badge.php:23
385
+ msgid "Ecwid shopping cart widget"
386
+ msgstr "Widget do carrinho de compras Ecwid"
387
+
388
+ #: includes/widgets/class-ecwid-widget-badge.php:29
389
+ #: includes/widgets/class-ecwid-widget-badge.php:65
390
+ msgid "Ecwid ecommerce solution"
391
+ msgstr "Solução de e-commerce Ecwid"
392
+
393
+ #: includes/widgets/class-ecwid-widget-badge.php:35
394
+ #: includes/widgets/class-ecwid-widget-badge.php:71
395
+ msgid "Ecwid free shopping cart"
396
+ msgstr " Carrinho de compras grátis Ecwid"
397
+
398
+ #: includes/widgets/class-ecwid-widget-badge.php:41
399
+ #: includes/widgets/class-ecwid-widget-badge.php:53
400
+ msgid "Ecwid shopping cart"
401
+ msgstr "Carrinho de compras Ecwid"
402
+
403
+ #: includes/widgets/class-ecwid-widget-badge.php:47
404
+ #: includes/widgets/class-ecwid-widget-badge.php:59
405
+ msgid "Ecwid e-commerce widgets"
406
+ msgstr "Widgets de e-commerce Ecwid"
407
+
408
+ #: includes/widgets/class-ecwid-widget-floating-shopping-cart.php:15
409
+ msgid "Adds a shopping cart widget to the top right corner of your site."
410
+ msgstr "Adiciona um widget de carrinho de compras ao canto superior direito do seu site."
411
+
412
+ #: includes/widgets/class-ecwid-widget-floating-shopping-cart.php:16
413
+ msgid "Shopping Cart (Floating)"
414
+ msgstr "Carrinho de compras (flutuante)"
415
+
416
+ #: includes/widgets/class-ecwid-widget-floating-shopping-cart.php:110
417
+ msgid "Position"
418
+ msgstr "Posição"
419
+
420
+ #: includes/widgets/class-ecwid-widget-floating-shopping-cart.php:113
421
+ msgid "Bottom right"
422
+ msgstr "Canto inferior direito"
423
+
424
+ #: includes/widgets/class-ecwid-widget-floating-shopping-cart.php:118
425
+ msgid "Top right"
426
+ msgstr "Canto superior direito"
427
+
428
+ #: includes/widgets/class-ecwid-widget-minicart-miniview.php:5
429
+ msgid "Adds a compact cart widget for customer to see the products they added to the cart."
430
+ msgstr "Adiciona um widget de carrinho compacto para que o cliente veja os produtos que adicionaram ao carrinho."
431
+
432
+ #: includes/widgets/class-ecwid-widget-minicart-miniview.php:6
433
+ msgid "Shopping Cart (Mini)"
434
+ msgstr "Carrinho de compras (mini)"
435
+
436
+ #: includes/widgets/class-ecwid-widget-minicart-miniview.php:44
437
+ #: includes/widgets/class-ecwid-widget-minicart.php:44
438
+ #: includes/widgets/class-ecwid-widget-search.php:49
439
+ #: includes/widgets/class-ecwid-widget-vcategories.php:43
440
+ #: includes/widgets/class-ecwid-widget-vertical-categories-list.php:71
441
+ msgid "Title:"
442
+ msgstr "Título:"
443
+
444
+ #: includes/widgets/class-ecwid-widget-minicart.php:5
445
+ msgid "Adds a cart widget for customer to see the products they added to the cart."
446
+ msgstr "Adiciona um widget de carrinho para que o cliente veja os produtos que adicionaram ao carrinho."
447
+
448
+ #: includes/widgets/class-ecwid-widget-recently-viewed.php:9
449
+ msgid "Displays a list of products recently viewed by the customer to easily return to the products they saw in your shop."
450
+ msgstr "Exibe uma lista de produtos vistos recentemente pelo cliente para retornar facilmente aos produtos que viram na sua loja."
451
+
452
+ #: includes/widgets/class-ecwid-widget-recently-viewed.php:10
453
+ #: includes/widgets/class-ecwid-widget-recently-viewed.php:153
454
+ msgid "Recently Viewed Products"
455
+ msgstr "Produtos vistos recentemente"
456
+
457
+ #: includes/widgets/class-ecwid-widget-recently-viewed.php:124
458
+ #: includes/widgets/class-ecwid-widget-recently-viewed.php:154
459
+ msgid "You have not viewed any product yet. Open store."
460
+ msgstr "Você ainda não viu nenhum produto. Abra a loja."
461
+
462
+ #: includes/widgets/class-ecwid-widget-recently-viewed.php:164
463
+ #: templates/product-popup.php:160
464
+ msgid "Title"
465
+ msgstr "Título"
466
+
467
+ #: includes/widgets/class-ecwid-widget-recently-viewed.php:165
468
+ msgid "Store Link Title"
469
+ msgstr "Título do Link da Loja"
470
+
471
+ #: includes/widgets/class-ecwid-widget-recently-viewed.php:166
472
+ msgid "Number of products to show"
473
+ msgstr "Número de produtos para exibir"
474
+
475
+ #: includes/widgets/class-ecwid-widget-search.php:9
476
+ msgid "Displays a simple search box for your customers to find a product in your store"
477
+ msgstr "Exibe uma caixa de pesquisa simples para seus clientes encontrarem um produto em sua loja"
478
+
479
+ #: includes/widgets/class-ecwid-widget-store-link.php:5
480
+ msgid "Displays a link to the store page in sidebar for customer to quickly access your store from any page on the site."
481
+ msgstr "Exibe um link para a página da loja na barra lateral para que o cliente acesse rapidamente sua loja a partir de qualquer página no site."
482
+
483
+ #: includes/widgets/class-ecwid-widget-store-link.php:6
484
+ msgid "Store Page Link"
485
+ msgstr "Link da página da loja"
486
+
487
+ #: includes/widgets/class-ecwid-widget-store-link.php:33
488
+ msgid "Text"
489
+ msgstr "Texto"
490
+
491
+ #: includes/widgets/class-ecwid-widget-vcategories.php:5
492
+ msgid "Adds vertical categories block to let the customer navigate your store."
493
+ msgstr "Adiciona bloco de categorias verticais para permitir que o cliente navegue em sua loja."
494
+
495
+ #: includes/widgets/class-ecwid-widget-vcategories.php:6
496
+ msgid "Store Categories"
497
+ msgstr "Categorias da Loja"
498
+
499
+ #: includes/widgets/class-ecwid-widget-vertical-categories-list.php:11
500
+ msgid "Adds root categories list to the sidebar to let your customers navigate the store."
501
+ msgstr "Adiciona a lista de categorias raiz à barra lateral para permitir que seus clientes naveguem pela loja."
502
+
503
+ #: includes/widgets/class-ecwid-widget-vertical-categories-list.php:12
504
+ msgid "Store Root Categories"
505
+ msgstr "Categorias raiz da loja"
506
+
507
+ #: includes/widgets/class-ecwid-widget-vertical-categories-list.php:22
508
+ #: includes/widgets/class-ecwid-widget-vertical-categories-list.php:68
509
+ msgid "Browse by Category"
510
+ msgstr "Navegar por Categoria"
511
+
512
+ #: lib/ecwid_platform.php:56 templates/product-popup.php:171
513
  msgid "Price"
514
+ msgstr "Preço"
515
+
516
+ #: templates/admin-footer.php:4
517
+ msgid "Manage Store on iPhone, iPad or Android"
518
+ msgstr "Gerencia a loja no iPhone, iPad ou Android"
519
+
520
+ #: templates/admin-footer.php:7
521
+ msgid "Get %s mobile app"
522
+ msgstr "Baixe o aplicativo %s"
523
+
524
+ #: templates/admin-footer.php:13
525
+ msgid "Questions?"
526
+ msgstr "Dúvidas?"
527
+
528
+ #: templates/admin-footer.php:21
529
+ msgid "Want to connect another %s store?"
530
+ msgstr "Deseja conectar à outra loja %s?"
531
+
532
+ #: templates/admin-footer.php:23
533
+ msgid "<a %s>Reconnect</a>"
534
+ msgstr "<a %s>Reconectar</a>"
535
+
536
+ #: templates/admin-message.php:45
537
+ msgid "Never show this message again"
538
+ msgstr "Nunca mostrar esta mensagem novamente"
539
+
540
+ #: templates/admin-timeout.php:9
541
+ msgid "Sorry we're having technical difficulties."
542
+ msgstr "Desculpe, estamos tendo dificuldades técnicas."
543
+
544
+ #: templates/admin-timeout.php:11
545
+ msgid "Our team is already working on this issue. Please refresh the page in a few minutes. If the issue persists, please contact <a target=\"_blank\" href=\"https://help.ecwid.com/customer/portal/emails/new\">our customer support team</a>."
546
+ msgstr "Nossa equipe já está trabalhando nesta questão. Atualize a página em alguns minutos. Se o problema persistir, entre em contato com <a target=\"_blank\" href=\"https://help.ecwid.com/customer/portal/emails/new\">nossa equipe de suporte ao cliente </a>."
547
+
548
+ #: templates/advanced-settings.php:1
549
+ msgid "%s Shopping Cart — Advanced settings"
550
+ msgstr "Carrinho de Compras %s - Configurações avançadas"
551
 
552
+ #: templates/advanced-settings.php:27
553
+ msgid "SEO friendly clean URLs"
554
+ msgstr "SEO URLs amigáveis limpas"
555
 
556
+ #: templates/advanced-settings.php:32
557
+ msgid "This enables new clean URLs format in your store. The new urls do not contain hash sign ('#'), so they look nicer and are better indexed by Google."
558
+ msgstr "Isso possibilita o novo formato de URLs limpas em sua loja. As novas URLs não contêm sinal de hash ('#'), então ficam mais bonitas e são melhor indexadas pelo Google."
559
+
560
+ #: templates/advanced-settings.php:36
561
+ msgid "To enable clean URLs in your store, you will need to enable pretty permalinks in your WordPress site settings. Navigate to <a%s>Settings->Permalink</a> and enable the \"Post name\" permalink type."
562
+ msgstr "Para ativar URLs amigáveis em sua loja, você precisará habilitar permalinks amigáveis em suas configurações de site do WordPress. Navegue até <a %s> Configurações-> Link permanente </a> e ative o tipo de permalink \"Post name\"."
563
+
564
+ #: templates/advanced-settings.php:42
565
+ msgid "Note: the new URLs will be automatically enabled for every store in one of upcoming updates so please make sure to check how the new URLs work in your store and <a %s>let us know</a> if you face any trouble with them"
566
+ msgstr "Nota: as novas URLs serão ativadas automaticamente para cada loja em uma das próximas atualizações. Por favor, verifique se as novas URLs funcionam em sua loja e <a% s> nos avise </a> se tiver problemas com elas."
567
+
568
+ #: templates/advanced-settings.php:42 templates/advanced-settings.php:212
569
+ msgid "https://support.ecwid.com/hc/en-us/requests/new"
570
+ msgstr "https://support.ecwid.com/hc/en-us/requests/new"
571
+
572
+ #: templates/advanced-settings.php:51 templates/store-popup.php:154
573
  msgid "Category shown by default"
574
+ msgstr "Categoria exibida por padrão"
575
 
576
+ #: templates/advanced-settings.php:55 templates/store-popup.php:161
577
  msgid "Store root category"
578
+ msgstr "Categoria raíz da loja"
 
 
 
579
 
580
+ #: templates/advanced-settings.php:68
581
  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."
582
+ msgstr "Por padrão, o front da loja mostra uma lista de categorias raiz. Você pode substituir esse comportamento e mostrar uma categoria diferente quando os clientes abrem sua loja pela primeira vez. Isso é útil se você tiver apenas uma categoria ou desejar exibir um conjunto específico de itens (por exemplo, \"Produtos em destaque\") para novos visitantes."
583
+
584
+ #: templates/advanced-settings.php:91
585
+ msgid "Customer Single Sign-On"
586
+ msgstr "Single Sign-On de Cliente"
587
+
588
+ #: templates/advanced-settings.php:96
589
+ msgid "Single Sign-On allows your customers to have a single login for your WordPress site and your %s store. When someone logs in to your site, they will automatically be logged in to their customer account in your store as well with no need to enter their email/password again."
590
+ msgstr "O Single Sign-On permite que seus clientes tenham um login único para seu site WordPress e sua loja %s. Quando alguém fizer logon em seu site, ele será automaticamente conectado à sua conta de cliente em sua loja, sem necessidade de digitar seu e-mail / senha novamente."
591
+
592
+ #: templates/advanced-settings.php:103
593
+ msgid "Upgrade to get this feature"
594
+ msgstr "Faça upgrade para obter esse recurso"
595
+
596
+ #: templates/advanced-settings.php:106
597
+ msgid "Please subscribe to a paid plan to get this feature."
598
+ msgstr "Assine um plano pago para obter esse recurso."
599
+
600
+ #: templates/advanced-settings.php:112
601
+ msgid "To allow %s automatically log in customers to your store, please provide it with a permission to use the customer data in the store. <a %s>Please use this link to do that</a>"
602
+ msgstr "Para permitir que %s inicie sessão automática de seus clientes em sua loja, forneça-lhe permissão para utilizar os dados de cliente em sua loja. <a %s>Utilize este link</a>"
603
+
604
+ #: templates/advanced-settings.php:118
605
+ msgid "To make sure your customer can actually log in to your site and store, enable registration in the <a %s>site settings</a>"
606
+ msgstr "Para se certificar de que o seu cliente pode realmente efetuar login em seu site e em sua loja, ative o cadastro nas <a %s>configurações do site</a>"
607
 
608
+ #: templates/advanced-settings.php:140
609
+ msgid "Chameleon skin"
610
+ msgstr "Opção Camaleão"
611
 
612
+ #: templates/advanced-settings.php:144
613
+ msgid "Automatic adjustment of your store design to your WordPress theme. Whatever WordPress theme you use, %s will detect predominant colors and font and use them in your product catalog."
614
+ msgstr "Ajuste automático do design da sua loja para o seu tema WordPress. Seja qual for o tema do WordPress que você usa, o %s detectará cores predominantes e a fonte e usará em seu catálogo de produtos."
615
 
616
+ #: templates/advanced-settings.php:147
617
+ msgid "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>."
618
+ msgstr "Atenção: Observe que esta funcionalidade está em versão beta. Portanto, se enfrentar dificuldades ou encontrar problemas com o Camaleão, <a% s> deixe-nos saber </a>"
619
 
620
+ #: templates/advanced-settings.php:170
621
+ msgid "Enable the new category menu"
622
+ msgstr "Habilitar o novo menu de categorias"
623
 
624
+ #: templates/advanced-settings.php:175
625
+ msgid "The new category menu looks better and is more mobile-friendly. If you haven't yet added category menu to your store page, you can do that in the <a %s>store page editor</a> (enable the \"Show categories\" option)"
626
+ msgstr "O novo menu de categorias parece melhor e é mais responsivo. Se ainda não tiver adicionado o menu de categoria à sua página da loja, pode fazê-lo no <a% s> editor de páginas da loja </a> (active a opção \"Mostrar categorias\")"
627
+
628
+ #: templates/advanced-settings.php:200
629
+ msgid "Integration with search on your site <sup>beta</sup>"
630
+ msgstr "Integração com a pesquisa em seu site <sup>beta</sup>"
631
+
632
+ #: templates/advanced-settings.php:204
633
+ msgid "%s stores your products data in a secure cloud storage. The product pages are displayed on the fly when a customer browses your store. So, basically, the products are not stored on the site, that's why the site search doesn't find product pages while looking through site pages and posts. This option enables a local storage mode: the products will be stored both in the cloud and on your site. The site search results will list product pages as well as regular pages/posts of your site."
634
+ msgstr "%s armazena seus dados de produtos em um armazenamento seguro em nuvem. As páginas do produto são exibidas instantaneamente quando um cliente navega em sua loja. Assim, basicamente, os produtos não são armazenados no site, é por isso que a pesquisa no site não encontra páginas de produtos enquanto olha através de páginas e posts do site. Esta opção permite um modo de armazenamento local: os produtos serão armazenados tanto na nuvem como no seu site. Os resultados de pesquisa do site irão listar páginas de produtos, bem como páginas / postagens normais do seu site."
635
+
636
+ #: templates/advanced-settings.php:212
637
+ msgid "Please note this functionality is in beta. So if you run into difficulties or find problems with it, please <a %s>let us know</a>."
638
+ msgstr "Observe que esta funcionalidade está em versão beta. Portanto, se você tiver dificuldades ou encontrar problemas com a funcionalidade, <a %s>informe-nos</a>."
639
+
640
+ #: templates/advanced-settings.php:221 templates/appearance-settings.php:217
641
  msgid "Save changes"
642
  msgstr "Salvar alterações"
643
 
644
+ #: templates/appearance-settings.php:1
645
+ msgid "%s Shopping CartAppearance settings"
646
+ msgstr "Carrinho de Compras %s - Configurações de aparência"
647
 
648
+ #: templates/appearance-settings.php:27
649
  msgid "Display search box above products"
650
+ msgstr "Mostrar caixa de pesquisa acima dos produtos"
651
 
652
+ #: templates/appearance-settings.php:31
653
  msgid "Or you can add search box to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
654
+ msgstr "Ou você pode adicionar a caixa de pesquisa à barra de ferramentas do seu site usando <a href=\"%s\">widgets nativos do WordPress </a>"
655
 
656
+ #: templates/appearance-settings.php:51
657
+ msgid "Display categories above products"
658
+ msgstr "Mostrar categorias acima dos produtos"
659
 
660
+ #: templates/appearance-settings.php:55
661
  msgid "Or you can add vertical categories to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
662
+ msgstr "Ou você pode adicionar categorias verticais à barra de ferramentas do seu site usando <a href=\"%s\">widgets nativos do WordPress</a>"
663
 
664
+ #: templates/appearance-settings.php:76
665
+ msgid "Enable minicart attached to categories"
666
+ msgstr "Habilitar mini carrinho para as categorias"
667
 
668
+ #: templates/appearance-settings.php:80
669
  msgid "You should disable this option, if you added minicart to your website's&nbsp;sidebar"
670
+ msgstr "Você deve desativar esta opção, se adicionou mini carrinho à barra lateral de seu site"
671
 
672
+ #: templates/appearance-settings.php:99 templates/store-popup.php:180
673
  msgid "Number of categories per row"
674
+ msgstr "Número de categorias por linha"
675
 
676
+ #: templates/appearance-settings.php:110 templates/store-popup.php:84
677
  msgid "Number of products per page"
678
+ msgstr "Número de categorias por página"
679
 
680
+ #: templates/appearance-settings.php:112 templates/store-popup.php:86
681
  msgid "Grid view"
682
+ msgstr "Visão de grid"
683
 
684
+ #: templates/appearance-settings.php:139 templates/store-popup.php:113
685
  msgid "List view"
686
+ msgstr "Visão de lista"
687
 
688
+ #: templates/appearance-settings.php:156 templates/store-popup.php:130
689
  msgid "Table view"
690
+ msgstr "Visão de tabela"
691
 
692
+ #: templates/appearance-settings.php:171 templates/store-popup.php:145
693
+ msgid "Here you can control how many products will be displayed per page. These options define maximum values. If there is not enough space to show all product columns, %s will adapt the number of columns to hold all products."
694
+ msgstr "Aqui você pode controlar quantos produtos serão exibidos por página. Essas opções definem valores máximos. Se não houver espaço suficiente para mostrar todas as colunas do produto,%s adaptará o número de colunas para armazenar todos os produtos."
695
 
696
+ #: templates/appearance-settings.php:178 templates/store-popup.php:193
697
  msgid "Default view mode on product pages"
698
+ msgstr "Modo de exibição padrão nas páginas do produto"
699
 
700
+ #: templates/appearance-settings.php:183 templates/appearance-settings.php:201
701
+ #: templates/store-popup.php:197 templates/store-popup.php:215
702
  msgid "Grid"
703
+ msgstr "Grid"
704
 
705
+ #: templates/appearance-settings.php:186 templates/appearance-settings.php:204
706
+ #: templates/store-popup.php:200 templates/store-popup.php:218
707
  msgid "List"
708
  msgstr "Lista"
709
 
710
+ #: templates/appearance-settings.php:189 templates/appearance-settings.php:207
711
+ #: templates/store-popup.php:203 templates/store-popup.php:221
712
  msgid "Table"
713
  msgstr "Tabela"
714
 
715
+ #: templates/appearance-settings.php:196 templates/store-popup.php:210
716
  msgid "Default view mode on search results"
717
+ msgstr "Modo de exibição padrão nos resultados de pesquisa"
 
 
 
718
 
719
+ #: templates/connect.php:5 templates/dashboard.php:6
720
+ #: templates/reconnect-sso.php:5 templates/reconnect.php:5
721
+ msgid "%s Shopping Cart"
722
+ msgstr "Carrinho de Compras %s"
723
 
724
+ #: templates/connect.php:13 templates/reconnect.php:13
725
+ msgid "Connect your store<br /> to this WordPress site"
726
+ msgstr "Conecte sua loja <br /> a este site do WordPress"
727
 
728
+ #: templates/connect.php:17
729
+ msgid "Enter your Store ID"
730
+ msgstr "Informe o ID de sua loja"
 
 
 
 
 
 
 
 
731
 
732
+ #: templates/connect.php:20 templates/landing_old.php:27
733
+ #: templates/reconnect.php:23
734
+ msgid "Connect"
735
+ msgstr "Conectar"
736
 
737
+ #: templates/connect.php:21
738
+ msgid "Save and connect"
739
+ msgstr "Salvar e conectar"
740
 
741
+ #: templates/connect.php:27 templates/reconnect.php:46
742
+ msgid "To sell using %1$s, you must allow WordPress to access the %1$s plugin. The connect button will direct you to your %1$s account where you can provide permission."
743
+ msgstr "Para vender usando %1$s, você deve permitir que o WordPress acesse o plugin %1$s. O botão Conectar irá direcioná-lo para sua conta %1$s onde você pode fornecer a permissão."
744
 
745
+ #: templates/connect.php:32
746
+ msgid "Where to find your Store ID:"
747
+ msgstr "Onde encontrar o ID de sua loja:"
748
 
749
+ #: templates/connect.php:34
750
+ msgid "Store ID is a unique identifier of your %1$s account. You can find it in your %1$s control panel: open the <a %2$s>Dashboard page</a> and find the \"<b>Store ID: NNNNNNN</b>\" text, where <b>NNNNNNN</b> is your Store&nbsp;ID."
751
+ msgstr "O ID da loja é um identificador exclusivo de sua conta %1$s. Você pode encontrá-lo no painel de controle de %1$s: abra a página <a %2$s> Dashboard </a> e localize o texto \"<b> ID da loja: NNNNNNN </ b>\", em que <b> NNNNNNN </ b> é o ID de sua loja."
752
 
753
+ #: templates/connect.php:39
754
+ msgid "Don't have an %s account? Create one now."
755
+ msgstr "Não possui uma conta em %s? Faça o cadastro agora."
756
 
757
+ #: templates/dashboard.php:10 templates/store-popup.php:231
758
+ #: templates/store-svg.php:15
759
  msgid "Store ID"
760
+ msgstr "ID da loja"
 
 
 
761
 
762
+ #: templates/dashboard.php:14
763
+ msgid "Disconnect store"
764
+ msgstr "Desconectar loja"
765
 
766
+ #: templates/dashboard.php:27
767
  msgid "Congratulations!"
768
  msgstr "Parabéns!"
769
 
770
+ #: templates/dashboard.php:30
771
+ msgid "Your %s store is now connected<br /> to your WordPress website"
772
+ msgstr "Sua loja %s agora está conectada <br /> a seu site WordPress"
773
 
774
+ #: templates/dashboard.php:35
775
  msgid "Greetings!"
776
  msgstr "Saudações!"
777
 
778
+ #: templates/dashboard.php:38
779
+ msgid "Your %s store is connected<br /> to your WordPress website"
780
+ msgstr "Sua loja %s está conectada <br /> a seu site WordPress"
781
 
782
+ #: templates/dashboard.php:47
783
+ msgid "Open control panel"
784
+ msgstr "Abrir painel de controle"
785
 
786
+ #: templates/debug.php:14
787
+ msgid "Download log file"
788
+ msgstr "Download arquivo de log"
789
 
790
+ #: templates/help.php:11
791
+ msgid "How can we help you?"
792
+ msgstr "Como podemos ajudá-lo?"
793
 
794
+ #: templates/help.php:15
795
+ msgid "https://support.ecwid.com/hc/en-us/search"
796
+ msgstr "https://support.ecwid.com/hc/en-us/search"
797
 
798
+ #: templates/help.php:17
799
+ msgid "E.g. How to set up shipping"
800
+ msgstr "Por exemplo. Como configurar o envio"
801
 
802
+ #: templates/help.php:21
803
+ msgid "Search the Knowledge Base"
804
+ msgstr "Pesquisar na Base de Conhecimento"
805
 
806
+ #: templates/help.php:29
807
+ msgid "https://support.ecwid.com/hc/en-us/sections/201706719-Ecwid-Basics"
808
+ msgstr "https://support.ecwid.com/hc/en-us/sections/201706719-Ecwid-Basics"
809
 
810
+ #: templates/help.php:31
811
+ msgid "Ecwid Basics"
812
+ msgstr "Ecwid Basics"
813
+
814
+ #: templates/help.php:35
815
+ msgid "https://support.ecwid.com/hc/en-us/sections/201758475-Manage-Your-Ecwid-Store"
816
+ msgstr "https://support.ecwid.com/hc/en-us/sections/201758475-Manage-Your-Ecwid-Store"
817
+
818
+ #: templates/help.php:37
819
+ msgid "Manage Your Ecwid Store"
820
+ msgstr "Gerencie Sua Loja Ecwid"
821
+
822
+ #: templates/help.php:41
823
+ msgid "https://support.ecwid.com/hc/en-us/sections/201758445-Customize-Your-Store"
824
+ msgstr "https://support.ecwid.com/hc/en-us/sections/201758445-Customize-Your-Store"
825
+
826
+ #: templates/help.php:43
827
+ msgid "Customize Your Store"
828
+ msgstr "Personalize sua loja"
829
+
830
+ #: templates/help.php:47
831
+ msgid "https://support.ecwid.com/hc/en-us/sections/201706799-Billing-Questions"
832
+ msgstr "https://support.ecwid.com/hc/en-us/sections/201706799-Billing-Questions"
833
+
834
+ #: templates/help.php:49
835
+ msgid "Billing Questions"
836
+ msgstr "Questões sobre faturamento"
837
+
838
+ #: templates/help.php:53
839
+ msgid "https://support.ecwid.com/hc/en-us/sections/201702859-Technical-Reference"
840
+ msgstr "https://support.ecwid.com/hc/en-us/sections/201702859-Technical-Reference"
841
+
842
+ #: templates/help.php:55
843
+ msgid "Technical Reference"
844
+ msgstr "Referência técnica"
845
+
846
+ #: templates/help.php:62
847
+ msgid "Frequently Asked Questions"
848
+ msgstr "Perguntas Frequentes"
849
+
850
+ #: templates/help.php:205
851
+ msgid "Contact us"
852
+ msgstr "Entre em contato conosco"
853
+
854
+ #: templates/help.php:206
855
+ msgid "Still have questions about Ecwid? Let us know!"
856
+ msgstr "Ainda tem dúvidas sobre o Ecwid? Nos informe!"
857
+
858
+ #: templates/help.php:211
859
+ msgid "https://www.ecwid.com/forums"
860
+ msgstr "https://www.ecwid.com/forums"
861
+
862
+ #: templates/help.php:211
863
+ msgid "Forums"
864
+ msgstr "Fóruns"
865
+
866
+ #: templates/help.php:212
867
+ msgid "Join the Ecwid community. Discuss support topics and store ideas with other Ecwid users."
868
+ msgstr "Participe da comunidade Ecwid. Discuta tópicos de suporte e ideias para lojas com outros usuários Ecwid."
869
+
870
+ #: templates/help.php:221
871
+ msgid "Send a message to our support team"
872
+ msgstr "Envie uma mensagem para nossa equipe de suporte"
873
+
874
+ #: templates/help.php:227
875
+ msgid "Subject"
876
+ msgstr "Assunto"
877
+
878
+ #: templates/help.php:228
879
+ msgid "Type in your message here"
880
+ msgstr "Digite sua mensagem aqui"
881
+
882
+ #: templates/help.php:231
883
+ msgid "Send Message"
884
+ msgstr "Enviar mensagem"
885
+
886
+ #: templates/help.php:242
887
+ msgid "Send message failed"
888
+ msgstr "Falha ao enviar a mensagem"
889
+
890
+ #: templates/help.php:248
891
+ msgid "Your email has been sent"
892
+ msgstr "Seu e-mail foi enviado com sucesso"
893
+
894
+ #: templates/help.php:249
895
+ msgid " Thank you very much for contacting us! We will get back to you shortly."
896
+ msgstr " Muito obrigado por entrar em contato conosco! Entraremos em contato com você em breve."
897
+
898
+ #: templates/help.php:250
899
+ msgid "You can send a new request here."
900
+ msgstr "Você pode enviar um novo pedido aqui."
901
+
902
+ #: templates/landing.php:8
903
+ msgid "Welcome to %s!"
904
+ msgstr "Bem-vindo a %s!"
905
+
906
+ #: templates/landing.php:9
907
+ msgid "Thank you for choosing %s to build your online store. The first step to sell successfully online is to setup your store! Let’s get started and add a store to your website in a few simple steps."
908
+ msgstr "Obrigado por ter escolhido %s para construir sua loja online. O primeiro passo para vender online com sucesso é configurar a sua loja! Vamos começar e adicionar uma loja para o seu site em algumas etapas simples."
909
+
910
+ #: templates/landing.php:15 templates/landing.php:132
911
+ msgid "Create Free %s Store"
912
+ msgstr "Criar Loja %s Grátis"
913
+
914
+ #: templates/landing.php:31 templates/landing.php:148
915
+ msgid "Store is created"
916
+ msgstr "Loja está criada"
917
+
918
+ #: templates/landing.php:35 templates/landing.php:152
919
+ msgid "Creating store"
920
+ msgstr "Criando a loja"
921
+
922
+ #: templates/landing.php:39 templates/landing.php:156
923
+ msgid "Preparing your store dashboard"
924
+ msgstr "Preparando o painel de controle da loja"
925
+
926
+ #: templates/landing.php:43 templates/landing_old.php:52
927
+ msgid "Free registration, No credit card required"
928
+ msgstr "Cadastro gratuito, não é necessário cartão de crédito"
929
+
930
+ #: templates/landing.php:46
931
+ msgid "Connection error: please click the button again and give permissions for this plugin<br /> to show your %s store on this site."
932
+ msgstr "Erro de conexão: clique novamente no botão e dê permissões para este plugin <br /> para exibir sua loja %s neste site."
933
+
934
+ #: templates/landing.php:49 templates/landing.php:160
935
+ msgid "Already have %s account?"
936
+ msgstr "Já possui uma conta em %s?"
937
+
938
+ #: templates/landing.php:50 templates/landing_old.php:62
939
+ msgid "Connect your store to Wordpress site"
940
+ msgstr "Contectar sua loja ao site WordPress"
941
+
942
+ #: templates/landing.php:53
943
+ msgid "You will be asked to log in to your %s Control Panel<br />and give permissions to show your store on this site"
944
+ msgstr "Você será solicitado a efetuar login no seu Painel de Controle de %s <br /> e dar permissões para exibir sua loja neste site"
945
+
946
+ #: templates/landing.php:56 templates/landing_old.php:75
947
+ msgid "Get ready to sell online"
948
+ msgstr "Prepare-se para vender online"
949
+
950
+ #: templates/landing.php:67
951
+ msgid "Sell Everywhere<br>with your %s store"
952
+ msgstr "Venda em todos os lugares<br> com sua loja %s"
953
+
954
+ #: templates/landing.php:68 templates/landing_old.php:87
955
+ msgid "Start selling on your WordPress site. Then mirror your shop on your Facebook page, blog and marketplaces like Google Shopping, Yahoo and Shopping.com."
956
+ msgstr "Comece a vender no seu site WordPress. Em seguida, replique sua loja em sua página do Facebook, blog e mercados como Google Shopping, Yahoo e Shopping.com."
957
+
958
+ #: templates/landing.php:69
959
+ msgid "Use %s's mobile-POS to swipe credit cards and sell on the go. Your orders and inventory are always synchronized with your online store."
960
+ msgstr "Use a opção mobile-POS da %s para passar os cartões de crédito e vender em qualquer lugar. Suas encomendas e estoque estão sempre sincronizados com sua loja on-line."
961
+
962
+ #: templates/landing.php:75 templates/landing_old.php:94
963
+ msgid "Features"
964
+ msgstr "Recursos"
965
+
966
+ #: templates/landing.php:82 templates/landing_old.php:101
967
+ msgid "Compatible with your theme"
968
+ msgstr "Compatível com seu tema"
969
+
970
+ #: templates/landing.php:83
971
+ msgid "%s is compatible with your<br>“%s” WordPress theme<br>out of the box."
972
+ msgstr "%s é compatível com o seu tema \"%s\" WordPress e fora da caixa."
973
+
974
+ #: templates/landing.php:91 templates/landing_old.php:110
975
+ msgid "Free and always up to date"
976
+ msgstr "Grátis e sempre atualizado"
977
+
978
+ #: templates/landing.php:92 templates/landing_old.php:111
979
+ msgid "Free plan always available with tons of features<br>at no additional cost. Updates are seamless, automatic<br>and free of charge."
980
+ msgstr "Plano gratuito sempre disponível com toneladas de recursos<br> sem custo adicional. As atualizações são integradas, automáticas<br>e gratuitas."
981
+
982
+ #: templates/landing.php:102 templates/landing_old.php:121
983
+ msgid "Responsive design"
984
+ msgstr "Design responsivo"
985
+
986
+ #: templates/landing.php:103 templates/landing_old.php:122
987
+ msgid "Your store looks perfect<br />on all devices"
988
+ msgstr "Sua loja parece perfeita <br /> em todos os dispositivos"
989
+
990
+ #: templates/landing.php:111 templates/landing_old.php:130
991
+ msgid "PCI DSS Certified"
992
+ msgstr "Certificado PCI DSS"
993
+
994
+ #: templates/landing.php:112 templates/landing_old.php:131
995
+ msgid "Secure checkout with over 40<br />payment options"
996
+ msgstr "Checkout seguro com mais de 40 <br /> opções de pagamento"
997
+
998
+ #: templates/landing.php:120 templates/landing_old.php:139
999
+ msgid "Global Reach"
1000
+ msgstr "Alcance Global"
1001
+
1002
+ #: templates/landing.php:121
1003
+ msgid "Over 1 million merchants in 175 countries"
1004
+ msgstr "Mais de 1 milhão de comerciantes em 175 países"
1005
+
1006
+ #: templates/landing.php:128 templates/landing_old.php:147
1007
+ msgid "Start selling <br>on your WordPress <nobr>site for free</nobr>"
1008
+ msgstr "Comece a vender <br>no seu site WordPress <nobr>gratuitamente</nobr>"
1009
+
1010
+ #: templates/landing.php:161 templates/landing_old.php:158
1011
+ msgid "Connect your store to this site"
1012
+ msgstr "Conecte sua loja a este site"
1013
+
1014
+ #: templates/landing_old.php:8 templates/landing_old.php:12
1015
+ msgid "Plugin is installed successfully!"
1016
+ msgstr "O plugin foi instalado com sucesso!"
1017
+
1018
+ #: templates/landing_old.php:9
1019
+ msgid "There are just a few steps left to start selling<br /> on your WordPress site"
1020
+ msgstr "Faltam apenas alguns passos para começar a vender <br /> no seu site WordPress"
1021
+
1022
+ #: templates/landing_old.php:13
1023
+ msgid "There are few little steps left to start selling<br /> on your WordPress site"
1024
+ msgstr "Você está próximo de começar a vender <br /> no seu site WordPress"
1025
+
1026
+ #: templates/landing_old.php:19
1027
+ msgid "Register"
1028
+ msgstr "Cadastre-se"
1029
+
1030
+ #: templates/landing_old.php:20
1031
+ msgid "Create a free Ecwid account to manage your store and inventory.<br /> No credit card required"
1032
+ msgstr "Cria uma conta grátis no Ecwid para gerencia sua loja e inventário.<br />Não é necessário cartão de crédito"
1033
+
1034
+ #: templates/landing_old.php:29
1035
+ msgid "Add your Ecwid store to your site <nobr>in two clicks</nobr>"
1036
+ msgstr "Adicione sua loja Ecwid a seu site <nobr>em dois cliques</nobr>"
1037
+
1038
+ #: templates/landing_old.php:30
1039
+ msgid "Connect your Ecwid store to this site <nobr>in two clicks</nobr>"
1040
+ msgstr "Conecte sua loja Ecwid a este site <nobr>em dois cliques</ nobr>"
1041
+
1042
+ #: templates/landing_old.php:39
1043
+ msgid "Start selling"
1044
+ msgstr "Comece a vender"
1045
+
1046
+ #: templates/landing_old.php:40
1047
+ msgid "Your storefront is ready"
1048
+ msgstr "Sua loja está pronta"
1049
+
1050
+ #: templates/landing_old.php:46
1051
+ msgid "Create Ecwid store"
1052
+ msgstr "Criar loja Ecwid"
1053
+
1054
+ #: templates/landing_old.php:49 templates/landing_old.php:154
1055
+ msgid "Connect your store"
1056
+ msgstr "Conectar sua loja"
1057
+
1058
+ #: templates/landing_old.php:55
1059
+ msgid "Connection error: please click the button again and give permissions for this plugin<br /> to show your Ecwid store on this site."
1060
+ msgstr "Erro de conexão: clique no botão novamente e dê permissões para este plugin <br /> mostrar sua loja Ecwid neste site."
1061
+
1062
+ #: templates/landing_old.php:58 templates/landing_old.php:69
1063
+ msgid "You will be asked to log in to your Ecwid Control Panel<br />and give permissions to show your store on this site"
1064
+ msgstr "Será solicitado o seu login no seu Painel de Controle Ecwid <br /> para liberar as permissões e para que sua loja seja exposta neste site"
1065
+
1066
+ #: templates/landing_old.php:61 templates/landing_old.php:157
1067
+ msgid "Already have Ecwid account?"
1068
+ msgstr "Já possui uma conta Ecwid?"
1069
+
1070
+ #: templates/landing_old.php:65 templates/landing_old.php:161
1071
+ msgid "Don't have an Ecwid account?"
1072
+ msgstr "Não possui uma conta Ecwid?"
1073
+
1074
+ #: templates/landing_old.php:66 templates/landing_old.php:162
1075
+ msgid "Register at Ecwid for free"
1076
+ msgstr "Cadastre-se grátis em Ecwid"
1077
+
1078
+ #: templates/landing_old.php:72
1079
+ msgid "No credit card required"
1080
+ msgstr "Não é necessário cartão de crédito"
1081
+
1082
+ #: templates/landing_old.php:86
1083
+ msgid "Sell Everywhere<br>with your Ecwid store"
1084
+ msgstr "Venda em todos os lugares<br>com sua loja Ecwid"
1085
+
1086
+ #: templates/landing_old.php:88
1087
+ msgid "Use Ecwid's mobile-POS to swipe credit cards and sell on the go. Your orders and inventory are always synchronized with your online store."
1088
+ msgstr "Use o Mobile-POS da Ecwid para aceitar cartões de crédito e vender em qualquer lugar. Suas encomendas e estoques estão sempre sincronizados com sua loja on-line."
1089
+
1090
+ #: templates/landing_old.php:102
1091
+ msgid "Ecwid is compatible with your<br>“%s” WordPress theme<br>out of the box."
1092
+ msgstr "Ecwid é compatível com o seu tema \"%s\" WordPress <br>."
1093
+
1094
+ #: templates/landing_old.php:140
1095
+ msgid "More than 800,000 merchants in 175 countries"
1096
+ msgstr "Mais de 800.000 comerciantes em 175 países"
1097
+
1098
+ #: templates/landing_old.php:151
1099
+ msgid "Get Started, Create Ecwid Account"
1100
+ msgstr "Comece, Crie sua Conta Ecwid"
1101
+
1102
+ #: templates/product-popup.php:23
1103
+ msgid "Name"
1104
+ msgstr "Nome"
1105
+
1106
+ #: templates/product-popup.php:29
1107
+ msgid "SKU"
1108
+ msgstr "SKU"
1109
+
1110
+ #: templates/product-popup.php:47 templates/product-popup.php:53
1111
+ #: templates/product-popup.php:56
1112
+ msgid "Search"
1113
+ msgstr "Pesquisar"
1114
+
1115
+ #: templates/product-popup.php:49
1116
+ msgid "Title or SKU"
1117
+ msgstr "Título ou SKU"
1118
+
1119
+ #: templates/product-popup.php:69
1120
+ msgid "Current Page"
1121
+ msgstr "Página atual"
1122
+
1123
+ #: templates/product-popup.php:80
1124
+ msgid "Next page"
1125
+ msgstr "Próxima página"
1126
+
1127
+ #: templates/product-popup.php:94
1128
+ msgid "Nothing found for <span class=\"empty-page__term\">\"{{ data.term }}\"</span>"
1129
+ msgstr "Nada encontrado para<span class=\"empty-page__term\">\"{{ data.term }}\"</span>"
1130
+
1131
+ #: templates/product-popup.php:96
1132
+ msgid "Try another search."
1133
+ msgstr "Tentar outra pesquisa."
1134
+
1135
+ #: templates/product-popup.php:97
1136
+ msgid "Browse all products."
1137
+ msgstr "Procurar todos os produtos."
1138
+
1139
+ #: templates/product-popup.php:122 templates/product-popup.php:127
1140
+ msgid "Choose Product"
1141
+ msgstr "Selecionar produto"
1142
+
1143
+ #: templates/product-popup.php:123 templates/product-popup.php:131
1144
+ msgid "Customize widget"
1145
+ msgstr "Customizar widget"
1146
+
1147
+ #: templates/product-popup.php:140
1148
+ msgid "Choose product properties to display in widget"
1149
+ msgstr "Selecione as propriedades do produto para exibir no widget"
1150
+
1151
+ #: templates/product-popup.php:150
1152
+ msgid "Picture"
1153
+ msgstr "Imagem"
1154
+
1155
+ #: templates/product-popup.php:155
1156
+ msgid "Options"
1157
+ msgstr "Opções"
1158
+
1159
+ #: templates/product-popup.php:165
1160
+ msgid "Quantity"
1161
+ msgstr "Quantidade"
1162
+
1163
+ #: templates/product-popup.php:176
1164
+ msgid "«Add to bag» button"
1165
+ msgstr "Botão «Adicionar ao carrinho»"
1166
+
1167
+ #: templates/product-popup.php:196
1168
+ msgid "Add border"
1169
+ msgstr "Adicionar borda"
1170
+
1171
+ #: templates/product-popup.php:201
1172
+ msgid "Show price inside the \"Buy now\" button"
1173
+ msgstr "Mostrar preço dentro do botão \"Comprar agora\""
1174
+
1175
+ #: templates/product-popup.php:206
1176
+ msgid "Center align on a page"
1177
+ msgstr "Alinhar ao centro em uma página"
1178
+
1179
+ #: templates/product-popup.php:218
1180
+ msgid "customize appearance"
1181
+ msgstr "Customizar aparência"
1182
+
1183
+ #: templates/product-popup.php:219
1184
+ msgid "select product"
1185
+ msgstr "selecionar produto"
1186
+
1187
+ #: templates/product-popup.php:220
1188
+ msgid "Insert"
1189
+ msgstr "Inserir"
1190
+
1191
+ #: templates/reconnect-sso.php:11
1192
+ msgid "Your store Control Panel. Right here in WordPress."
1193
+ msgstr "Painel de controle da sua loja. Aqui no WordPress."
1194
+
1195
+ #: templates/reconnect-sso.php:12
1196
+ msgid "Manage products, track sales, adjust settings - <nobr>All without</nobr> leaving this page."
1197
+ msgstr "Gerenciar produtos, controlar vendas, ajustar configurações - <nobr>Tudo sem </nobr> sair desta página."
1198
+
1199
+ #: templates/reconnect-sso.php:14
1200
+ msgid "Re-connect to Enable Control Panel"
1201
+ msgstr "Reconecte-se para habilitar o Painel de Controle"
1202
+
1203
+ #: templates/reconnect.php:31
1204
+ msgid "Connection error - after clicking button you need to login and accept permissions to use our plugin. Please, try again."
1205
+ msgstr "Erro de conexão - depois de clicar no botão você precisa fazer login e aceitar permissões para usar o nosso plugin. Por favor, tente novamente."
1206
+
1207
+ #: templates/reconnect.php:39
1208
+ msgid "Looks like your site does not support remote POST requests that are required for %s API to work. Please, contact your hosting provider to enable cURL."
1209
+ msgstr "Parece que seu site não oferece suporte a solicitações remotas POST que são necessárias para que a API do %s funcione. Entre em contato com o provedor de hospedagem para ativar cURL."
1210
+
1211
+ #: templates/store-popup.php:12 templates/store-popup.php:25
1212
+ msgid "Store elements"
1213
+ msgstr "Elementos da loja"
1214
+
1215
+ #: templates/store-popup.php:46
1216
+ msgid "Choose widgets to show"
1217
+ msgstr "Escolher widgets para exibir"
1218
+
1219
+ #: templates/store-popup.php:47
1220
+ msgid "Product catalog will be shown automatically"
1221
+ msgstr "O catálogo de produtos será exibido automaticamente"
1222
+
1223
+ #: templates/store-popup.php:52
1224
+ msgid "Show search"
1225
+ msgstr "Mostrar pesquisa"
1226
+
1227
+ #: templates/store-popup.php:59
1228
+ msgid "Show minicart"
1229
+ msgstr "Mostrar mini carrinho"
1230
+
1231
+ #: templates/store-popup.php:66
1232
+ msgid "Show categories"
1233
+ msgstr "Mostrar categorias"
1234
+
1235
+ #: templates/store-popup.php:72
1236
+ msgid "Additionally, you can add store controls to your website's toolbar using <a %s>WordPress native widgets</a>"
1237
+ msgstr "Além disso, você pode adicionar controles da loja à barra de ferramentas do seu site usando <a %s> widgets nativos do WordPress</a>"
1238
+
1239
+ #: templates/store-popup.php:233
1240
+ msgid "Demo store"
1241
+ msgstr "Loja demo"
1242
+
1243
+ #: templates/store-popup.php:236
1244
+ msgid "Open store dashboard"
1245
+ msgstr "Abrir dashboard da loja"
1246
+
1247
+ #: templates/store-popup.php:240
1248
+ msgid "Insert into page"
1249
+ msgstr "Inserir na página"
1250
+
1251
+ #: templates/store-popup.php:243
1252
+ msgid "Update"
1253
+ msgstr "Atualizar"
1254
+
1255
+ #: templates/store-svg.php:10
1256
+ msgid "Your store will be shown here!"
1257
+ msgstr "Sua loja será exibida aqui!"
1258
+
1259
+ #: templates/store-svg.php:13
1260
+ msgid "Demo Store"
1261
+ msgstr "Loja Demo"
1262
+
1263
+ #: templates/sync.php:161
1264
+ msgid "To enable this feature, the plugin needs a permission to read your store product information."
1265
+ msgstr "Para ativar esse recurso, o plugin precisa de uma permissão para ler as informações do produto da loja."
1266
+
1267
+ #: templates/sync.php:162
1268
+ msgid "Provide access."
1269
+ msgstr "Liberar acesso."
1270
+
1271
+ #: templates/sync.php:167 templates/sync.php:168
1272
+ msgid "Synchronize products"
1273
+ msgstr "Sincronizar produtos"
1274
+
1275
+ #: templates/sync.php:175
1276
+ msgid "We're synchronizing your products. This may take a few minutes. Please do not reload the page."
1277
+ msgstr "Estamos sincronizando seus produtos. Isso pode levar alguns minutos. Não recarregue a página."
1278
+
1279
+ #: templates/sync.php:179
1280
+ msgid "Products synchronized: %s out of %s"
1281
+ msgstr "Produtos sincronizados: %s de %s"
1282
+
1283
+ #: templates/sync.php:186
1284
+ msgid "Products are successfully synchronized. The product pages are up to date."
1285
+ msgstr "Os produtos foram sincronizados com êxito. As páginas do produto estão atualizadas."
1286
+
1287
+ #: templates/sync.php:190
1288
+ msgid "Last update"
1289
+ msgstr "Última atualização"
1290
+
1291
+ #: templates/sync.php:193
1292
+ msgid "Not synchronized yet"
1293
+ msgstr "Não sincronizado ainda"
1294
+
1295
+ #. Plugin Name of the plugin/theme
1296
+ #:
1297
+ msgid "Ecwid Shopping Cart"
1298
+ msgstr "Carrinho de compras Ecwid"
1299
+
1300
+ #. #-#-#-#-# ecwid-shopping-cart.pot (Ecwid Shopping Cart 5.0.7) #-#-#-#-#
1301
+ #. Plugin URI of the plugin/theme
1302
+ #. #-#-#-#-# ecwid-shopping-cart.pot (Ecwid Shopping Cart 5.0.7) #-#-#-#-#
1303
+ #. Author URI of the plugin/theme
1304
+ #:
1305
+ msgid "http://www.ecwid.com?source=wporg"
1306
+ msgstr "http://www.ecwid.com?source=wporg"
1307
+
1308
+ #. Description of the plugin/theme
1309
+ #:
1310
+ msgid "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."
1311
+ msgstr "O Ecwid é um carrinho de compras completo e gratuito. Pode ser facilmente integrado com qualquer blog WordPress e leva menos de 5 minutos para configurar."
1312
+
1313
+ #. Author of the plugin/theme
1314
+ #:
1315
+ msgid "Ecwid Team"
1316
+ msgstr "Equipe Ecwid"
1317
 
 
 
languages/ecwid-shopping-cart-ru_RU.mo CHANGED
Binary file
languages/ecwid-shopping-cart-ru_RU.po CHANGED
@@ -1,858 +1,1710 @@
1
- msgid "Ecwid Shopping Cart"
2
- msgstr "Интернет-магазин Эквид"
3
-
4
- msgid "Ecwid Team"
5
- msgstr "Ecwid Team"
6
-
7
- msgid "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."
8
- msgstr "Эквид бесплатный полнофункциональный интернет-магазин. Легко встраивается в любой WordPress сайт и настраивается за 5 минут."
9
-
10
- msgid "Get help"
11
- msgstr "Задать вопрос"
12
-
13
- msgid "Go to Ecwid site"
14
- msgstr "Пройти на сайт Эквида"
15
-
 
 
 
 
 
 
 
 
 
 
16
  msgid "Visit storefront"
17
  msgstr "Открыть страницу магазина"
18
 
 
19
  msgid "Manage my store"
20
  msgstr "Управлять магазином"
21
 
22
- msgid "→ Sell on Facebook"
23
- msgstr " Начать продавать на Facebook"
 
 
 
 
 
 
24
 
25
- msgid "<a %s>Online store powered by Ecwid</a>"
 
 
 
 
 
26
  msgstr "<a %s>Интернет магазин построен на Эквиде</a>"
27
 
 
 
 
 
28
  msgid "Store"
29
  msgstr "Магазин"
30
 
31
- msgid "Ecwid shopping cart settings"
32
- msgstr "Настройки Ecwid"
33
-
34
- msgid "Ecwid Store"
35
- msgstr "Магазин Ecwid"
36
-
37
  msgid "Setup"
38
  msgstr "Установка"
39
 
 
 
 
 
 
40
  msgid "Dashboard"
41
  msgstr "Консоль"
42
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  msgid "Appearance settings"
44
  msgstr "Настройки внешнего вида"
45
 
 
 
46
  msgid "Appearance"
47
  msgstr "Внешний вид"
48
 
 
49
  msgid "Advanced settings"
50
  msgstr "Дополнительные настройки"
51
 
 
52
  msgid "Advanced"
53
  msgstr "Дополнительные"
54
 
55
- msgid "Hidden category"
56
- msgstr "Скрытая категория"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
 
58
- msgid "Do you like Ecwid and want to help it grow? You can add this fancy 'Powered by Ecwid' badge on your site to show your visitors that you're a proud user of Ecwid."
59
- msgstr "Если вам нравится Эквид и вы хотите помочь ему стать самым популярным конструктором интернет-магазинов, вы можете добавить значок на сайт, чтобы показать посетителям, что вы пользуетесь Эквидом."
 
60
 
61
- msgid "Ecwid Badge"
62
- msgstr "Значок Эквида"
 
63
 
64
- msgid "Ecwid shopping cart widget"
65
- msgstr "Виджет интернет-магазина Эквид"
 
66
 
67
- msgid "Ecwid ecommerce solution"
68
- msgstr "Решение для электронной коммерции Эквид"
 
69
 
70
- msgid "Ecwid free shopping cart"
71
- msgstr "Беспланный конструктов интернет-магазинов Эквид"
 
 
 
 
 
72
 
73
- msgid "Ecwid shopping cart"
74
- msgstr "Интернет-магазин Эквид"
 
75
 
76
- msgid "Ecwid e-commerce widgets"
77
- msgstr "Виджеты для электронной коммерции Эквид"
 
 
 
 
 
78
 
79
- msgid "Your store's minicart"
80
- msgstr "Корзина вашего магазина"
 
81
 
82
- msgid "Shopping Cart"
83
- msgstr "Корзина"
 
 
 
 
 
 
 
 
 
84
 
 
 
 
 
 
85
  msgid "Cart"
86
  msgstr "Корзина"
87
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  msgid "My Account"
89
  msgstr "Профиль"
90
 
 
91
  msgid "Store with Categories Menu"
92
  msgstr "Магазин с меню категорий"
93
 
94
- msgid "Store Page"
95
- msgstr "Страница магазина"
 
96
 
97
- msgid "Adds a cart widget for customer to see the products they added to the cart."
98
- msgstr "Добавляет виджет корзины покупателя для быстрого доступа к добавленным товарам."
 
99
 
100
- msgid "Shopping Cart (Mini)"
101
- msgstr "Корзина (Мини)"
 
102
 
103
- msgid "Adds a compact cart widget for customer to see the products they added to the cart."
104
- msgstr "Добавляет компактный виджет корзины покупателя для быстрого доступа к добавленным товарам."
 
105
 
106
- msgid "Displays a simple search box for your customers to find a product in your store"
107
- msgstr "Показывает покупателю поле поиска товаров в магазине"
 
108
 
109
- msgid "Product Search"
110
- msgstr "Поиск товаров"
 
 
111
 
112
- msgid "Adds vertical categories block to let the customer navigate your store."
113
- msgstr "Показывает вертикальный список категорий для удобной навигации по магазину."
 
114
 
115
- msgid "Store Categories"
116
- msgstr "Категории магазина"
 
 
 
 
 
117
 
118
- msgid "Displays a link to the store page in sidebar for customer to quickly access your store from any page on the site."
119
- msgstr "Показывает ссылку на страницу магазина, позволяющую покупателю быстро открыть магазин из любой страницы на сайте."
 
 
 
 
 
 
 
 
 
 
 
 
 
120
 
121
- msgid "Store Page Link"
122
- msgstr "Ссылка на магазин"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
124
  msgid "Shop"
125
  msgstr "Магазин"
126
 
127
- msgid "Displays a list of products recently viewed by the customer to easily return to the products they saw in your shop."
128
- msgstr "Показывает список товаров, просмотренных покупателем. Позволяет покупателю быстро перейти к товарам, которые их заинтересовали раньше."
 
 
 
 
 
 
 
 
 
 
 
129
 
130
- msgid "Recently Viewed Products"
131
- msgstr "Просмотренные товары"
 
 
132
 
133
- msgid "Number of products to show"
134
- msgstr "Количество товаров для отображения"
 
 
 
 
 
 
 
135
 
136
- msgid "Greetings! Your Ecwid plugin is now active."
137
- msgstr "Добро пожаловать в Эквид!"
 
 
138
 
139
- msgid "Take a few simple steps to complete store setup"
140
- msgstr "Магазин почти готов — осталось несколько простых шагов"
 
 
141
 
142
- msgid "Set up Ecwid Store"
143
- msgstr "Настроить магазин"
 
144
 
145
- msgid "Good job! Your store is set up and you're ready to sell."
146
- msgstr "Отлично! Магазин установлен и готов к продажам."
 
147
 
148
- msgid "Use the dashboard below to add products, track sales and adjust settings in your store. We also created a store page on your site and now you can fine-tune the storefront appearance."
149
- msgstr "На этой странице вы можете добавлять товары, следить за заказами и управлять настройками магазина. Мы создали страницу витрины магазина на сайте, и теперь вы можете посмотреть витрину и настроить её внешний вид. "
 
150
 
151
- msgid "Visit Storefront"
152
- msgstr "Открыть витрину"
 
153
 
154
- msgid "Configure Appearance"
155
- msgstr "Настроить внешний вид"
 
156
 
157
- msgid "Your store is almost ready!"
158
- msgstr "Магазин почти готов!"
 
 
 
 
 
159
 
160
- msgid "Complete setup and start selling"
161
- msgstr "Завершите установку и начните продавать"
 
162
 
163
- msgid "Complete Setup"
164
- msgstr "Продолжить установку"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
165
 
166
- msgid "To add extra functions to your store, drag and drop Ecwid store elements on your site. When you're done, you can get back to modifying your settings."
167
- msgstr "Добавьте дополнительные элементы магазина, перетащив виджеты Эквида в нужное место сайта. После установки виджетов можете вернуться к настройкам магазина."
 
 
168
 
169
- msgid "Back to Store Settings"
170
- msgstr "Вернуться к настройкам"
 
 
171
 
172
- msgid "Do you like your Ecwid online store? We'd appreciate it if you add your review and vote for the plugin on Wordpress site."
173
- msgstr "Вам нравится ваш Эквид-магазин? Будем благодарны, если вы оставите отзыв и проголосуете за Эквид на сайте WordPress."
 
174
 
175
- msgid "Rate Ecwid at WordPress.org"
176
- msgstr "Оценить Эквид на WordPress.org"
 
177
 
178
- msgid "Add Store"
179
- msgstr "Добавить магазин"
 
 
 
180
 
181
- msgid "Edit Store"
182
- msgstr "Настройки магазина"
 
 
 
 
 
183
 
184
- msgid "Edit Appearance"
185
- msgstr "Настроить внешний вид"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
186
 
 
187
  msgid "Price"
188
  msgstr "Цена"
189
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
190
  msgid "Never show this message again"
191
  msgstr "Больше не показывать это сообщение"
192
 
193
- msgid "Ecwid Shopping Cart — Advanced settings"
194
- msgstr "Магазин Ecwid Дополнительные настройки"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
195
 
 
196
  msgid "Category shown by default"
197
  msgstr "Категория, показываемая по умолчанию"
198
 
 
199
  msgid "Store root category"
200
  msgstr "Корневая категория магазина"
201
 
202
- msgid "Default category ID"
203
- msgstr "ID категории по умолчанию"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
204
 
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 "Save changes"
209
  msgstr "Сохранить изменения"
210
 
211
- msgid "Ecwid Shopping Cart — Appearance settings"
212
- msgstr "Магазин EcwidНастройки внешнего вида"
 
213
 
 
214
  msgid "Display search box above products"
215
  msgstr "Показывать форму поиска над списком продуктов"
216
 
217
- msgid "Or you can add search box to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
218
- msgstr "Или вы можете добавить форму поиска на ваш сайт с помощью <a href=\"%s\">виджетов WordPress</a>"
 
 
 
 
 
219
 
 
220
  msgid "Display categories above products"
221
  msgstr "Показывать меню категорий над списком продуктов"
222
 
223
- msgid "Or you can add vertical categories to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
224
- msgstr "Или вы можете добавить вертикальное меню категорий на ваш сайт с помощью <a href=\"%s\">виджетов WordPress</a>"
 
 
 
 
 
225
 
 
226
  msgid "Enable minicart attached to categories"
227
  msgstr "Показывать корзину у меню категорий"
228
 
229
- msgid "You should disable this option, if you added minicart to your website's&nbsp;sidebar"
230
- msgstr "Если вы добавили виджет корзины в боковое меню, следует отключить эту настройку"
 
 
 
 
 
231
 
 
232
  msgid "Number of categories per row"
233
  msgstr "Количество категорий в ряд"
234
 
 
235
  msgid "Number of products per page"
236
  msgstr "Количество продуктов на странице"
237
 
 
238
  msgid "Grid view"
239
  msgstr "Вид \"сетка\""
240
 
 
241
  msgid "List view"
242
  msgstr "Вид \"список\""
243
 
 
244
  msgid "Table view"
245
  msgstr "Вид \"таблица\""
246
 
247
- msgid "Here you can control how many products will be displayed per page. These options define maximum values. If there is not enough space to show all product columns, Ecwid will adapt the number of columns to hold all products."
248
- msgstr "Здесь вы можете задать количество отображаемых продуктов на странице. Эти цифры определяют максимальные значения. Если на странице в сетке продуктов будет недостаточно места для отображения всех столбцов, Эквид уменьшит их количество."
249
-
 
 
 
 
 
 
 
 
 
250
  msgid "Default view mode on product pages"
251
  msgstr "Вид страницы продуктов по умолчанию"
252
 
 
 
253
  msgid "Grid"
254
  msgstr "Сетка"
255
 
 
 
256
  msgid "List"
257
  msgstr "Список"
258
 
 
 
259
  msgid "Table"
260
  msgstr "Таблица"
261
 
 
262
  msgid "Default view mode on search results"
263
  msgstr "Вид страницы результатов поиска по умолчанию"
264
 
 
 
 
 
 
 
265
  msgid "Connect your store<br /> to this WordPress site"
266
  msgstr "Подключите магазин<br /> к своему WordPress сайту"
267
 
268
- msgid "Connect Ecwid store"
269
- msgstr "Подключить"
 
 
 
 
 
 
270
 
271
- msgid "To sell using Ecwid, you must allow WordPress to access the Ecwid plugin. The connect button will direct you to your Ecwid account where you can provide permission."
272
- msgstr "Нажмите на кнопку, авторизуйтесь в Эквиде и выдайте запрошенные права доступа"
 
273
 
274
- msgid "Connection error - after clicking button you need to login and accept permissions to use our plugin. Please, try again."
275
- msgstr "Ошибка подключения: после нажатия на кнопку, авторизуйтесь в Эквиде и предоставьте запрашиваемые права."
 
 
 
 
 
276
 
277
- msgid "Don't have an Ecwid account? Create one now."
278
- msgstr "Ещё нет аккаунта в Эквиде? Зарегистрируйтесь"
 
279
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
280
  msgid "Store ID"
281
  msgstr "ID Магазина"
282
 
 
283
  msgid "Disconnect store"
284
  msgstr "Отсоединить магазин"
285
 
 
286
  msgid "Congratulations!"
287
  msgstr "Поздравляем!"
288
 
289
- msgid "Your Ecwid store is now connected<br /> to your WordPress website"
290
- msgstr "Эквид-магазин успешно подключен<br /> к вашему WordPress сайту"
 
291
 
 
292
  msgid "Greetings!"
293
  msgstr "Приветствуем!"
294
 
295
- msgid "Your Ecwid store is connected<br /> to your WordPress website"
296
- msgstr "Эквид-магазин подключен<br /> к вашему WordPress сайту"
 
297
 
 
298
  msgid "Open control panel"
299
  msgstr "Открыть панель управления"
300
 
301
- msgid "Plugin is installed successfully!"
302
- msgstr "Плагин успешно установлен!"
 
303
 
304
- msgid "There are just a few steps left to start selling<br /> on your WordPress site"
305
- msgstr "До открытия магазина на вашем WordPress сайте<br /> осталось несколько простых шагов"
 
306
 
307
- msgid "There are few little steps left to start selling<br /> on your WordPress site"
308
- msgstr "До открытия магазина на вашем WordPress сайте<br /> осталось несколько простых шагов"
 
309
 
310
- msgid "Register"
311
- msgstr "Зарегистрируйтесь"
 
312
 
313
- msgid "Create a free Ecwid account to manage your store and inventory.<br /> No credit card required"
314
- msgstr "Зарегистрируйте бесплатный аккаунт в Эквиде.<br /> Кредитная карта не требуется"
 
315
 
316
- msgid "Connect"
317
- msgstr "Подключите магазин"
 
 
 
318
 
319
- msgid "Add your Ecwid store to your site <nobr>in two clicks</nobr>"
320
- msgstr "Подключите свой Эквид-магазин к сайту <nobr>в два клика</nobr>"
 
321
 
322
- msgid "Connect your Ecwid store to this site <nobr>in two clicks</nobr>"
323
- msgstr "Подключите свой Эквид-магазин к сайту <nobr>в два клика</nobr>"
 
 
 
 
 
324
 
325
- msgid "Start selling"
326
- msgstr "Начните продавать"
 
327
 
328
- msgid "Your storefront is ready"
329
- msgstr "Магазин открыт для покупателей"
 
 
 
 
 
330
 
331
- msgid "Create Ecwid store"
332
- msgstr "Создать магазин бесплатно"
 
333
 
334
- msgid "Connect your store"
335
- msgstr "Подключить магазин"
 
 
 
336
 
337
- msgid "Free registration, No credit card required"
338
- msgstr "Регистрация бесплатна, кредитная карта не требуется"
 
339
 
340
- msgid "Connection error: please click the button again and give permissions for this plugin<br /> to show your Ecwid store on this site."
341
- msgstr "Ошибка подключения: пожалуйста, нажмите кнопку ещё раз и предоставьте права доступа плагину<br /> для публикации своего Эквид-магазина на этом сайте."
 
 
 
 
 
342
 
343
- msgid "You will be asked to log in to your Ecwid Control Panel<br />and give permissions to show your store on this site"
344
- msgstr "Вам будет предложено войти в панель управления Эквида<br />и предоставить права доступа для отображения магазина на вашем сайте"
 
345
 
346
- msgid "Already have Ecwid account?"
347
- msgstr "Уже есть аккаунт в Эквиде?"
 
348
 
349
- msgid "Connect your store to Wordpress site"
350
- msgstr "Подключить магазин к своему сайту"
 
351
 
352
- msgid "Don't have an Ecwid account?"
353
- msgstr "Ещё нет аккаунта в Эквиде?"
 
354
 
355
- msgid "Register at Ecwid for free"
356
- msgstr "Зарегистрироваться бесплатно"
 
357
 
358
- msgid "No credit card required"
359
- msgstr "Кредитная карта не требуется"
 
360
 
361
- msgid "Get ready to sell online"
362
- msgstr "Продавать онлайн – это просто"
 
 
 
 
 
363
 
364
- msgid "Sell Everywhere<br>with your Ecwid store"
365
- msgstr "Продавайте там,<br> где ваши клиенты"
 
366
 
367
- msgid "Start selling on your WordPress site. Then mirror your shop on your Facebook page, blog and marketplaces like Google Shopping, Yahoo and Shopping.com."
368
- msgstr "Откройте продажи на своём WordPress сайте, а затем разместите витрину магазина в социальных сетях, блоге, и выгрузите товары на торговые площадки Яндекс.Маркет, eBay и Google Shopping."
 
369
 
370
- msgid "Use Ecwid's mobile-POS to swipe credit cards and sell on the go. Your orders and inventory are always synchronized with your online store."
371
- msgstr "Используйте наше мобильное приложение, чтобы получать и обрабатывать заказы в любой точке продаж. Все изменения синхронизируются с магазином на лету."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
372
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
373
  msgid "Features"
374
  msgstr "Преимущества"
375
 
 
376
  msgid "Compatible with your theme"
377
  msgstr "Работает с вашей темой"
378
 
379
- msgid "Ecwid is compatible with your<br>“%s” WordPress theme<br>out of the box."
380
- msgstr "Эквид совместим с темой<br>\"%s\" вашего сайта из коробки."
 
381
 
 
382
  msgid "Free and always up to date"
383
  msgstr "Бесплатный план и обновления"
384
 
385
- msgid "Free plan always available with tons of features<br>at no additional cost. Seamless upgrades occur<br>automatically for free."
386
- msgstr "Всегда доступный бесплатный план с множеством<br>возможностей. Обновления магазина автоматизированы,<br> бесплатны и не требуют вашего участия."
 
 
 
 
 
387
 
 
388
  msgid "Responsive design"
389
  msgstr "Адаптивный дизайн"
390
 
 
391
  msgid "Your store looks perfect<br />on all devices"
392
- msgstr "Ваш магазин выглядит превосходно<br />на любом устройстве: планшете, смартфоне и ноутбуке."
 
 
393
 
 
394
  msgid "PCI DSS Certified"
395
  msgstr "Сертификация по PCI DSS"
396
 
 
397
  msgid "Secure checkout with over 40<br />payment options"
398
- msgstr "Эквид сертифицирован по стандарту Level 1 PCI DSS – самому высокому уровню безопасности передачи данных."
 
 
399
 
 
400
  msgid "Global Reach"
401
  msgstr "Глобальное решение"
402
 
403
- msgid "More than 800,000 merchants in 175 countries"
404
- msgstr "Эквид уже используют 800,000 продавцов из 175 стран"
 
405
 
 
406
  msgid "Start selling <br>on your WordPress <nobr>site for free</nobr>"
407
  msgstr "Начните продавать<br>на своём WordPress <nobr>сайте бесплатно</nobr>"
408
 
409
- msgid "Get Started, Create Ecwid Account"
410
- msgstr "Зарегистрировать аккаунт"
411
-
412
  msgid "Connect your store to this site"
413
  msgstr "Подключить магазин к своему сайту"
414
 
415
- msgid "Reconnect your store<br /> to this WordPress site"
416
- msgstr "Reconnect your store<br /> to this WordPress site"
417
-
418
- msgid "Reconnect Ecwid store"
419
- msgstr "Reconnect Ecwid store"
420
-
421
- msgid "New features available, reconnect to be in touch with our updates"
422
- msgstr "New features available, reconnect to be in touch with our updates"
423
-
424
- msgid "Add store"
425
- msgstr "Add store"
426
-
427
- msgid "Store elements"
428
- msgstr "Витрина"
429
-
430
- msgid "Choose widgets to show"
431
- msgstr "Виджеты витрины магазина"
432
-
433
- msgid "Product catalog will be shown automatically"
434
- msgstr "Каталог товаров отображается по умолчанию"
435
-
436
- msgid "Show search"
437
- msgstr "Поиск"
438
-
439
- msgid "Show minicart"
440
- msgstr "Мини-корзина"
441
-
442
- msgid "Show categories"
443
- msgstr "Меню категорий"
444
-
445
- msgid "Additionally, you can add store controls to your website's toolbar using <a %s>WordPress native widgets</a>"
446
- msgstr "Кроме того, вы можете добавить отдельные элементы магазина в сайдбар сайта используя <a %s>встроенные виджеты WordPress</a>"
447
-
448
- msgid "Demo store"
449
- msgstr "Демонстрационный магазин"
450
-
451
- msgid "Open store dashboard"
452
- msgstr "Настройки магазина"
453
-
454
- msgid "Your store will be shown here!"
455
- msgstr "Здесь будет отображаться ваш магазин."
456
-
457
- msgid "Demo Store"
458
- msgstr "Демонстрационный магазин"
459
-
460
- msgid "Chameleon skin"
461
- msgstr "Тема \"Хамелеон\""
462
-
463
- msgid "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."
464
- msgstr "Автоматическая подстройка внешнего вида магазина под стили темы сайта. Включите эту опцию, чтобы Эквид определял цвета и шрифты сайта и использовал их в каталоге товаров."
465
-
466
- msgid "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>."
467
- msgstr "Мы добавили этот инструмент недавно, и он сейчас работает в бета-режиме. Если вы обнаружите какие-либо проблемы в его работе, пожалуйста, <a %s>сообщите нам</a>."
468
-
469
- msgid "Enter your Store ID"
470
- msgstr "Введите ваш ID Магазина"
471
-
472
- msgid "Where to find your Store ID:"
473
- msgstr "Где найти ID Магазина:"
474
-
475
- msgid "You will also get your Store ID by email."
476
- msgstr "Также вы получите ID вашего магазина на ваш e-mail."
477
-
478
- msgid "You have not viewed any product yet."
479
- msgstr "Вы пока что не просмотрели ни одного товара."
480
-
481
- msgid "Open {{store page title}}"
482
- msgstr "Открыть {{store page title}}"
483
-
484
- msgid "Store ID is a unique identifier of your Ecwid account. You can find it in your Ecwid control panel: open the <a %s>Dashboard page</a> and find the \"<b>Store ID: NNNNNNN</b>\" text, where <b>NNNNNNN</b> is your Store&nbsp;ID."
485
- msgstr "ID магазина – это уникальный номер аккаунта в Эквиде. Вы можете его найти в панели управления Эквид-магазина: откройте страницу \"<a %s>Консоль</a>\" и найдите текст \"<b>ID&nbsp;Магазина&nbsp;NNNNNNN</b>\". "
486
-
487
- msgid "Enable the new category menu"
488
- msgstr "Включить новое меню категорий"
489
-
490
- msgid "The new category menu looks better and is more mobile-friendly. If you haven't yet added category menu to your store page, you can do that in the <a %s>store page editor</a> (enable the \"Show categories\" option)"
491
- msgstr "Новое меню категорий лучше выглядит и отлично работает на мобильных устройствах. Если у вас на странице магазина пока нет меню категорий, добавьте его в <a %s>настройках страницы магазина</a> (включите виджет \"Категории\")."
492
-
493
- msgid "Products"
494
- msgstr "Товары"
495
-
496
- msgid "Sales"
497
- msgstr "Продажи"
498
-
499
- msgid "If you want to connect another Ecwid store, you can re-connect on <a %s>this page</a>"
500
- msgstr "Чтобы отвязать Эквид-аккаунт от сайта и подключить другой, воспользуйтесь <a %s>этой страницей</a>"
501
-
502
- msgid "Your store Control Panel. Right here in WordPress."
503
- msgstr "Панель управления магазином, встроенная в Wordpress."
504
-
505
- msgid "Manage products, track sales, adjust settings - <nobr>All without</nobr> leaving this page."
506
- msgstr "Вы сможете добавлять товары, обрабатывать заказы и управлять магазином прямо на этой странице."
507
-
508
- msgid "Re-connect to Enable Control Panel"
509
- msgstr "Подключить панель управления"
510
-
511
- msgid "Report a problem with the store"
512
- msgstr "Сообщить о проблеме"
513
-
514
- msgid "https://support.ecwid.com"
515
- msgstr "https://support.ecwid.com/hc/ru"
516
-
517
- msgid "Welcome to Ecwid!"
518
- msgstr "Добро пожаловать в Ecwid!"
519
-
520
- msgid "Thank you for choosing Ecwid to build your online store. The first step to sell successfully online is to setup your store! Let’s get started and add a store to your website in a few simple steps."
521
- msgstr "Спасибо, что выбрали Ecwid для создания вашего интернет-магазина. Первый шаг к успешной онлайн торговле — настройка магазина! Давайте добавим магазин на ваш сайт за несколько простых шагов."
522
-
523
- msgid "Create Free Ecwid Store"
524
- msgstr "Создать Эквид-магазин"
525
-
526
- msgid "Preparing your store dashboard"
527
- msgstr "Подготовка панели управления"
528
-
529
- msgid "Store is created"
530
- msgstr "Магазин создан"
531
-
532
- msgid "Download log file"
533
- msgstr "Скачать лог-файл"
534
-
535
- msgid "See more"
536
- msgstr "Посмотреть все"
537
-
538
- msgid "Read FAQ"
539
- msgstr "Посмотреть FAQ"
540
-
541
- msgid "https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-downloadable-"
542
- msgstr "https://support.ecwid.com/hc/ru/articles/207101259-Wordpress-ORG"
543
-
544
- msgid "Questions?"
545
- msgstr "Есть вопросы?"
546
-
547
- msgid "<a href=\"admin.php?page=ecwid-help\">Read FAQ or contact support</a>"
548
- msgstr "<a href=\"admin.php?page=ecwid-help\">Посетите Центр поддержки Эквида или напишите нам</a>"
549
-
550
- msgid "Want to connect another Ecwid store?"
551
- msgstr "Хотите подключить другой Эквид-магазин?"
552
-
553
- msgid "<a %s>Reconnect</a>"
554
- msgstr "<a %s>Отвязать Эквид-аккаунт от сайта и подключить другой</a>"
555
-
556
- msgid "Creating store"
557
- msgstr "Создание магазина"
558
-
559
- msgid "Manage Store on iPhone, iPad or Android"
560
- msgstr "Управляйте магазином с iPhone, iPad, Android"
561
-
562
- msgid "Help"
563
- msgstr "Помощь"
564
-
565
- msgid "Get Ecwid mobile app"
566
- msgstr "Установить мобильное приложение"
567
-
568
- msgid "Store Root Categories"
569
- msgstr "Корневые категории магазина"
570
-
571
- msgid "Adds root categories list to the sidebar to let your customers navigate the store."
572
- msgstr "Показывает список корневых категорий для удобной навигации по магазину."
573
-
574
- msgid "Browse by Category"
575
- msgstr "Категории магазина"
576
-
577
- msgid "Refresh categories list"
578
- msgstr "Обновить список категорий"
579
-
580
- msgid "Done"
581
- msgstr "Готово"
582
-
583
- msgid "Shopping Cart (Floating)"
584
- msgstr "Корзина (Плавающая)"
585
-
586
- msgid "Adds a shopping cart widget to the top right corner of your site."
587
- msgstr "Добавляет плавающий виджет корзины со счетчиком товаров."
588
-
589
- msgid "How can we help you?"
590
- msgstr "Как вам помочь?"
591
-
592
- msgid "E.g. How to set up shipping"
593
- msgstr "Например, как настроить платежи?"
594
-
595
- msgid "Search the Knowledge Base"
596
- msgstr "Искать в базе знаний"
597
-
598
- msgid "Ecwid Basics"
599
- msgstr "Начало работы"
600
-
601
- msgid "Manage Your Ecwid Store"
602
- msgstr "Управление магазином"
603
-
604
- msgid "Customize Your Store"
605
- msgstr "Изменение дизайна"
606
-
607
- msgid "Billing Questions"
608
- msgstr "Подписка"
609
-
610
- msgid "Technical Reference"
611
- msgstr "Техническая информация"
612
-
613
- msgid "Frequently Asked Questions"
614
- msgstr "Часто Задаваемые Вопросы"
615
-
616
- msgid "Contact us"
617
- msgstr "Связь с техподдержкой"
618
-
619
- msgid "Still have questions about Ecwid? Let us know!"
620
- msgstr "Есть вопросы? Свяжитесь с нами, мы будем рады вам помочь."
621
-
622
- msgid "Forums"
623
- msgstr "Форум"
624
-
625
- msgid "Join the Ecwid community. Discuss support topics and store ideas with other Ecwid users."
626
- msgstr "Общайтесь с другими пользователями Эквида и командой поддержки клиентов по любым вопросам, связанным с работой вашего магазина."
627
-
628
- msgid "How do I add store categories to the site menu."
629
- msgstr "Как добавить категории в меню сайта?"
630
-
631
- 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."
632
- msgstr "Перейдите на страницу «Внешний вид > Меню», добавьте элемент «Магазин с меню категорий» в меню и сохраните изменения. Сразу после сохранения меню сайта пополнится выпадающим списком категорий вашего магазина."
633
-
634
- msgid "Is it possible to display my store on the site home page?"
635
- msgstr "Как добавить магазин на домашнюю страницу?"
636
-
637
- 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>"
638
- msgstr "Перейдите на страницу <a href=\"options-reading.php\">«Настройки > Чтение»</a> и выберите «Магазин » в выпадающем списке главной страницы."
639
-
640
- msgid "How secure is this plugin? Is my store PCI DSS compliant?"
641
- msgstr "Безопасен ли Эквид?"
642
-
643
- 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>"
644
- msgstr "Эквид сертифицирован по стандарту PCI DSS Level 1. Это высший уровень соответствия мировым требованиям безопасной передачи данных: информация вашего магазина и ваших клиентов надёжно защищена."
645
-
646
- msgid "How do I put my products in the sitemap?"
647
- msgstr "Как добавить товары в карту сайта (sitemap)?"
648
-
649
- 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>."
650
- 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>."
651
-
652
- msgid "How much does Ecwid cost?"
653
- msgstr "Сколько стоит Эквид?"
654
-
655
- 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."
656
- 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>"
657
-
658
- msgid "How to add a single product with the add to bag button to the site pages?"
659
- msgstr "Как добавить отдельный товар с корзиной на страницу сайта?"
660
-
661
- 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>"
662
- msgstr "Чтобы разместить товар магазина на страницах сайта отдельно от остальных, используйте короткий код [ecwid_product]. <a target=\"_blank\" href=\"https://support.ecwid.com/hc/ru/articles/207101259-Wordpress-ORG#Howtoembedasingleproductonapageorpostofmysite\">Пошаговая инструкция.</a>"
663
-
664
- msgid "How to set up a storefront on Facebook with Ecwid?"
665
- msgstr "Как добавить магазин на Facebook?"
666
-
667
- 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>"
668
- 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>"
669
-
670
- msgid "How can I add a cart widget to my site sidebar?"
671
- msgstr "Как добавить корзину в боковую панель сайта (sidebar)?"
672
 
673
- 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>"
674
- msgstr "Вы можете добавить корзину, форму для поиска товаров и другие элементы магазина в боковую панель на странице <a href=\"%s\">«Внешний вид > Виджеты»</a>."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
675
 
676
- msgid "How can I manage my store from a mobile device?"
677
- msgstr "Как быстро внести изменения в каталог товаров?"
 
 
 
 
 
678
 
679
- 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>"
680
- msgstr "Лучший способ быстро изменить что-либо в товаре – воспользоваться мобильным приложение. Приложение Эквида для iOS и Android доступно с любым платным тарифным планом и поможет вам управлять заказами, вносить изменения в каталог товаров и регистрировать новые покупки при личных встречах с покупателями где бы вы ни находились. <a target=\"_blank\" href=\"https://www.ecwid.ru/blog/quick-mobile-connect.html\">Подробнее о мобильном приложении.</a>"
 
681
 
682
- msgid "Send a message to our support team"
683
- msgstr "Письмо в службу поддержки"
 
684
 
685
- msgid "Subject"
686
- msgstr "Тема"
 
687
 
688
- msgid "Type in your message here"
689
- msgstr "Ваш вопрос"
 
690
 
691
- msgid "Send Message"
692
- msgstr "Отправить"
 
693
 
694
- msgid "Customer Single Sign-On"
695
- msgstr "Единый вход для покупателей"
 
696
 
697
- msgid "Single Sign-On allows your customers to have a single login for your WordPress site and your Ecwid store. When someone logs in to your site, they will automatically be logged in to their customer account in your store as well with no need to enter their email/password again."
698
- msgstr "Объединяет учетную запись покупателя на сайте с его учетной записью в магазине. Когда единый вход включен, покупателю не нужно логиниться дважды – на сайте и в магазине. После входа в свой аккаунт на сайте покупатель может смотреть историю своих заказов и оформлять новый заказ с предзаполненным email и адресом доставки."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
699
 
700
- msgid "This feature is available on the Ecwid's Venture plan and above. <a %s>Please upgrade to get it.</a>"
701
- msgstr "Чтобы включить \"Единый вход\", <a %s>подпишитесь на платный план в Эквиде</a>. Доступно на плане Venture и выше."
 
702
 
703
- msgid "To allow Ecwid automatically log in customers to your store, please provide it with a permission to use the customer data in the store. <a %s>Please use this link to do that</a>"
704
- msgstr "Чтобы плагин автоматически объединял учетные записи пользователя на сайте и в магазине, нужно дать ему доступ до данных покупателей в магазине. <a %s>Перейдите по этой ссылке, чтобы предоставить доступ</a>."
 
705
 
706
- msgid "To make sure your customer can actually log in to your site and store, enable registration in the <a %s>site settings</a>"
707
- msgstr "Чтобы покупатели смогли регистрироваться, убедитесь, что регистрация включена в <a %s>настройках сайта</a>"
 
708
 
709
- msgid "Updated %s widgets are available for your Ecwid store. They are more mobile friendly and look better. Please enable them on the plugin settings page and check how they work in your store. The new widgets will be enabled automatically for all users in one of the upcoming plugin versions."
710
- msgstr "Блоки %s в вашем Эквид-магазине обновлены – теперь они выглядят приятнее и лучше работают на мобильных. Пожалуйста, включите новый вид блоков поиска и категорий на странице настроек плагина. В одном следующих обновлений плагина они будут включены автоматически для всех пользователей."
 
711
 
712
- msgctxt "upgrade widgets message"
713
- msgid "Categories"
714
- msgstr "Категорий"
 
 
 
 
 
 
 
 
 
715
 
716
- msgid "Open Ecwid store settings"
717
- msgstr "Открыть настройки плагина Ecwid"
 
718
 
719
- msgid "To be able to choose a product to insert to your posts and pages, you will need to re-connect your site to your Ecwid store. This will only require you to accept permissions request – so that the plugin will be able to list your products in the \"Add product\" dialog."
720
- msgstr "Чтобы показать товары магазина в диалоге вставки товара, плагину нужно подключиться к вашему магазину. От вас потребуется только разрешить плагину доступ к вашему магазину."
 
721
 
 
722
  msgid "Name"
723
  msgstr "Название"
724
 
 
725
  msgid "SKU"
726
  msgstr "Артикул"
727
 
 
 
728
  msgid "Search"
729
  msgstr "Поиск"
730
 
731
- msgid "Insert"
732
- msgstr "Вставить"
 
733
 
734
- msgid "Add Product"
735
- msgstr "Добавить товар"
 
 
 
 
 
736
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
737
  msgid "Choose Product"
738
  msgstr "Выбрать товар"
739
 
 
740
  msgid "Customize widget"
741
  msgstr "Внешний вид"
742
 
743
- msgid "customize appearance"
744
- msgstr "настроить внешний вид"
745
-
746
- msgid "select product"
747
- msgstr "выбрать товар"
748
-
749
  msgid "Choose product properties to display in widget"
750
  msgstr "Выберите элементы товара для отображения"
751
 
 
752
  msgid "Picture"
753
  msgstr "Изображение"
754
 
755
- msgid "Title"
756
- msgstr "Название"
757
-
758
  msgid "Options"
759
  msgstr "Параметры"
760
 
761
- msgid "«Add to bag» button"
762
- msgstr "Кнопка \"Купить\""
763
-
764
  msgid "Quantity"
765
  msgstr "Количество"
766
 
 
 
 
 
 
767
  msgid "Add border"
768
  msgstr "Показывать рамку"
769
 
 
770
  msgid "Show price inside the \"Buy now\" button"
771
  msgstr "Показывать цену в кнопке \"Купить\""
772
 
 
773
  msgid "Center align on a page"
774
  msgstr "Выровнять карточку по центру страницы"
775
 
776
- msgid "Choose CSS style options for widget:"
777
- msgstr "Выберите настройки CSS-стилей:"
 
778
 
779
- msgid "Title or SKU"
780
- msgstr "Название или артикул"
 
781
 
782
- msgid "Nothing found for <span class=\"empty-page__term\">\"{{ data.term }}\"</span>"
783
- msgstr "По запросу <span class=\"empty-page__term\">\"{{ data.term }}\"</span> ничего не найдено"
 
784
 
785
- msgid "Try another search."
786
- msgstr "Попробуйте другой запрос."
 
787
 
788
- msgid "Browse all products."
789
- msgstr "Показать все товары."
 
 
 
 
 
790
 
791
- msgid "https://www.ecwid.com/forums"
792
- msgstr "https://www.ecwid.com/forums/forumdisplay.php?f=10"
 
793
 
794
- msgid "https://support.ecwid.com/hc/en-us/search"
795
- msgstr "https://support.ecwid.com/hc/ru/search"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
796
 
797
- msgid "https://support.ecwid.com/hc/en-us/requests/new"
798
- msgstr "https://support.ecwid.com/hc/ru/requests/new"
 
799
 
800
- msgid "https://support.ecwid.com/hc/en-us/sections/201706719-Ecwid-Basics"
801
- 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-"
 
802
 
803
- msgid "https://support.ecwid.com/hc/en-us/sections/201758475-Manage-Your-Ecwid-Store"
804
- 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"
 
805
 
806
- msgid "https://support.ecwid.com/hc/en-us/sections/201758445-Customize-Your-Store"
807
- 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-"
 
808
 
809
- msgid "https://support.ecwid.com/hc/en-us/sections/201706799-Billing-Questions"
810
- 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"
 
811
 
812
- msgid "https://support.ecwid.com/hc/en-us/sections/201702859-Technical-Reference"
813
- 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"
 
 
 
 
 
814
 
815
- msgid "Integration with search on your site <sup>beta</sup>"
816
- msgstr "Интеграция с поиском на сайте <sup>бета</sup>"
 
817
 
818
- msgid "Ecwid stores your products data in a secure cloud storage. The product pages are displayed on the fly when a customer browses your store. So, basically, the products are not stored on the site, that's why the site search doesn't find product pages while looking through site pages and posts. This option enables a local storage mode: the products will be stored both in the cloud and on your site. The site search results will list product pages as well as regular pages/posts of your site."
819
- msgstr "Эквид хранит данные товаров магазина в защищенном облачном хранилище, и показывает их прямо на странице магазина, когда посетитель открывает товар. Поэтому данные товаров не хранятся на вашем сайте, а поиск по сайту находит только страницы и записи сайта — не находит товары магазина. Эта настройка включает локальное хранение товаров: данные товаров будут храниться и в облачном хранилище, и прямо на вашем сайте. Поиск по сайту будет показывать страницы товаров магазина так же, как записи или страницы, размещенные на сайте."
 
820
 
821
- msgid "Synchronize products"
822
- msgstr "Синхронизировать товары"
 
823
 
824
- msgid "Not synchronized yet"
825
- msgstr "Не синхронизовано"
 
826
 
827
- msgid "Products are successfully synchronized. The product pages are up to date."
828
- msgstr "Товары успешно синхронизированы. Страницы товаров обновлены."
 
829
 
830
- msgid "Last update"
831
- msgstr "Последняя синхронизация"
 
 
 
 
 
 
 
 
 
832
 
833
- msgid "Please note this functionality is in beta. So if you run into difficulties or find problems with it, please <a %s>let us know</a>."
834
- msgstr "Эта функция сейчас работает в бета-режиме. Если вы обнаружите проблемы в её работе, пожалуйста, <a %s>сообщите нам</a>."
 
 
 
 
 
835
 
836
- msgid "We're synchronizing your products. This may take a few minutes. Please do not reload the page."
837
- msgstr "Товары загружаются. Это может занять несколько минут. Пожалуйста, не перезагружайте страницу."
 
 
 
 
 
838
 
 
839
  msgid "Products synchronized: %s out of %s"
840
  msgstr "Загружено товаров: %s из %s"
841
 
842
- msgid "To enable this feature, the plugin needs a permission to read your store product information."
843
- msgstr "Чтобы включить интеграцию с поиском, нужно дать плагину доступ до данных товаров в магазине."
 
 
 
 
 
 
844
 
845
- msgid "Provide access."
846
- msgstr "Перейдите по этой ссылке, чтобы предоставить доступ."
 
847
 
848
- msgid "SEO friendly clean URLs"
849
- msgstr "SEO URLs"
 
850
 
851
- msgid "This enables new clean URLs format in your store. The new urls do not contain hash sign ('#'), so they look nicer and are better indexed by Google."
852
- msgstr "Включает новый \"чистый\" формат ссылок на товары и категории в магазине. Новые ссылки не содержат символа \"#\" и лучше индексируются поисковыми системами."
 
 
 
 
853
 
854
- msgid "Note: the new URLs will be automatically enabled for every store in one of upcoming updates so please make sure to check how the new URLs work in your store and <a %s>let us know</a> if you face any trouble with them"
855
- msgstr "Новые SEO URLs магазина будут включены по умолчанию в одной из будущих версий плагина. Поэтому мы рекомендуем вам включить эту опцию и попробовать SEO URLs на своём сайте. Если вы заметите какие-либо проблемы, пожалуйста, <a %s>дайте нам знать</a>, мы поможем."
 
 
 
856
 
857
- msgid "To enable clean URLs in your store, you will need to enable pretty permalinks in your WordPress site settings. Navigate to <a%s>Settings->Permalink</a> and enable the \"Post name\" permalink type."
858
- msgstr "Чтобы включить SEO URLs в магазине, вам потребуется для начала включить улучшенную структуру постоянных ссылок в настройках Wordpress. Для этого в меню \"<a%s>Настройки -> Постоянные ссылки</a>\" выберите тип ссылок \"Название записи\"."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2017 Ecwid Shopping Cart
2
+ # This file is distributed under the same license as the Ecwid Shopping Cart package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Ecwid Shopping Cart 4.9.4\n"
6
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ecwid-shopping-"
7
+ "cart\n"
8
+ "POT-Creation-Date: 2017-05-30 19:04:12+00:00\n"
9
+ "PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n"
10
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
11
+ "Language-Team: LANGUAGE <LL@li.org>\n"
12
+ "Language: \n"
13
+ "MIME-Version: 1.0\n"
14
+ "Content-Type: text/plain; charset=UTF-8\n"
15
+ "Content-Transfer-Encoding: 8bit\n"
16
+
17
+ #: ecwid-shopping-cart.php:820
18
+ msgid "%s plugin doesn't work well with my \"%s\" theme"
19
+ msgstr "Плагин %s работает неправильно с моей \"%s\" темой"
20
+
21
+ #: ecwid-shopping-cart.php:835
22
+ msgid "I have a problem with my %s store"
23
+ msgstr "У меня возникла проблема с %s-магазином"
24
+
25
+ #: ecwid-shopping-cart.php:863 templates/dashboard.php:44
26
  msgid "Visit storefront"
27
  msgstr "Открыть страницу магазина"
28
 
29
+ #: ecwid-shopping-cart.php:871
30
  msgid "Manage my store"
31
  msgstr "Управлять магазином"
32
 
33
+ #: ecwid-shopping-cart.php:879
34
+ msgid "Read FAQ"
35
+ msgstr "Посмотреть FAQ"
36
+
37
+ #: ecwid-shopping-cart.php:881
38
+ msgid ""
39
+ "https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-downloadable-"
40
+ msgstr "https://support.ecwid.com/hc/ru/articles/207101259-Wordpress-ORG"
41
 
42
+ #: ecwid-shopping-cart.php:890
43
+ msgid "Report a problem with the store"
44
+ msgstr "Сообщить о проблеме"
45
+
46
+ #: ecwid-shopping-cart.php:1175
47
+ msgid "<a %s>Online store powered by %s</a>"
48
  msgstr "<a %s>Интернет магазин построен на Эквиде</a>"
49
 
50
+ #: ecwid-shopping-cart.php:1497 includes/class-ecwid-nav-menus.php:111
51
+ #: includes/class-ecwid-nav-menus.php:297
52
+ #: includes/class-ecwid-nav-menus.php:300
53
+ #: includes/class-ecwid-nav-menus.php:308
54
  msgid "Store"
55
  msgstr "Магазин"
56
 
57
+ #: ecwid-shopping-cart.php:1723 includes/class-ecwid-admin.php:31
 
 
 
 
 
58
  msgid "Setup"
59
  msgstr "Установка"
60
 
61
+ #: ecwid-shopping-cart.php:1723
62
+ msgid "Settings"
63
+ msgstr "Настройки"
64
+
65
+ #: ecwid-shopping-cart.php:1799 includes/class-ecwid-admin.php:33
66
  msgid "Dashboard"
67
  msgstr "Консоль"
68
 
69
+ #: ecwid-shopping-cart.php:1801 includes/class-ecwid-admin.php:58
70
+ #: includes/class-ecwid-admin.php:59 includes/class-ecwid-products.php:242
71
+ msgid "Products"
72
+ msgstr "Товары"
73
+
74
+ #: ecwid-shopping-cart.php:1803
75
+ msgid "Orders"
76
+ msgstr "Заказы"
77
+
78
+ #: ecwid-shopping-cart.php:1805 includes/class-ecwid-nav-menus.php:144
79
+ msgid "Refresh categories list"
80
+ msgstr "Обновить список категорий"
81
+
82
+ #: ecwid-shopping-cart.php:1806 includes/class-ecwid-nav-menus.php:145
83
+ msgid "Done"
84
+ msgstr "Готово"
85
+
86
+ #: ecwid-shopping-cart.php:1807 includes/class-ecwid-nav-menus.php:146
87
+ msgid ""
88
+ "The store top-level categories are automatically added to this drop-down menu"
89
+ msgstr "Корневые категории добавляются в выпадающее меню автоматически"
90
+
91
+ #: ecwid-shopping-cart.php:1916 includes/class-ecwid-oauth.php:336
92
+ msgid ""
93
+ "To be able to choose a product to insert to your posts and pages, you will "
94
+ "need to re-connect your site to your %s store. This will only require you to "
95
+ "accept permissions request – so that the plugin will be able to list your "
96
+ "products in the \"Add product\" dialog."
97
+ msgstr ""
98
+ "Чтобы показать товары магазина в диалоге вставки товара, плагину нужно "
99
+ "подключиться к вашему магазину %s. От вас потребуется только разрешить "
100
+ "плагину доступ к вашему магазину."
101
+
102
+ #: ecwid-shopping-cart.php:2420
103
+ msgid "Recommendations for Your Online Store"
104
+ msgstr "Рекомендации для магазина"
105
+
106
+ #: includes/class-ecwid-admin.php:21
107
+ msgid "%s shopping cart settings"
108
+ msgstr "Настройки %s"
109
+
110
+ #: includes/class-ecwid-admin.php:22
111
+ msgid "%s Store"
112
+ msgstr "Магазин %s"
113
+
114
+ #: includes/class-ecwid-admin.php:48 includes/class-ecwid-admin.php:49
115
+ msgid "Sales"
116
+ msgstr "Продажи"
117
+
118
+ #: includes/class-ecwid-admin.php:68
119
  msgid "Appearance settings"
120
  msgstr "Настройки внешнего вида"
121
 
122
+ #: includes/class-ecwid-admin.php:69 templates/product-popup.php:183
123
+ #: templates/store-popup.php:13 templates/store-popup.php:31
124
  msgid "Appearance"
125
  msgstr "Внешний вид"
126
 
127
+ #: includes/class-ecwid-admin.php:79
128
  msgid "Advanced settings"
129
  msgstr "Дополнительные настройки"
130
 
131
+ #: includes/class-ecwid-admin.php:80
132
  msgid "Advanced"
133
  msgstr "Дополнительные"
134
 
135
+ #: includes/class-ecwid-admin.php:93 includes/class-ecwid-admin.php:94
136
+ msgid "Help"
137
+ msgstr "Помощь"
138
+
139
+ #: includes/class-ecwid-integration-divibuilder.php:25
140
+ msgid "Ecwid"
141
+ msgstr "Эквид"
142
+
143
+ #: includes/class-ecwid-integration-divibuilder.php:41
144
+ msgid "Content"
145
+ msgstr ""
146
+
147
+ #: includes/class-ecwid-integration-divibuilder.php:44
148
+ msgid "Here you can create the content that will be used within the module."
149
+ msgstr ""
150
+
151
+ #: includes/class-ecwid-integration-divibuilder.php:49
152
+ msgid "Admin Label"
153
+ msgstr ""
154
+
155
+ #: includes/class-ecwid-integration-divibuilder.php:51
156
+ msgid ""
157
+ "This will change the label of the module in the builder for easy "
158
+ "identification."
159
+ msgstr ""
160
+
161
+ #: includes/class-ecwid-integration-divibuilder.php:54
162
+ msgid "CSS ID"
163
+ msgstr ""
164
+
165
+ #: includes/class-ecwid-integration-divibuilder.php:57
166
+ msgid ""
167
+ "Enter an optional CSS ID to be used for this module. An ID can be used to "
168
+ "create custom CSS styling, or to create links to particular sections of your "
169
+ "page."
170
+ msgstr ""
171
+
172
+ #: includes/class-ecwid-integration-divibuilder.php:60
173
+ msgid "CSS Class"
174
+ msgstr ""
175
+
176
+ #: includes/class-ecwid-integration-divibuilder.php:63
177
+ msgid ""
178
+ "Enter optional CSS classes to be used for this module. A CSS class can be "
179
+ "used to create custom CSS styling. You can add multiple classes, separated "
180
+ "with a space."
181
+ msgstr ""
182
+
183
+ #: includes/class-ecwid-message-manager.php:45
184
+ msgid ""
185
+ "Sorry, there is a problem. This page is supposed to display your store "
186
+ "Control Panel. However, this Wordpress site doesn't seem to be able to "
187
+ "connect to the Ecwid server to show your store dashboard here. This is "
188
+ "likely caused by your server misconfiguration and can be fixed by your "
189
+ "hosting provider. Here is a more techy description of the problem, which you "
190
+ "can send to your hosting provider: \"The Wordpress function wp_remote_post() "
191
+ "failed to connect a remote server because of some error: \"%s\". Seems like "
192
+ "HTTP POST requests are disabled on this server\". <br /><br />Please feel "
193
+ "free to contact us at <a %s>wordpress@ecwid.com</a> and we will help you "
194
+ "contact your hosting and ask them to fix the issue. <br /><br /> Meanwhile, "
195
+ "to manage your store, you can use the Ecwid Web Control Panel at <a %s>my."
196
+ "ecwid.com</a>. Your store front is working fine as well and you can check it "
197
+ "here: <a %s>%s</a>."
198
+ msgstr ""
199
+
200
+ #: includes/class-ecwid-message-manager.php:194
201
+ msgid "Greetings! Your %s plugin is now active."
202
+ msgstr "Добро пожаловать в %s!"
203
+
204
+ #: includes/class-ecwid-message-manager.php:195
205
+ msgid "Take a few simple steps to complete store setup"
206
+ msgstr "Магазин почти готов — осталось несколько простых шагов"
207
 
208
+ #: includes/class-ecwid-message-manager.php:196
209
+ msgid "Set up %s Store"
210
+ msgstr "Настроить магазин %s"
211
 
212
+ #: includes/class-ecwid-message-manager.php:204
213
+ msgid "Your store is almost ready!"
214
+ msgstr "Магазин почти готов!"
215
 
216
+ #: includes/class-ecwid-message-manager.php:205
217
+ msgid "Complete setup and start selling"
218
+ msgstr "Завершите установку и начните продавать"
219
 
220
+ #: includes/class-ecwid-message-manager.php:206
221
+ msgid "Complete Setup"
222
+ msgstr "Продолжить установку"
223
 
224
+ #: includes/class-ecwid-message-manager.php:212
225
+ msgid ""
226
+ "To add extra functions to your store, drag and drop %s store elements on "
227
+ "your site. When you're done, you can get back to modifying your settings."
228
+ msgstr ""
229
+ "Добавьте дополнительные элементы магазина, перетащив виджеты %s в нужное "
230
+ "место сайта. После установки виджетов можете вернуться к настройкам магазина."
231
 
232
+ #: includes/class-ecwid-message-manager.php:213
233
+ msgid "Back to Store Settings"
234
+ msgstr "Вернуться к настройкам"
235
 
236
+ #: includes/class-ecwid-message-manager.php:220
237
+ msgid ""
238
+ "Do you like your %s online store? We'd appreciate it if you add your review "
239
+ "and vote for the plugin on WordPress site."
240
+ msgstr ""
241
+ "Вам нравится ваш магазин? Будем благодарны, если вы оставите отзыв и "
242
+ "проголосуете за %s на сайте WordPress."
243
 
244
+ #: includes/class-ecwid-message-manager.php:224
245
+ msgid "Rate %s at WordPress.org"
246
+ msgstr "Оценить %s на WordPress.org"
247
 
248
+ #: includes/class-ecwid-nav-menus.php:25
249
+ msgid "Ecwid Menu Item"
250
+ msgstr "Пункт меню Эквид"
251
+
252
+ #: includes/class-ecwid-nav-menus.php:143
253
+ msgid "Store Page"
254
+ msgstr "Страница магазина"
255
+
256
+ #: includes/class-ecwid-nav-menus.php:254
257
+ msgid "Select All"
258
+ msgstr "Выбрать все"
259
 
260
+ #: includes/class-ecwid-nav-menus.php:257
261
+ msgid "Add to Menu"
262
+ msgstr "Добавить в меню"
263
+
264
+ #: includes/class-ecwid-nav-menus.php:273
265
  msgid "Cart"
266
  msgstr "Корзина"
267
 
268
+ #: includes/class-ecwid-nav-menus.php:276
269
+ #: includes/widgets/class-ecwid-widget-minicart.php:6
270
+ msgid "Shopping Cart"
271
+ msgstr "Корзина"
272
+
273
+ #: includes/class-ecwid-nav-menus.php:281
274
+ #: includes/class-ecwid-nav-menus.php:284
275
+ #: includes/widgets/class-ecwid-widget-search.php:10
276
+ msgid "Product Search"
277
+ msgstr "Поиск товаров"
278
+
279
+ #: includes/class-ecwid-nav-menus.php:289
280
+ #: includes/class-ecwid-nav-menus.php:292
281
  msgid "My Account"
282
  msgstr "Профиль"
283
 
284
+ #: includes/class-ecwid-nav-menus.php:305
285
  msgid "Store with Categories Menu"
286
  msgstr "Магазин с меню категорий"
287
 
288
+ #: includes/class-ecwid-product-popup.php:94
289
+ msgid "Add Product"
290
+ msgstr "Добавить товар"
291
 
292
+ #: includes/class-ecwid-product-popup.php:134
293
+ msgid "First Page"
294
+ msgstr "Начало"
295
 
296
+ #: includes/class-ecwid-product-popup.php:135
297
+ msgid "Previous Page"
298
+ msgstr "Предыдущая"
299
 
300
+ #: includes/class-ecwid-product-popup.php:136
301
+ msgid "Next Page"
302
+ msgstr "Следующая"
303
 
304
+ #: includes/class-ecwid-product-popup.php:137
305
+ msgid "Last Page"
306
+ msgstr "Конец"
307
 
308
+ #: includes/class-ecwid-store-editor.php:44 templates/store-popup.php:11
309
+ #: templates/store-popup.php:19
310
+ msgid "Add Store"
311
+ msgstr "Добавить магазин"
312
 
313
+ #: includes/class-ecwid-store-editor.php:52
314
+ msgid "Edit Store"
315
+ msgstr "Настройки магазина"
316
 
317
+ #: includes/class-ecwid-store-editor.php:67
318
+ msgid "Edit Appearance"
319
+ msgstr "Настроить внешний вид"
320
+
321
+ #: includes/faq_entries.php:5
322
+ msgid "How secure is this plugin? Is my store PCI DSS compliant?"
323
+ msgstr "Безопасен ли Эквид?"
324
 
325
+ #: includes/faq_entries.php:6
326
+ msgid ""
327
+ "Ecwid is PCI DSS Level 1 certified, which is the gold standard for e-"
328
+ "commerce solutions worldwide. This means you won’t have any banking "
329
+ "compliance issues when selling online with Ecwid. <a target=\"_blank\" href="
330
+ "\"https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-"
331
+ "downloadable-#secureplugin\">More details.</a>"
332
+ msgstr ""
333
+ "Эквид сертифицирован по стандарту PCI DSS Level 1. Это высший уровень "
334
+ "соответствия мировым требованиям безопасной передачи данных: информация "
335
+ "вашего магазина и ваших клиентов надёжно защищена."
336
+
337
+ #: includes/faq_entries.php:12
338
+ msgid "How can I manage my store from a mobile device?"
339
+ msgstr "Как быстро внести изменения в каталог товаров?"
340
 
341
+ #: includes/faq_entries.php:13
342
+ msgid ""
343
+ "Ecwid provides free mobile applications for iOS and Android to manage your "
344
+ "store and sell on the go. Scan products, track inventory, manage sales and "
345
+ "accept payments using your mobile device as a POS station. <a target=\"_blank"
346
+ "\" href=\"https://www.ecwid.com/ecwid-mobile\">More details.</a>"
347
+ msgstr ""
348
+ "Лучший способ быстро изменить что-либо в товаре – воспользоваться мобильным "
349
+ "приложение. Приложение Эквида для iOS и Android доступно с любым платным "
350
+ "тарифным планом и поможет вам управлять заказами, вносить изменения в "
351
+ "каталог товаров и регистрировать новые покупки при личных встречах с "
352
+ "покупателями где бы вы ни находились. <a target=\"_blank\" href=\"https://"
353
+ "www.ecwid.ru/blog/quick-mobile-connect.html\">Подробнее о мобильном "
354
+ "приложении.</a>"
355
+
356
+ #: includes/faq_entries.php:20
357
+ msgid "How to set up a storefront on Facebook with Ecwid?"
358
+ msgstr "Как добавить магазин на Facebook?"
359
 
360
+ #: includes/faq_entries.php:21
361
+ msgid ""
362
+ "You can add your online store to your Facebook business page. No addons "
363
+ "needed. Ecwid will automatically synchronize products, customers, orders and "
364
+ "inventory between your WordPress and Facebook storefronts. <a target=\"_blank"
365
+ "\" href=\"https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-"
366
+ "downloadable-#How%20to%20add%20my%20store%20to%20Facebook\">More details.</a>"
367
+ msgstr ""
368
+ "Вы можете разместить магазин не только на своём WordPress-сайте, но и на "
369
+ "любой другой странице включая Facebook. Зеркальная копия витрины мгновенно "
370
+ "отражает любые изменения в магазине. Новые товары в каталоге, наличие на "
371
+ "складе, заказы и покупатели – все данные распространяются между витринами на "
372
+ "лету. <a target=\"_blank\" href=\"https://support.ecwid.com/hc/ru/"
373
+ "articles/207806665-Facebook-%D0%A4%D0%B5%D0%B9%D1%81%D0%B1%D1%83%D0%BA-"
374
+ "\">Подробнее об установке на Facebook.</a>"
375
+
376
+ #: includes/faq_entries.php:28
377
+ msgid "How can I add a cart widget to my site sidebar?"
378
+ msgstr "Как добавить корзину в боковую панель сайта (sidebar)?"
379
+
380
+ #: includes/faq_entries.php:30
381
+ msgid ""
382
+ "You can add product search box, cart widget and more on the <a href=\"%s\">"
383
+ "\"Appearance / Widgets page\"</a> here in your site admin. <a target=\"_blank"
384
+ "\" href=\"https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-"
385
+ "downloadable-#Sidebar%%20widgets\">More details.</a>"
386
+ msgstr ""
387
+ "Вы можете добавить корзину, форму для поиска товаров и другие элементы "
388
+ "магазина в боковую панель на странице <a href=\"%s\">«Внешний вид > "
389
+ "Виджеты»</a>."
390
+
391
+ #: includes/faq_entries.php:38
392
+ msgid "How much does Ecwid cost?"
393
+ msgstr "Сколько стоит Эквид?"
394
+
395
+ #: includes/faq_entries.php:39
396
+ msgid ""
397
+ "Our 4 account types vary by number of products, types of functionality, and "
398
+ "level of support. For more information, check out our <a target=\"_blank\" "
399
+ "href=\"https://www.ecwid.com/pricing\">pricing page.</a><br /><br />Free - "
400
+ "Up to 10 products<br />Venture - $15/month<br />Business - $35/month<br /"
401
+ ">Unlimited - $99/month<br /><br />Pro Tip: You can also save money by "
402
+ "enrolling in our annual plans."
403
+ msgstr ""
404
+ "Мы предлагаем 4 тарифных плана: от бесплатного с 10 товарами до "
405
+ "безлимитного. Платные тарифные планы расширяют возможности магазина и "
406
+ "открывают персональную техническую поддержку в реальном времени.<br /><br /"
407
+ ">FREE – до 10 товаров<br />VENTURE – 790 руб. в месяц<br />BUSINESS – 1950 "
408
+ "руб. в месяц<br />UNLIMITED – 4500 руб. в месяц<br /><br />...или дешевле, "
409
+ "если подключите подписку на год. <a target=\"_blank\" href=\"https://www."
410
+ "ecwid.ru/pricing\">Подробнее о расценках.</a>"
411
+
412
+ #: includes/faq_entries.php:45
413
+ msgid "How do I add store categories to the site menu."
414
+ msgstr "Как добавить категории в меню сайта?"
415
+
416
+ #: includes/faq_entries.php:46
417
+ msgid ""
418
+ "You can add the store categories menu to your site menu to help your "
419
+ "customers easily navigate your site. Just open \"Appearance > Menus\" in "
420
+ "your WordPress control panel and add the \"Store with Categories Menu\" item "
421
+ "to your site menu. A drop-down menu containing your store categories will "
422
+ "automatically appear on your site."
423
+ msgstr ""
424
+ "Перейдите на страницу «Внешний вид > Меню», добавьте элемент «Магазин с меню "
425
+ "категорий» в меню и сохраните изменения. Сразу после сохранения меню сайта "
426
+ "пополнится выпадающим списком категорий вашего магазина."
427
+
428
+ #: includes/faq_entries.php:52
429
+ msgid "How do I put my products in the sitemap?"
430
+ msgstr "Как добавить товары в карту сайта (sitemap)?"
431
+
432
+ #: includes/faq_entries.php:53
433
+ msgid ""
434
+ "To create sitemap for your Wordpress site we suggest using <a target=\"_blank"
435
+ "\" href=\"https://wordpress.org/plugins/google-sitemap-generator/\">Google "
436
+ "XML Sitemaps</a> or <a target=\"_blank\" href=\"https://wordpress.org/"
437
+ "plugins/wordpress-seo/\">Yoast Wordpress SEO</a>. &nbsp;plugins. These "
438
+ "plugins are fully compatible with Ecwid and allow to generate a sitemap that "
439
+ "will contain links to categories and product pages, so the store pages will "
440
+ "get indexed faster. Please note that this option is available to <a target="
441
+ "\"_blank\" href=\"https://www.ecwid.com/pricing\">paid Ecwid users</a>."
442
+ msgstr ""
443
+ "Для создания карты сайта мы рекомендуем использовать плагин <a target="
444
+ "\"_blank\" href=\"https://ru.wordpress.org/plugins/google-sitemap-plugin/"
445
+ "\">Google XML Sitemaps</a> или <a target=\"_blank\" href=\"https://ru."
446
+ "wordpress.org/plugins/wordpress-seo/\">Yoast Wordpress SEO</a>. После "
447
+ "установки плагин создаст карту сайта, содержащую ссылки на страницы товаров "
448
+ "и категорий, и ускорит их индексацию поисковыми движками. Чтобы "
449
+ "воспользоваться этой возможностью подпишитесь на любой <a target=\"_blank\" "
450
+ "href=\"https://www.ecwid.ru/pricing\">платный тарифный план</a>."
451
+
452
+ #: includes/faq_entries.php:58
453
+ msgid ""
454
+ "How to add a single product with the add to bag button to the site pages?"
455
+ msgstr "Как добавить отдельный товар с корзиной на страницу сайта?"
456
+
457
+ #: includes/faq_entries.php:59
458
+ msgid ""
459
+ "To feature a single product on a separate page or blog post of your site, "
460
+ "use <b>[ecwid_product]</b> shortcode. <a target=\"_blank\" href=\"https://"
461
+ "support.ecwid.com/hc/en-us/articles/207101259-Wordpress-downloadable-"
462
+ "#Howtoembedasingleproductonapageorpostofmysite\">How to use it.</a>"
463
+ msgstr ""
464
+ "Чтобы разместить товар магазина на страницах сайта отдельно от остальных, "
465
+ "используйте короткий код [ecwid_product]. <a target=\"_blank\" href="
466
+ "\"https://support.ecwid.com/hc/ru/articles/207101259-Wordpress-"
467
+ "ORG#Howtoembedasingleproductonapageorpostofmysite\">Пошаговая инструкция.</a>"
468
+
469
+ #: includes/faq_entries.php:65
470
+ msgid "Is it possible to display my store on the site home page?"
471
+ msgstr "Как добавить магазин на домашнюю страницу?"
472
+
473
+ #: includes/faq_entries.php:66
474
+ msgid ""
475
+ "You can display your store on the site main page. Adjust the \"Reading\" "
476
+ "settings of your site as described in our <a target=\"_blank\" href="
477
+ "\"https://support.ecwid.com/hc/en-us/articles/207101259-Wordpress-"
478
+ "downloadable-#displaystoreonhomepage\">Help Center.</a>"
479
+ msgstr ""
480
+ "Перейдите на страницу <a href=\"options-reading.php\">«Настройки > Чтение»</"
481
+ "a> и выберите «Магазин\t» в выпадающем списке главной страницы."
482
+
483
+ #: includes/oembed.php:68 includes/oembed.php:97 templates/help.php:96
484
+ msgid "See more"
485
+ msgstr "Посмотреть все"
486
+
487
+ #: includes/themes/class-ecwid-theme-twentyfifteen.php:32
488
+ #: includes/themes/class-ecwid-theme-twentyfifteen.php:38
489
+ #: includes/themes/class-ecwid-theme-twentyseventeen.php:47
490
+ #: includes/themes/class-ecwid-theme-twentyseventeen.php:53
491
+ #: includes/themes/class-ecwid-theme-twentysixteen.php:35
492
+ #: includes/themes/class-ecwid-theme-twentysixteen.php:41
493
+ #: includes/widgets/class-ecwid-widget-store-link.php:29
494
  msgid "Shop"
495
  msgstr "Магазин"
496
 
497
+ #: includes/widgets/class-ecwid-widget-badge.php:9
498
+ msgid ""
499
+ "Do you like Ecwid and want to help it grow? You can add this fancy 'Powered "
500
+ "by Ecwid' badge on your site to show your visitors that you're a proud user "
501
+ "of Ecwid."
502
+ msgstr ""
503
+ "Если вам нравится Эквид и вы хотите помочь ему стать самым популярным "
504
+ "конструктором интернет-магазинов, вы можете добавить значок на сайт, чтобы "
505
+ "показать посетителям, что вы пользуетесь Эквидом."
506
+
507
+ #: includes/widgets/class-ecwid-widget-badge.php:10
508
+ msgid "Ecwid Badge"
509
+ msgstr "Значок Эквида"
510
 
511
+ #: includes/widgets/class-ecwid-widget-badge.php:17
512
+ #: includes/widgets/class-ecwid-widget-badge.php:23
513
+ msgid "Ecwid shopping cart widget"
514
+ msgstr "Виджет интернет-магазина Эквид"
515
 
516
+ #: includes/widgets/class-ecwid-widget-badge.php:29
517
+ #: includes/widgets/class-ecwid-widget-badge.php:65
518
+ msgid "Ecwid ecommerce solution"
519
+ msgstr "Решение для электронной коммерции Эквид"
520
+
521
+ #: includes/widgets/class-ecwid-widget-badge.php:35
522
+ #: includes/widgets/class-ecwid-widget-badge.php:71
523
+ msgid "Ecwid free shopping cart"
524
+ msgstr "Беспланный конструктов интернет-магазинов Эквид"
525
 
526
+ #: includes/widgets/class-ecwid-widget-badge.php:41
527
+ #: includes/widgets/class-ecwid-widget-badge.php:53
528
+ msgid "Ecwid shopping cart"
529
+ msgstr "Интернет-магазин Эквид"
530
 
531
+ #: includes/widgets/class-ecwid-widget-badge.php:47
532
+ #: includes/widgets/class-ecwid-widget-badge.php:59
533
+ msgid "Ecwid e-commerce widgets"
534
+ msgstr "Виджеты для электронной коммерции Эквид"
535
 
536
+ #: includes/widgets/class-ecwid-widget-floating-shopping-cart.php:15
537
+ msgid "Adds a shopping cart widget to the top right corner of your site."
538
+ msgstr "Добавляет плавающий виджет корзины со счетчиком товаров."
539
 
540
+ #: includes/widgets/class-ecwid-widget-floating-shopping-cart.php:16
541
+ msgid "Shopping Cart (Floating)"
542
+ msgstr "Корзина (Плавающая)"
543
 
544
+ #: includes/widgets/class-ecwid-widget-floating-shopping-cart.php:110
545
+ msgid "Position"
546
+ msgstr "Положение на странице"
547
 
548
+ #: includes/widgets/class-ecwid-widget-floating-shopping-cart.php:113
549
+ msgid "Bottom right"
550
+ msgstr "Справа внизу"
551
 
552
+ #: includes/widgets/class-ecwid-widget-floating-shopping-cart.php:118
553
+ msgid "Top right"
554
+ msgstr "Справа вверху"
555
 
556
+ #: includes/widgets/class-ecwid-widget-minicart-miniview.php:5
557
+ msgid ""
558
+ "Adds a compact cart widget for customer to see the products they added to "
559
+ "the cart."
560
+ msgstr ""
561
+ "Добавляет компактный виджет корзины покупателя для быстрого доступа к "
562
+ "добавленным товарам."
563
 
564
+ #: includes/widgets/class-ecwid-widget-minicart-miniview.php:6
565
+ msgid "Shopping Cart (Mini)"
566
+ msgstr "Корзина (Мини)"
567
 
568
+ #: includes/widgets/class-ecwid-widget-minicart-miniview.php:44
569
+ #: includes/widgets/class-ecwid-widget-minicart.php:44
570
+ #: includes/widgets/class-ecwid-widget-search.php:49
571
+ #: includes/widgets/class-ecwid-widget-vcategories.php:43
572
+ #: includes/widgets/class-ecwid-widget-vertical-categories-list.php:71
573
+ msgid "Title:"
574
+ msgstr "Название:"
575
+
576
+ #: includes/widgets/class-ecwid-widget-minicart.php:5
577
+ msgid ""
578
+ "Adds a cart widget for customer to see the products they added to the cart."
579
+ msgstr ""
580
+ "Добавляет виджет корзины покупателя для быстрого доступа к добавленным "
581
+ "товарам."
582
+
583
+ #: includes/widgets/class-ecwid-widget-recently-viewed.php:9
584
+ msgid ""
585
+ "Displays a list of products recently viewed by the customer to easily return "
586
+ "to the products they saw in your shop."
587
+ msgstr ""
588
+ "Показывает список товаров, просмотренных покупателем. Позволяет покупателю "
589
+ "быстро перейти к товарам, которые их заинтересовали раньше."
590
+
591
+ #: includes/widgets/class-ecwid-widget-recently-viewed.php:10
592
+ #: includes/widgets/class-ecwid-widget-recently-viewed.php:153
593
+ msgid "Recently Viewed Products"
594
+ msgstr "Просмотренные товары"
595
 
596
+ #: includes/widgets/class-ecwid-widget-recently-viewed.php:124
597
+ #: includes/widgets/class-ecwid-widget-recently-viewed.php:154
598
+ msgid "You have not viewed any product yet. Open store."
599
+ msgstr "Вы пока что не просмотрели ни одного товара. Открыть магазин."
600
 
601
+ #: includes/widgets/class-ecwid-widget-recently-viewed.php:164
602
+ #: templates/product-popup.php:160
603
+ msgid "Title"
604
+ msgstr "Название"
605
 
606
+ #: includes/widgets/class-ecwid-widget-recently-viewed.php:165
607
+ msgid "Store Link Title"
608
+ msgstr "Название блока"
609
 
610
+ #: includes/widgets/class-ecwid-widget-recently-viewed.php:166
611
+ msgid "Number of products to show"
612
+ msgstr "Количество товаров для отображения"
613
 
614
+ #: includes/widgets/class-ecwid-widget-search.php:9
615
+ msgid ""
616
+ "Displays a simple search box for your customers to find a product in your "
617
+ "store"
618
+ msgstr "Показывает покупателю поле поиска товаров в магазине"
619
 
620
+ #: includes/widgets/class-ecwid-widget-store-link.php:5
621
+ msgid ""
622
+ "Displays a link to the store page in sidebar for customer to quickly access "
623
+ "your store from any page on the site."
624
+ msgstr ""
625
+ "Показывает ссылку на страницу магазина, позволяющую покупателю быстро "
626
+ "открыть магазин из любой страницы на сайте."
627
 
628
+ #: includes/widgets/class-ecwid-widget-store-link.php:6
629
+ msgid "Store Page Link"
630
+ msgstr "Ссылка на магазин"
631
+
632
+ #: includes/widgets/class-ecwid-widget-store-link.php:33
633
+ msgid "Text"
634
+ msgstr "Текст ссылки"
635
+
636
+ #: includes/widgets/class-ecwid-widget-vcategories.php:5
637
+ msgid "Adds vertical categories block to let the customer navigate your store."
638
+ msgstr ""
639
+ "Показывает вертикальный список категорий для удобной навигации по магазину."
640
+
641
+ #: includes/widgets/class-ecwid-widget-vcategories.php:6
642
+ msgid "Store Categories"
643
+ msgstr "Категории магазина"
644
+
645
+ #: includes/widgets/class-ecwid-widget-vertical-categories-list.php:11
646
+ msgid ""
647
+ "Adds root categories list to the sidebar to let your customers navigate the "
648
+ "store."
649
+ msgstr ""
650
+ "Показывает список корневых категорий для удобной навигации по магазину."
651
+
652
+ #: includes/widgets/class-ecwid-widget-vertical-categories-list.php:12
653
+ msgid "Store Root Categories"
654
+ msgstr "Корневые категории магазина"
655
+
656
+ #: includes/widgets/class-ecwid-widget-vertical-categories-list.php:22
657
+ #: includes/widgets/class-ecwid-widget-vertical-categories-list.php:68
658
+ msgid "Browse by Category"
659
+ msgstr "Категории магазина"
660
 
661
+ #: lib/ecwid_platform.php:59 templates/product-popup.php:171
662
  msgid "Price"
663
  msgstr "Цена"
664
 
665
+ #: templates/admin-footer.php:4
666
+ msgid "Manage Store on iPhone, iPad or Android"
667
+ msgstr "Управляйте магазином с iPhone, iPad, Android"
668
+
669
+ #: templates/admin-footer.php:7
670
+ msgid "Get %s mobile app"
671
+ msgstr "Установить мобильное приложение %s"
672
+
673
+ #: templates/admin-footer.php:13
674
+ msgid "Questions?"
675
+ msgstr "Есть вопросы?"
676
+
677
+ #: templates/admin-footer.php:21
678
+ msgid "Want to connect another %s store?"
679
+ msgstr "Хотите подключить другой %s-магазин?"
680
+
681
+ #: templates/admin-footer.php:23
682
+ msgid "<a %s>Reconnect</a>"
683
+ msgstr "<a %s>Отвязать Эквид-аккаунт от сайта и подключить другой</a>"
684
+
685
+ #: templates/admin-message.php:45
686
  msgid "Never show this message again"
687
  msgstr "Больше не показывать это сообщение"
688
 
689
+ #: templates/admin-timeout.php:9
690
+ msgid "Sorry we're having technical difficulties."
691
+ msgstr "Простите, у нас технические проблемы."
692
+
693
+ #: templates/admin-timeout.php:11
694
+ msgid ""
695
+ "Our team is already working on this issue. Please refresh the page in a few "
696
+ "minutes. If the issue persists, please contact <a target=\"_blank\" href="
697
+ "\"https://help.ecwid.com/customer/portal/emails/new\">our customer support "
698
+ "team</a>."
699
+ msgstr ""
700
+ "Мы уже работаем над исправлением проблемы. Перезагрузите страницу через пару "
701
+ "минут. Если проблема сохранится, пожалуйста, <a target=\"_blank\" href="
702
+ "\"https://help.ecwid.com/customer/portal/emails/new\">свяжитесь с нами</a>."
703
+
704
+ #: templates/advanced-settings.php:1
705
+ msgid "%s Shopping Cart — Advanced settings"
706
+ msgstr "Магазин %s — Дополнительные настройки"
707
+
708
+ #: templates/advanced-settings.php:29
709
+ msgid "SEO friendly clean URLs"
710
+ msgstr "SEO URLs"
711
+
712
+ #: templates/advanced-settings.php:34
713
+ msgid ""
714
+ "This enables new clean URLs format in your store. The new urls do not "
715
+ "contain hash sign ('#'), so they look nicer and are better indexed by Google."
716
+ msgstr ""
717
+ "Включает новый \"чистый\" формат ссылок на товары и категории в магазине. "
718
+ "Новые ссылки не содержат символа \"#\" и лучше индексируются поисковыми "
719
+ "системами."
720
+
721
+ #: templates/advanced-settings.php:38
722
+ msgid ""
723
+ "To enable clean URLs in your store, you will need to enable pretty "
724
+ "permalinks in your WordPress site settings. Navigate to <a%s>Settings-"
725
+ ">Permalink</a> and enable the \"Post name\" permalink type."
726
+ msgstr ""
727
+ "Чтобы включить SEO URLs в магазине, вам потребуется для начала включить "
728
+ "улучшенную структуру постоянных ссылок в настройках Wordpress. Для этого в "
729
+ "меню \"<a%s>Настройки -> Постоянные ссылки</a>\" выберите тип ссылок "
730
+ "\"Название записи\"."
731
+
732
+ #: templates/advanced-settings.php:44
733
+ msgid ""
734
+ "Note: the new URLs will be automatically enabled for every store in one of "
735
+ "upcoming updates so please make sure to check how the new URLs work in your "
736
+ "store and <a %s>let us know</a> if you face any trouble with them"
737
+ msgstr ""
738
+ "Новые SEO URLs магазина будут включены по умолчанию в одной из будущих "
739
+ "версий плагина. Поэтому мы рекомендуем вам включить эту опцию и попробовать "
740
+ "SEO URLs на своём сайте. Если вы заметите какие-либо проблемы, пожалуйста, "
741
+ "<a %s>дайте нам знать</a>, мы поможем."
742
+
743
+ #: templates/advanced-settings.php:44 templates/advanced-settings.php:188
744
+ msgid "https://support.ecwid.com/hc/en-us/requests/new"
745
+ msgstr ""
746
 
747
+ #: templates/advanced-settings.php:57 templates/store-popup.php:154
748
  msgid "Category shown by default"
749
  msgstr "Категория, показываемая по умолчанию"
750
 
751
+ #: templates/advanced-settings.php:61 templates/store-popup.php:161
752
  msgid "Store root category"
753
  msgstr "Корневая категория магазина"
754
 
755
+ #: templates/advanced-settings.php:74
756
+ msgid ""
757
+ "By default, the storefront shows a list of root categories. You can override "
758
+ "this behavior and show a different category when customers open your store "
759
+ "for the first time. This is useful if you only have one category or want to "
760
+ "display a specific set of items (e.g. \"Featured Products\") to new visitors."
761
+ msgstr ""
762
+ "По умолчанию, магазин показывает корневые категории. Здесь можно выбрать "
763
+ "другую категорию для отображения, когда покупатель впервые открывает ваш "
764
+ "магазин. Это может быть полезно, если у вас есть только одна категория или "
765
+ "вы хотите показывать определённые набор товаров (например, специальные "
766
+ "предложения) новым пользователям."
767
+
768
+ #: templates/advanced-settings.php:97
769
+ msgid "Customer Single Sign-On"
770
+ msgstr "Единый вход для покупателей"
771
+
772
+ #: templates/advanced-settings.php:102
773
+ msgid ""
774
+ "Single Sign-On allows your customers to have a single login for your "
775
+ "WordPress site and your %s store. When someone logs in to your site, they "
776
+ "will automatically be logged in to their customer account in your store as "
777
+ "well with no need to enter their email/password again."
778
+ msgstr ""
779
+ "Объединяет учетную запись покупателя на сайте с его учетной записью в "
780
+ "магазине %s. Когда единый вход включен, покупателю не нужно логиниться "
781
+ "дважды – на сайте и в магазине. После входа в свой аккаунт на сайте "
782
+ "покупатель может смотреть историю своих заказов и оформлять новый заказ с "
783
+ "предзаполненным email и адресом доставки."
784
+
785
+ #: templates/advanced-settings.php:109
786
+ msgid "Upgrade to get this feature"
787
+ msgstr "Подпишитесь на платный план, чтобы получить эту возможность"
788
+
789
+ #: templates/advanced-settings.php:112
790
+ msgid "Please subscribe to a paid plan to get this feature."
791
+ msgstr "Подпишитесь на платный план, чтобы получить эту функциональность."
792
+
793
+ #: templates/advanced-settings.php:118
794
+ msgid ""
795
+ "To allow %s automatically log in customers to your store, please provide it "
796
+ "with a permission to use the customer data in the store. <a %s>Please use "
797
+ "this link to do that</a>"
798
+ msgstr ""
799
+ "Чтобы плагин автоматически объединял учетные записи пользователя на сайте и "
800
+ "в магазине %s, нужно дать ему доступ до данных покупателей в магазине. <a "
801
+ "%s>Перейдите по этой ссылке, чтобы предоставить доступ</a>."
802
+
803
+ #: templates/advanced-settings.php:124
804
+ msgid ""
805
+ "To make sure your customer can actually log in to your site and store, "
806
+ "enable registration in the <a %s>site settings</a>"
807
+ msgstr ""
808
+ "Чтобы покупатели смогли регистрироваться, убедитесь, что регистрация "
809
+ "включена в <a %s>настройках сайта</a>"
810
+
811
+ #: templates/advanced-settings.php:146
812
+ msgid "Chameleon skin"
813
+ msgstr "Тема \"Хамелеон\""
814
 
815
+ #: templates/advanced-settings.php:150
816
+ msgid ""
817
+ "Automatic adjustment of your store design to your WordPress theme. Whatever "
818
+ "WordPress theme you use, %s will detect predominant colors and font and use "
819
+ "them in your product catalog."
820
+ msgstr ""
821
+ "Автоматическая подстройка внешнего вида магазина под стили темы сайта. "
822
+ "Включите эту опцию, чтобы %s определял цвета и шрифты сайта и использовал их "
823
+ "в каталоге товаров."
824
+
825
+ #: templates/advanced-settings.php:153
826
+ msgid ""
827
+ "Please note this functionality is in beta. So if you run into difficulties "
828
+ "or find problems with Chameleon, please <a %s>let us know</a>."
829
+ msgstr ""
830
+ "Мы добавили этот инструмент недавно, и он сейчас работает в бета-режиме. "
831
+ "Если вы обнаружите какие-либо проблемы в его работе, пожалуйста, <a "
832
+ "%s>сообщите нам</a>."
833
+
834
+ #: templates/advanced-settings.php:176
835
+ msgid "Integration with search on your site <sup>beta</sup>"
836
+ msgstr "Интеграция с поиском на сайте <sup>бета</sup>"
837
 
838
+ #: templates/advanced-settings.php:180
839
+ msgid ""
840
+ "%s stores your products data in a secure cloud storage. The product pages "
841
+ "are displayed on the fly when a customer browses your store. So, basically, "
842
+ "the products are not stored on the site, that's why the site search doesn't "
843
+ "find product pages while looking through site pages and posts. This option "
844
+ "enables a local storage mode: the products will be stored both in the cloud "
845
+ "and on your site. The site search results will list product pages as well as "
846
+ "regular pages/posts of your site."
847
+ msgstr ""
848
+ "%s хранит данные товаров магазина в защищенном облачном хранилище, и "
849
+ "показывает их прямо на странице магазина, когда посетитель открывает товар. "
850
+ "Поэтому данные товаров не хранятся на вашем сайте, а поиск по сайту находит "
851
+ "только страницы и записи сайта — не находит товары магазина. Эта настройка "
852
+ "включает локальное хранение товаров: данные товаров будут храниться и в "
853
+ "облачном хранилище, и прямо на вашем сайте. Поиск по сайту будет показывать "
854
+ "страницы товаров магазина так же, как записи или страницы, размещенные на "
855
+ "сайте."
856
+
857
+ #: templates/advanced-settings.php:188
858
+ msgid ""
859
+ "Please note this functionality is in beta. So if you run into difficulties "
860
+ "or find problems with it, please <a %s>let us know</a>."
861
+ msgstr ""
862
+ "Эта функция сейчас работает в бета-режиме. Если вы обнаружите проблемы в её "
863
+ "работе, пожалуйста, <a %s>сообщите нам</a>."
864
+
865
+ #: templates/advanced-settings.php:197 templates/appearance-settings.php:217
866
  msgid "Save changes"
867
  msgstr "Сохранить изменения"
868
 
869
+ #: templates/appearance-settings.php:1
870
+ msgid "%s Shopping Cart Appearance settings"
871
+ msgstr "Магазин %s — Настройки внешнего вида"
872
 
873
+ #: templates/appearance-settings.php:27
874
  msgid "Display search box above products"
875
  msgstr "Показывать форму поиска над списком продуктов"
876
 
877
+ #: templates/appearance-settings.php:31
878
+ msgid ""
879
+ "Or you can add search box to your website's toolbar using <a href=\"%s"
880
+ "\">WordPress native widgets</a>"
881
+ msgstr ""
882
+ "Или вы можете добавить форму поиска на ваш сайт с помощью <a href=\"%s"
883
+ "\">виджетов WordPress</a>"
884
 
885
+ #: templates/appearance-settings.php:51
886
  msgid "Display categories above products"
887
  msgstr "Показывать меню категорий над списком продуктов"
888
 
889
+ #: templates/appearance-settings.php:55
890
+ msgid ""
891
+ "Or you can add vertical categories to your website's toolbar using <a href="
892
+ "\"%s\">WordPress native widgets</a>"
893
+ msgstr ""
894
+ "Или вы можете добавить вертикальное меню категорий на ваш сайт с помощью <a "
895
+ "href=\"%s\">виджетов WordPress</a>"
896
 
897
+ #: templates/appearance-settings.php:76
898
  msgid "Enable minicart attached to categories"
899
  msgstr "Показывать корзину у меню категорий"
900
 
901
+ #: templates/appearance-settings.php:80
902
+ msgid ""
903
+ "You should disable this option, if you added minicart to your website's&nbsp;"
904
+ "sidebar"
905
+ msgstr ""
906
+ "Если вы добавили виджет корзины в боковое меню, следует отключить эту "
907
+ "настройку"
908
 
909
+ #: templates/appearance-settings.php:99 templates/store-popup.php:180
910
  msgid "Number of categories per row"
911
  msgstr "Количество категорий в ряд"
912
 
913
+ #: templates/appearance-settings.php:110 templates/store-popup.php:84
914
  msgid "Number of products per page"
915
  msgstr "Количество продуктов на странице"
916
 
917
+ #: templates/appearance-settings.php:112 templates/store-popup.php:86
918
  msgid "Grid view"
919
  msgstr "Вид \"сетка\""
920
 
921
+ #: templates/appearance-settings.php:139 templates/store-popup.php:113
922
  msgid "List view"
923
  msgstr "Вид \"список\""
924
 
925
+ #: templates/appearance-settings.php:156 templates/store-popup.php:130
926
  msgid "Table view"
927
  msgstr "Вид \"таблица\""
928
 
929
+ #: templates/appearance-settings.php:171 templates/store-popup.php:145
930
+ msgid ""
931
+ "Here you can control how many products will be displayed per page. These "
932
+ "options define maximum values. If there is not enough space to show all "
933
+ "product columns, %s will adapt the number of columns to hold all products."
934
+ msgstr ""
935
+ "Здесь вы можете задать количество отображаемых продуктов на странице. Эти "
936
+ "цифры определяют максимальные значения. Если на странице в сетке продуктов "
937
+ "будет недостаточно места для отображения всех столбцов, %s уменьшит их "
938
+ "количество."
939
+
940
+ #: templates/appearance-settings.php:178 templates/store-popup.php:193
941
  msgid "Default view mode on product pages"
942
  msgstr "Вид страницы продуктов по умолчанию"
943
 
944
+ #: templates/appearance-settings.php:183 templates/appearance-settings.php:201
945
+ #: templates/store-popup.php:197 templates/store-popup.php:215
946
  msgid "Grid"
947
  msgstr "Сетка"
948
 
949
+ #: templates/appearance-settings.php:186 templates/appearance-settings.php:204
950
+ #: templates/store-popup.php:200 templates/store-popup.php:218
951
  msgid "List"
952
  msgstr "Список"
953
 
954
+ #: templates/appearance-settings.php:189 templates/appearance-settings.php:207
955
+ #: templates/store-popup.php:203 templates/store-popup.php:221
956
  msgid "Table"
957
  msgstr "Таблица"
958
 
959
+ #: templates/appearance-settings.php:196 templates/store-popup.php:210
960
  msgid "Default view mode on search results"
961
  msgstr "Вид страницы результатов поиска по умолчанию"
962
 
963
+ #: templates/connect.php:5 templates/dashboard.php:6
964
+ #: templates/reconnect-sso.php:5 templates/reconnect.php:5
965
+ msgid "%s Shopping Cart"
966
+ msgstr "Интернет-магазин %s"
967
+
968
+ #: templates/connect.php:13 templates/reconnect.php:13
969
  msgid "Connect your store<br /> to this WordPress site"
970
  msgstr "Подключите магазин<br /> к своему WordPress сайту"
971
 
972
+ #: templates/connect.php:17
973
+ msgid "Enter your Store ID"
974
+ msgstr "Введите ваш ID Магазина"
975
+
976
+ #: templates/connect.php:20 templates/landing_old.php:27
977
+ #: templates/reconnect.php:23
978
+ msgid "Connect"
979
+ msgstr "Подключите магазин"
980
 
981
+ #: templates/connect.php:21
982
+ msgid "Save and connect"
983
+ msgstr "Сохранить и присоединить"
984
 
985
+ #: templates/connect.php:27 templates/reconnect.php:46
986
+ msgid ""
987
+ "To sell using %1$s, you must allow WordPress to access the %1$s plugin. The "
988
+ "connect button will direct you to your %1$s account where you can provide "
989
+ "permission."
990
+ msgstr ""
991
+ "Нажмите на кнопку, авторизуйтесь в %1$s и выдайте запрошенные права доступа"
992
 
993
+ #: templates/connect.php:32
994
+ msgid "Where to find your Store ID:"
995
+ msgstr "Где найти ID Магазина:"
996
 
997
+ #: templates/connect.php:34
998
+ msgid ""
999
+ "Store ID is a unique identifier of your %1$s account. You can find it in "
1000
+ "your %1$s control panel: open the <a %2$s>Dashboard page</a> and find the "
1001
+ "\"<b>Store ID: NNNNNNN</b>\" text, where <b>NNNNNNN</b> is your Store&nbsp;"
1002
+ "ID."
1003
+ msgstr ""
1004
+ "ID магазина – это уникальный номер аккаунта в %1$s. Вы можете его найти в "
1005
+ "панели управления %1$s-магазина: откройте страницу \"<a %2$s>Консоль</a>\" и "
1006
+ "найдите текст \"<b>ID&nbsp;Магазина&nbsp;NNNNNNN</b>\". "
1007
+
1008
+ #: templates/connect.php:39
1009
+ msgid "Don't have an %s account? Create one now."
1010
+ msgstr "Ещё нет аккаунта в %s? Зарегистрируйтесь"
1011
+
1012
+ #: templates/dashboard.php:10 templates/store-popup.php:231
1013
+ #: templates/store-svg.php:15
1014
  msgid "Store ID"
1015
  msgstr "ID Магазина"
1016
 
1017
+ #: templates/dashboard.php:14
1018
  msgid "Disconnect store"
1019
  msgstr "Отсоединить магазин"
1020
 
1021
+ #: templates/dashboard.php:27
1022
  msgid "Congratulations!"
1023
  msgstr "Поздравляем!"
1024
 
1025
+ #: templates/dashboard.php:30
1026
+ msgid "Your %s store is now connected<br /> to your WordPress website"
1027
+ msgstr "%s-магазин успешно подключен<br /> к вашему WordPress сайту"
1028
 
1029
+ #: templates/dashboard.php:35
1030
  msgid "Greetings!"
1031
  msgstr "Приветствуем!"
1032
 
1033
+ #: templates/dashboard.php:38
1034
+ msgid "Your %s store is connected<br /> to your WordPress website"
1035
+ msgstr "%s-магазин подключен<br /> к вашему WordPress сайту"
1036
 
1037
+ #: templates/dashboard.php:47
1038
  msgid "Open control panel"
1039
  msgstr "Открыть панель управления"
1040
 
1041
+ #: templates/debug.php:14
1042
+ msgid "Download log file"
1043
+ msgstr "Скачать лог-файл"
1044
 
1045
+ #: templates/help.php:11
1046
+ msgid "How can we help you?"
1047
+ msgstr "Как вам помочь?"
1048
 
1049
+ #: templates/help.php:15
1050
+ msgid "https://support.ecwid.com/hc/en-us/search"
1051
+ msgstr "https://support.ecwid.com/hc/ru/search"
1052
 
1053
+ #: templates/help.php:17
1054
+ msgid "E.g. How to set up shipping"
1055
+ msgstr "Например, как настроить платежи?"
1056
 
1057
+ #: templates/help.php:21
1058
+ msgid "Search the Knowledge Base"
1059
+ msgstr "Искать в базе знаний"
1060
 
1061
+ #: templates/help.php:29
1062
+ msgid "https://support.ecwid.com/hc/en-us/sections/201706719-Ecwid-Basics"
1063
+ msgstr ""
1064
+ "https://support.ecwid.com/hc/ru/sections/201706719-%D0%9D"
1065
+ "%D0%B0%D1%87%D0%B0%D0%BB%D0%BE-%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D1%8B-"
1066
 
1067
+ #: templates/help.php:31
1068
+ msgid "Ecwid Basics"
1069
+ msgstr "Начало работы"
1070
 
1071
+ #: templates/help.php:35
1072
+ msgid ""
1073
+ "https://support.ecwid.com/hc/en-us/sections/201758475-Manage-Your-Ecwid-Store"
1074
+ msgstr ""
1075
+ "https://support.ecwid.com/hc/ru/sections/201758475-%D0%A3%D0%BF"
1076
+ "%D1%80%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5-%D0%BC"
1077
+ "%D0%B0%D0%B3%D0%B0%D0%B7%D0%B8%D0%BD%D0%BE%D0%BC"
1078
 
1079
+ #: templates/help.php:37
1080
+ msgid "Manage Your Ecwid Store"
1081
+ msgstr "Управление магазином"
1082
 
1083
+ #: templates/help.php:41
1084
+ msgid ""
1085
+ "https://support.ecwid.com/hc/en-us/sections/201758445-Customize-Your-Store"
1086
+ msgstr ""
1087
+ "https://support.ecwid.com/hc/ru/sections/201758445-%D0%98%D0%B7%D0%BC"
1088
+ "%D0%B5%D0%BD%D0%B5%D0%BD%D0%B8%D0%B5-%D0%B4%D0%B8%D0%B7%D0%B0%D0%B9%D0%BD"
1089
+ "%D0%B0-"
1090
 
1091
+ #: templates/help.php:43
1092
+ msgid "Customize Your Store"
1093
+ msgstr "Изменение дизайна"
1094
 
1095
+ #: templates/help.php:47
1096
+ msgid "https://support.ecwid.com/hc/en-us/sections/201706799-Billing-Questions"
1097
+ msgstr ""
1098
+ "https://support.ecwid.com/hc/ru/sections/201706799-%D0%9F%D0%BE%D0%B4%D0%BF"
1099
+ "%D0%B8%D1%81%D0%BA%D0%B0"
1100
 
1101
+ #: templates/help.php:49
1102
+ msgid "Billing Questions"
1103
+ msgstr "Подписка"
1104
 
1105
+ #: templates/help.php:53
1106
+ msgid ""
1107
+ "https://support.ecwid.com/hc/en-us/sections/201702859-Technical-Reference"
1108
+ msgstr ""
1109
+ "https://support.ecwid.com/hc/ru/sections/201702859-%D0%A2%D0%B5%D1%85%D0%BD"
1110
+ "%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B0%D1%8F-%D0%B8%D0%BD%D1%84%D0%BE"
1111
+ "%D1%80%D0%BC%D0%B0%D1%86%D0%B8%D1%8F"
1112
 
1113
+ #: templates/help.php:55
1114
+ msgid "Technical Reference"
1115
+ msgstr "Техническая информация"
1116
 
1117
+ #: templates/help.php:62
1118
+ msgid "Frequently Asked Questions"
1119
+ msgstr "Часто Задаваемые Вопросы"
1120
 
1121
+ #: templates/help.php:205
1122
+ msgid "Contact us"
1123
+ msgstr "Связь с техподдержкой"
1124
 
1125
+ #: templates/help.php:206
1126
+ msgid "Still have questions about Ecwid? Let us know!"
1127
+ msgstr "Есть вопросы? Свяжитесь с нами, мы будем рады вам помочь."
1128
 
1129
+ #: templates/help.php:211
1130
+ msgid "https://www.ecwid.com/forums"
1131
+ msgstr "https://www.ecwid.com/forums/forumdisplay.php?f=10"
1132
 
1133
+ #: templates/help.php:211
1134
+ msgid "Forums"
1135
+ msgstr "Форум"
1136
 
1137
+ #: templates/help.php:212
1138
+ msgid ""
1139
+ "Join the Ecwid community. Discuss support topics and store ideas with other "
1140
+ "Ecwid users."
1141
+ msgstr ""
1142
+ "Общайтесь с другими пользователями Эквида и командой поддержки клиентов по "
1143
+ "любым вопросам, связанным с работой вашего магазина."
1144
 
1145
+ #: templates/help.php:221
1146
+ msgid "Send a message to our support team"
1147
+ msgstr "Письмо в службу поддержки"
1148
 
1149
+ #: templates/help.php:227
1150
+ msgid "Subject"
1151
+ msgstr "Тема"
1152
 
1153
+ #: templates/help.php:228
1154
+ msgid "Type in your message here"
1155
+ msgstr "Ваш вопрос"
1156
+
1157
+ #: templates/help.php:231
1158
+ msgid "Send Message"
1159
+ msgstr "Отправить"
1160
+
1161
+ #: templates/help.php:242
1162
+ msgid "Send message failed"
1163
+ msgstr "Не удалось отправить сообщение"
1164
+
1165
+ #: templates/help.php:248
1166
+ msgid "Your email has been sent"
1167
+ msgstr "Сообщение отправлено"
1168
+
1169
+ #: templates/help.php:249
1170
+ msgid ""
1171
+ " Thank you very much for contacting us! We will get back to you shortly."
1172
+ msgstr "Спасибо! Мы скоро свяжемся с вами."
1173
+
1174
+ #: templates/help.php:250
1175
+ msgid "You can send a new request here."
1176
+ msgstr "Тут можно отправить новый запрос."
1177
+
1178
+ #: templates/landing.php:8
1179
+ msgid "Welcome to %s!"
1180
+ msgstr "Добро пожаловать в %s!"
1181
+
1182
+ #: templates/landing.php:9
1183
+ msgid ""
1184
+ "Thank you for choosing %s to build your online store. The first step to sell "
1185
+ "successfully online is to setup your store! Let’s get started and add a "
1186
+ "store to your website in a few simple steps."
1187
+ msgstr ""
1188
+ "Спасибо, что выбрали %s для создания вашего интернет-магазина. Первый шаг к "
1189
+ "успешной онлайн торговле — настройка магазина! Давайте добавим магазин на "
1190
+ "ваш сайт за несколько простых шагов."
1191
+
1192
+ #: templates/landing.php:15 templates/landing.php:132
1193
+ msgid "Create Free %s Store"
1194
+ msgstr "Создать %s-магазин"
1195
+
1196
+ #: templates/landing.php:31 templates/landing.php:148
1197
+ msgid "Store is created"
1198
+ msgstr "Магазин создан"
1199
+
1200
+ #: templates/landing.php:35 templates/landing.php:152
1201
+ msgid "Creating store"
1202
+ msgstr "Создание магазина"
1203
+
1204
+ #: templates/landing.php:39 templates/landing.php:156
1205
+ msgid "Preparing your store dashboard"
1206
+ msgstr "Подготовка панели управления"
1207
+
1208
+ #: templates/landing.php:43 templates/landing_old.php:52
1209
+ msgid "Free registration, No credit card required"
1210
+ msgstr "Регистрация бесплатна, кредитная карта не требуется"
1211
+
1212
+ #: templates/landing.php:46
1213
+ msgid ""
1214
+ "Connection error: please click the button again and give permissions for "
1215
+ "this plugin<br /> to show your %s store on this site."
1216
+ msgstr ""
1217
+ "Ошибка подключения: после нажатия на кнопку, авторизуйтесь в %s и "
1218
+ "предоставьте запрашиваемые права."
1219
+
1220
+ #: templates/landing.php:49 templates/landing.php:160
1221
+ msgid "Already have %s account?"
1222
+ msgstr "Уже есть аккаунт в %s?"
1223
+
1224
+ #: templates/landing.php:50 templates/landing_old.php:62
1225
+ msgid "Connect your store to Wordpress site"
1226
+ msgstr "Подключить магазин к своему сайту"
1227
+
1228
+ #: templates/landing.php:53
1229
+ msgid ""
1230
+ "You will be asked to log in to your %s Control Panel<br />and give "
1231
+ "permissions to show your store on this site"
1232
+ msgstr ""
1233
+ "Вам будет предложено войти в панель управления %s<br />и предоставить права "
1234
+ "доступа для отображения магазина на вашем сайте"
1235
+
1236
+ #: templates/landing.php:56 templates/landing_old.php:75
1237
+ msgid "Get ready to sell online"
1238
+ msgstr "Продавать онлайн – это просто"
1239
 
1240
+ #: templates/landing.php:67
1241
+ msgid "Sell Everywhere<br>with your %s store"
1242
+ msgstr "Продавайте c %s там,<br> где ваши клиенты"
1243
+
1244
+ #: templates/landing.php:68 templates/landing_old.php:87
1245
+ msgid ""
1246
+ "Start selling on your WordPress site. Then mirror your shop on your Facebook "
1247
+ "page, blog and marketplaces like Google Shopping, Yahoo and Shopping.com."
1248
+ msgstr ""
1249
+ "Откройте продажи на своём WordPress сайте, а затем разместите витрину "
1250
+ "магазина в социальных сетях, блоге, и выгрузите товары на торговые площадки "
1251
+ "Яндекс.Маркет, eBay и Google Shopping."
1252
+
1253
+ #: templates/landing.php:69
1254
+ msgid ""
1255
+ "Use %s's mobile-POS to swipe credit cards and sell on the go. Your orders "
1256
+ "and inventory are always synchronized with your online store."
1257
+ msgstr ""
1258
+ "Используйте мобильное приложение %s, чтобы получать и обрабатывать заказы в "
1259
+ "любой точке продаж. Все изменения синхронизируются с магазином на лету."
1260
+
1261
+ #: templates/landing.php:75 templates/landing_old.php:94
1262
  msgid "Features"
1263
  msgstr "Преимущества"
1264
 
1265
+ #: templates/landing.php:82 templates/landing_old.php:101
1266
  msgid "Compatible with your theme"
1267
  msgstr "Работает с вашей темой"
1268
 
1269
+ #: templates/landing.php:83
1270
+ msgid "%s is compatible with your<br>“%s WordPress theme<br>out of the box."
1271
+ msgstr "%s совместим с темой<br>\"%s\" вашего сайта из коробки."
1272
 
1273
+ #: templates/landing.php:91 templates/landing_old.php:110
1274
  msgid "Free and always up to date"
1275
  msgstr "Бесплатный план и обновления"
1276
 
1277
+ #: templates/landing.php:92 templates/landing_old.php:111
1278
+ msgid ""
1279
+ "Free plan always available with tons of features<br>at no additional cost. "
1280
+ "Updates are seamless, automatic<br>and free of charge."
1281
+ msgstr ""
1282
+ "Всегда доступный бесплатный план с множеством<br>возможностей. Обновления "
1283
+ "магазина автоматизированы,<br> бесплатны и не требуют вашего участия."
1284
 
1285
+ #: templates/landing.php:102 templates/landing_old.php:121
1286
  msgid "Responsive design"
1287
  msgstr "Адаптивный дизайн"
1288
 
1289
+ #: templates/landing.php:103 templates/landing_old.php:122
1290
  msgid "Your store looks perfect<br />on all devices"
1291
+ msgstr ""
1292
+ "Ваш магазин выглядит превосходно<br />на любом устройстве: планшете, "
1293
+ "смартфоне и ноутбуке."
1294
 
1295
+ #: templates/landing.php:111 templates/landing_old.php:130
1296
  msgid "PCI DSS Certified"
1297
  msgstr "Сертификация по PCI DSS"
1298
 
1299
+ #: templates/landing.php:112 templates/landing_old.php:131
1300
  msgid "Secure checkout with over 40<br />payment options"
1301
+ msgstr ""
1302
+ "Эквид сертифицирован по стандарту Level 1 PCI DSS – самому высокому уровню "
1303
+ "безопасности передачи данных."
1304
 
1305
+ #: templates/landing.php:120 templates/landing_old.php:139
1306
  msgid "Global Reach"
1307
  msgstr "Глобальное решение"
1308
 
1309
+ #: templates/landing.php:121
1310
+ msgid "Over 1 million merchants in 175 countries"
1311
+ msgstr "Более миллиона продавцов из 175 стран"
1312
 
1313
+ #: templates/landing.php:128 templates/landing_old.php:147
1314
  msgid "Start selling <br>on your WordPress <nobr>site for free</nobr>"
1315
  msgstr "Начните продавать<br>на своём WordPress <nobr>сайте бесплатно</nobr>"
1316
 
1317
+ #: templates/landing.php:161 templates/landing_old.php:158
 
 
1318
  msgid "Connect your store to this site"
1319
  msgstr "Подключить магазин к своему сайту"
1320
 
1321
+ #: templates/landing_old.php:8 templates/landing_old.php:12
1322
+ msgid "Plugin is installed successfully!"
1323
+ msgstr "Плагин успешно установлен!"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1324
 
1325
+ #: templates/landing_old.php:9
1326
+ msgid ""
1327
+ "There are just a few steps left to start selling<br /> on your WordPress site"
1328
+ msgstr ""
1329
+ "До открытия магазина на вашем WordPress сайте<br /> осталось несколько "
1330
+ "простых шагов"
1331
+
1332
+ #: templates/landing_old.php:13
1333
+ msgid ""
1334
+ "There are few little steps left to start selling<br /> on your WordPress site"
1335
+ msgstr ""
1336
+ "До открытия магазина на вашем WordPress сайте<br /> осталось несколько "
1337
+ "простых шагов"
1338
+
1339
+ #: templates/landing_old.php:19
1340
+ msgid "Register"
1341
+ msgstr "Зарегистрируйтесь"
1342
 
1343
+ #: templates/landing_old.php:20
1344
+ msgid ""
1345
+ "Create a free Ecwid account to manage your store and inventory.<br /> No "
1346
+ "credit card required"
1347
+ msgstr ""
1348
+ "Зарегистрируйте бесплатный аккаунт в Эквиде.<br /> Кредитная карта не "
1349
+ "требуется"
1350
 
1351
+ #: templates/landing_old.php:29
1352
+ msgid "Add your Ecwid store to your site <nobr>in two clicks</nobr>"
1353
+ msgstr "Подключите свой Эквид-магазин к сайту <nobr>в два клика</nobr>"
1354
 
1355
+ #: templates/landing_old.php:30
1356
+ msgid "Connect your Ecwid store to this site <nobr>in two clicks</nobr>"
1357
+ msgstr "Подключите свой Эквид-магазин к сайту <nobr>в два клика</nobr>"
1358
 
1359
+ #: templates/landing_old.php:39
1360
+ msgid "Start selling"
1361
+ msgstr "Начните продавать"
1362
 
1363
+ #: templates/landing_old.php:40
1364
+ msgid "Your storefront is ready"
1365
+ msgstr "Магазин открыт для покупателей"
1366
 
1367
+ #: templates/landing_old.php:46
1368
+ msgid "Create Ecwid store"
1369
+ msgstr "Создать магазин бесплатно"
1370
 
1371
+ #: templates/landing_old.php:49 templates/landing_old.php:154
1372
+ msgid "Connect your store"
1373
+ msgstr "Подключить магазин"
1374
 
1375
+ #: templates/landing_old.php:55
1376
+ msgid ""
1377
+ "Connection error: please click the button again and give permissions for "
1378
+ "this plugin<br /> to show your Ecwid store on this site."
1379
+ msgstr ""
1380
+ "Ошибка подключения: пожалуйста, нажмите кнопку ещё раз и предоставьте права "
1381
+ "доступа плагину<br /> для публикации своего Эквид-магазина на этом сайте."
1382
+
1383
+ #: templates/landing_old.php:58 templates/landing_old.php:69
1384
+ msgid ""
1385
+ "You will be asked to log in to your Ecwid Control Panel<br />and give "
1386
+ "permissions to show your store on this site"
1387
+ msgstr ""
1388
+ "Вам будет предложено войти в панель управления Эквида<br />и предоставить "
1389
+ "права доступа для отображения магазина на вашем сайте"
1390
+
1391
+ #: templates/landing_old.php:61 templates/landing_old.php:157
1392
+ msgid "Already have Ecwid account?"
1393
+ msgstr "Уже есть аккаунт в Эквиде?"
1394
 
1395
+ #: templates/landing_old.php:65 templates/landing_old.php:161
1396
+ msgid "Don't have an Ecwid account?"
1397
+ msgstr "Ещё нет аккаунта в Эквиде?"
1398
 
1399
+ #: templates/landing_old.php:66 templates/landing_old.php:162
1400
+ msgid "Register at Ecwid for free"
1401
+ msgstr "Зарегистрироваться бесплатно"
1402
 
1403
+ #: templates/landing_old.php:72
1404
+ msgid "No credit card required"
1405
+ msgstr "Кредитная карта не требуется"
1406
 
1407
+ #: templates/landing_old.php:86
1408
+ msgid "Sell Everywhere<br>with your Ecwid store"
1409
+ msgstr "Продавайте там,<br> где ваши клиенты"
1410
 
1411
+ #: templates/landing_old.php:88
1412
+ msgid ""
1413
+ "Use Ecwid's mobile-POS to swipe credit cards and sell on the go. Your orders "
1414
+ "and inventory are always synchronized with your online store."
1415
+ msgstr ""
1416
+ "Используйте наше мобильное приложение, чтобы получать и обрабатывать заказы "
1417
+ "в любой точке продаж. Все изменения синхронизируются с магазином на лету."
1418
+
1419
+ #: templates/landing_old.php:102
1420
+ msgid ""
1421
+ "Ecwid is compatible with your<br>“%s” WordPress theme<br>out of the box."
1422
+ msgstr "Эквид совместим с темой<br>\"%s\" вашего сайта из коробки."
1423
 
1424
+ #: templates/landing_old.php:140
1425
+ msgid "More than 800,000 merchants in 175 countries"
1426
+ msgstr "Эквид уже используют 800,000 продавцов из 175 стран"
1427
 
1428
+ #: templates/landing_old.php:151
1429
+ msgid "Get Started, Create Ecwid Account"
1430
+ msgstr "Зарегистрировать аккаунт %s"
1431
 
1432
+ #: templates/product-popup.php:23
1433
  msgid "Name"
1434
  msgstr "Название"
1435
 
1436
+ #: templates/product-popup.php:29
1437
  msgid "SKU"
1438
  msgstr "Артикул"
1439
 
1440
+ #: templates/product-popup.php:47 templates/product-popup.php:53
1441
+ #: templates/product-popup.php:56
1442
  msgid "Search"
1443
  msgstr "Поиск"
1444
 
1445
+ #: templates/product-popup.php:49
1446
+ msgid "Title or SKU"
1447
+ msgstr "Название или артикул"
1448
 
1449
+ #: templates/product-popup.php:69
1450
+ msgid "Current Page"
1451
+ msgstr "Текущая страница"
1452
+
1453
+ #: templates/product-popup.php:80
1454
+ msgid "Next page"
1455
+ msgstr "Следующая"
1456
 
1457
+ #: templates/product-popup.php:94
1458
+ msgid ""
1459
+ "Nothing found for <span class=\"empty-page__term\">\"{{ data.term }}\"</span>"
1460
+ msgstr ""
1461
+ "По запросу <span class=\"empty-page__term\">\"{{ data.term }}\"</span> "
1462
+ "ничего не найдено"
1463
+
1464
+ #: templates/product-popup.php:96
1465
+ msgid "Try another search."
1466
+ msgstr "Попробуйте другой запрос."
1467
+
1468
+ #: templates/product-popup.php:97
1469
+ msgid "Browse all products."
1470
+ msgstr "Показать все товары."
1471
+
1472
+ #: templates/product-popup.php:122 templates/product-popup.php:127
1473
  msgid "Choose Product"
1474
  msgstr "Выбрать товар"
1475
 
1476
+ #: templates/product-popup.php:123 templates/product-popup.php:131
1477
  msgid "Customize widget"
1478
  msgstr "Внешний вид"
1479
 
1480
+ #: templates/product-popup.php:140
 
 
 
 
 
1481
  msgid "Choose product properties to display in widget"
1482
  msgstr "Выберите элементы товара для отображения"
1483
 
1484
+ #: templates/product-popup.php:150
1485
  msgid "Picture"
1486
  msgstr "Изображение"
1487
 
1488
+ #: templates/product-popup.php:155
 
 
1489
  msgid "Options"
1490
  msgstr "Параметры"
1491
 
1492
+ #: templates/product-popup.php:165
 
 
1493
  msgid "Quantity"
1494
  msgstr "Количество"
1495
 
1496
+ #: templates/product-popup.php:176
1497
+ msgid "«Add to bag» button"
1498
+ msgstr "Кнопка \"Купить\""
1499
+
1500
+ #: templates/product-popup.php:196
1501
  msgid "Add border"
1502
  msgstr "Показывать рамку"
1503
 
1504
+ #: templates/product-popup.php:201
1505
  msgid "Show price inside the \"Buy now\" button"
1506
  msgstr "Показывать цену в кнопке \"Купить\""
1507
 
1508
+ #: templates/product-popup.php:206
1509
  msgid "Center align on a page"
1510
  msgstr "Выровнять карточку по центру страницы"
1511
 
1512
+ #: templates/product-popup.php:218
1513
+ msgid "customize appearance"
1514
+ msgstr "настроить внешний вид"
1515
 
1516
+ #: templates/product-popup.php:219
1517
+ msgid "select product"
1518
+ msgstr "выбрать товар"
1519
 
1520
+ #: templates/product-popup.php:220
1521
+ msgid "Insert"
1522
+ msgstr "Вставить"
1523
 
1524
+ #: templates/reconnect-sso.php:11
1525
+ msgid "Your store Control Panel. Right here in WordPress."
1526
+ msgstr "Панель управления магазином, встроенная в Wordpress."
1527
 
1528
+ #: templates/reconnect-sso.php:12
1529
+ msgid ""
1530
+ "Manage products, track sales, adjust settings - <nobr>All without</nobr> "
1531
+ "leaving this page."
1532
+ msgstr ""
1533
+ "Вы сможете добавлять товары, обрабатывать заказы и управлять магазином прямо "
1534
+ "на этой странице."
1535
 
1536
+ #: templates/reconnect-sso.php:14
1537
+ msgid "Re-connect to Enable Control Panel"
1538
+ msgstr "Подключить панель управления"
1539
 
1540
+ #: templates/reconnect.php:31
1541
+ msgid ""
1542
+ "Connection error - after clicking button you need to login and accept "
1543
+ "permissions to use our plugin. Please, try again."
1544
+ msgstr ""
1545
+ "Ошибка подключения: после нажатия на кнопку, авторизуйтесь в Эквиде и "
1546
+ "предоставьте запрашиваемые права."
1547
+
1548
+ #: templates/reconnect.php:39
1549
+ msgid ""
1550
+ "Looks like your site does not support remote POST requests that are required "
1551
+ "for %s API to work. Please, contact your hosting provider to enable cURL."
1552
+ msgstr ""
1553
+ "Похоже, что ваш сервер не поддерживает удаленные POST запросы, которые "
1554
+ "необходимы для работы %s API. Пожалуйста, свяжитесь с хостинг-провайдером, "
1555
+ "чтобы исправить это."
1556
+
1557
+ #: templates/store-popup.php:12 templates/store-popup.php:25
1558
+ msgid "Store elements"
1559
+ msgstr "Витрина"
1560
 
1561
+ #: templates/store-popup.php:46
1562
+ msgid "Choose widgets to show"
1563
+ msgstr "Виджеты витрины магазина"
1564
 
1565
+ #: templates/store-popup.php:47
1566
+ msgid "Product catalog will be shown automatically"
1567
+ msgstr "Каталог товаров отображается по умолчанию"
1568
 
1569
+ #: templates/store-popup.php:52
1570
+ msgid "Show search"
1571
+ msgstr "Поиск"
1572
 
1573
+ #: templates/store-popup.php:59
1574
+ msgid "Show minicart"
1575
+ msgstr "Мини-корзина"
1576
 
1577
+ #: templates/store-popup.php:66
1578
+ msgid "Show categories"
1579
+ msgstr "Меню категорий"
1580
 
1581
+ #: templates/store-popup.php:72
1582
+ msgid ""
1583
+ "Additionally, you can add store controls to your website's toolbar using <a "
1584
+ "%s>WordPress native widgets</a>"
1585
+ msgstr ""
1586
+ "Кроме того, вы можете добавить отдельные элементы магазина в сайдбар сайта "
1587
+ "используя <a %s>встроенные виджеты WordPress</a>"
1588
 
1589
+ #: templates/store-popup.php:233
1590
+ msgid "Demo store"
1591
+ msgstr "Демонстрационный магазин"
1592
 
1593
+ #: templates/store-popup.php:236
1594
+ msgid "Open store dashboard"
1595
+ msgstr "Настройки магазина"
1596
 
1597
+ #: templates/store-popup.php:240
1598
+ msgid "Insert into page"
1599
+ msgstr "Вставить в страницу"
1600
 
1601
+ #: templates/store-popup.php:243
1602
+ msgid "Update"
1603
+ msgstr "Обновить"
1604
 
1605
+ #: templates/store-svg.php:10
1606
+ msgid "Your store will be shown here!"
1607
+ msgstr "Здесь будет отображаться ваш магазин."
1608
 
1609
+ #: templates/store-svg.php:13
1610
+ msgid "Demo Store"
1611
+ msgstr "Демонстрационный магазин"
1612
+
1613
+ #: templates/sync.php:161
1614
+ msgid ""
1615
+ "To enable this feature, the plugin needs a permission to read your store "
1616
+ "product information."
1617
+ msgstr ""
1618
+ "Чтобы включить интеграцию с поиском, нужно дать плагину доступ до данных "
1619
+ "товаров в магазине."
1620
 
1621
+ #: templates/sync.php:162
1622
+ msgid "Provide access."
1623
+ msgstr "Перейдите по этой ссылке, чтобы предоставить доступ."
1624
+
1625
+ #: templates/sync.php:167 templates/sync.php:168
1626
+ msgid "Synchronize products"
1627
+ msgstr "Синхронизировать товары"
1628
 
1629
+ #: templates/sync.php:175
1630
+ msgid ""
1631
+ "We're synchronizing your products. This may take a few minutes. Please do "
1632
+ "not reload the page."
1633
+ msgstr ""
1634
+ "Товары загружаются. Это может занять несколько минут. Пожалуйста, не "
1635
+ "перезагружайте страницу."
1636
 
1637
+ #: templates/sync.php:179
1638
  msgid "Products synchronized: %s out of %s"
1639
  msgstr "Загружено товаров: %s из %s"
1640
 
1641
+ #: templates/sync.php:186
1642
+ msgid ""
1643
+ "Products are successfully synchronized. The product pages are up to date."
1644
+ msgstr "Товары успешно синхронизированы. Страницы товаров обновлены."
1645
+
1646
+ #: templates/sync.php:190
1647
+ msgid "Last update"
1648
+ msgstr "Последняя синхронизация"
1649
 
1650
+ #: templates/sync.php:193
1651
+ msgid "Not synchronized yet"
1652
+ msgstr "Не синхронизовано"
1653
 
1654
+ #. Plugin Name of the plugin/theme
1655
+ msgid "Ecwid Shopping Cart"
1656
+ msgstr "Интернет-магазин Эквид"
1657
 
1658
+ #. #-#-#-#-# ecwid-shopping-cart.pot (Ecwid Shopping Cart 5.2) #-#-#-#-#
1659
+ #. Plugin URI of the plugin/theme
1660
+ #. #-#-#-#-# ecwid-shopping-cart.pot (Ecwid Shopping Cart 5.2) #-#-#-#-#
1661
+ #. Author URI of the plugin/theme
1662
+ msgid "http://www.ecwid.com?source=wporg"
1663
+ msgstr ""
1664
 
1665
+ #. Description of the plugin/theme
1666
+ msgid ""
1667
+ "Ecwid is a free full-featured shopping cart. It can be easily integrated "
1668
+ "with any Wordpress blog and takes less than 5 minutes to set up."
1669
+ msgstr "Эквид — это конструктор интернет-магазина."
1670
 
1671
+ #. Author of the plugin/theme
1672
+ msgid "Ecwid Team"
1673
+ msgstr ""
1674
+
1675
+ #~ msgid ""
1676
+ #~ "Updated %s widgets are available for your %s store. They are more mobile "
1677
+ #~ "friendly and look better. Please enable them on the plugin settings page "
1678
+ #~ "and check how they work in your store. The new widgets will be enabled "
1679
+ #~ "automatically for all users in one of the upcoming plugin versions."
1680
+ #~ msgstr ""
1681
+ #~ "Блоки %s в вашем %s-магазине обновлены – теперь они выглядят приятнее и "
1682
+ #~ "лучше работают на мобильных. Пожалуйста, включите новый вид блоков поиска "
1683
+ #~ "и категорий на странице настроек плагина. В одном следующих обновлений "
1684
+ #~ "плагина они будут включены автоматически для всех пользователей."
1685
+
1686
+ #~ msgctxt "upgrade widgets message"
1687
+ #~ msgid "Categories"
1688
+ #~ msgstr "Категорий"
1689
+
1690
+ #~ msgid "Open %s store settings"
1691
+ #~ msgstr "Открыть настройки плагина %s"
1692
+
1693
+ #~ msgid ""
1694
+ #~ "<a href=\"admin.php?page=ecwid-help\">Read FAQ or contact support</a>"
1695
+ #~ msgstr ""
1696
+ #~ "<a href=\"admin.php?page=ecwid-help\">Посетите Центр поддержки Эквида или "
1697
+ #~ "напишите нам</a>"
1698
+
1699
+ #~ msgid "Enable the new category menu"
1700
+ #~ msgstr "Включить новое меню категорий"
1701
+
1702
+ #~ msgid ""
1703
+ #~ "The new category menu looks better and is more mobile-friendly. If you "
1704
+ #~ "haven't yet added category menu to your store page, you can do that in "
1705
+ #~ "the <a %s>store page editor</a> (enable the \"Show categories\" option)"
1706
+ #~ msgstr ""
1707
+ #~ "Новое меню категорий лучше выглядит и отлично работает на мобильных "
1708
+ #~ "устройствах. Если у вас на странице магазина пока нет меню категорий, "
1709
+ #~ "добавьте его в <a %s>настройках страницы магазина</a> (включите виджет "
1710
+ #~ "\"Категории\")."
lib/ecwid_api_v3.php CHANGED
@@ -6,6 +6,7 @@ class Ecwid_Api_V3
6
  {
7
  const CLIENT_ID = 'RD4o2KQimiGUrFZc';
8
  const CLIENT_SECRET = 'jEPVdcA3KbzKVrG8FZDgNnsY3wKHDTF8';
 
9
 
10
  const TOKEN_OPTION_NAME = 'ecwid_oauth_token';
11
 
@@ -63,8 +64,8 @@ class Ecwid_Api_V3
63
  }
64
 
65
  $url = $this->build_request_url(
66
- $this->_categories_api_url,
67
- $params
68
  );
69
 
70
  $result = EcwidPlatform::get_from_categories_cache($url);
@@ -101,8 +102,8 @@ class Ecwid_Api_V3
101
  }
102
 
103
  $url = $this->build_request_url(
104
- $this->_categories_api_url . '/' . $categoryId,
105
- $params
106
  );
107
  $result = EcwidPlatform::get_from_categories_cache( $url );
108
 
@@ -133,8 +134,8 @@ class Ecwid_Api_V3
133
  }
134
 
135
  $url = $this->build_request_url(
136
- $this->_products_api_url . '/' . $product_id,
137
- $params
138
  );
139
 
140
  $result = EcwidPlatform::get_from_products_cache( $url );
@@ -172,8 +173,8 @@ class Ecwid_Api_V3
172
  }
173
 
174
  $url = $this->build_request_url(
175
- $this->_products_api_url,
176
- $params
177
  );
178
 
179
  $result = EcwidPlatform::get_from_products_cache( $url );
@@ -277,12 +278,12 @@ class Ecwid_Api_V3
277
  return null;
278
  }
279
 
280
- $url = 'https://my.ecwid.com/api/oauth/authorize';
281
 
282
  $query = array();
283
 
284
  $query['source'] = 'wporg';
285
- $query['client_id'] = self::CLIENT_ID;
286
  $query['redirect_uri'] = $redirect_uri;
287
  $query['response_type'] = 'code';
288
  $query['scope'] = $scope;
@@ -432,10 +433,10 @@ class Ecwid_Api_V3
432
  foreach ($params as $key => $param) {
433
  if ( $param == 'appClientId' ) {
434
  unset($params[$key]);
435
- $params['appClientId'] = self::CLIENT_ID;
436
  } elseif ( $param == 'appSecretKey' ) {
437
  unset($params[$key]);
438
- $params['appSecretKey'] = self::CLIENT_SECRET;
439
  } elseif ($param == 'token') {
440
  unset($params[$key]);
441
  $params['token'] = self::get_token();
6
  {
7
  const CLIENT_ID = 'RD4o2KQimiGUrFZc';
8
  const CLIENT_SECRET = 'jEPVdcA3KbzKVrG8FZDgNnsY3wKHDTF8';
9
+ const OAUTH_URL = 'https://my.ecwid.com/api/oauth/token';
10
 
11
  const TOKEN_OPTION_NAME = 'ecwid_oauth_token';
12
 
64
  }
65
 
66
  $url = $this->build_request_url(
67
+ $this->_categories_api_url,
68
+ $params
69
  );
70
 
71
  $result = EcwidPlatform::get_from_categories_cache($url);
102
  }
103
 
104
  $url = $this->build_request_url(
105
+ $this->_categories_api_url . '/' . $categoryId,
106
+ $params
107
  );
108
  $result = EcwidPlatform::get_from_categories_cache( $url );
109
 
134
  }
135
 
136
  $url = $this->build_request_url(
137
+ $this->_products_api_url . '/' . $product_id,
138
+ $params
139
  );
140
 
141
  $result = EcwidPlatform::get_from_products_cache( $url );
173
  }
174
 
175
  $url = $this->build_request_url(
176
+ $this->_products_api_url,
177
+ $params
178
  );
179
 
180
  $result = EcwidPlatform::get_from_products_cache( $url );
278
  return null;
279
  }
280
 
281
+ $url = Ecwid_Config::get_oauth_auth_url();
282
 
283
  $query = array();
284
 
285
  $query['source'] = 'wporg';
286
+ $query['client_id'] = Ecwid_Config::get_oauth_appid();
287
  $query['redirect_uri'] = $redirect_uri;
288
  $query['response_type'] = 'code';
289
  $query['scope'] = $scope;
433
  foreach ($params as $key => $param) {
434
  if ( $param == 'appClientId' ) {
435
  unset($params[$key]);
436
+ $params['appClientId'] = Ecwid_Config::get_oauth_appid();
437
  } elseif ( $param == 'appSecretKey' ) {
438
  unset($params[$key]);
439
+ $params['appSecretKey'] = Ecwid_Config::get_oauth_appsecret();
440
  } elseif ($param == 'token') {
441
  unset($params[$key]);
442
  $params['token'] = self::get_token();
lib/ecwid_platform.php CHANGED
@@ -238,6 +238,19 @@ class EcwidPlatform {
238
  update_option( 'ecwid_plugin_data', $options );
239
  }
240
 
 
 
 
 
 
 
 
 
 
 
 
 
 
241
  static public function http_api_transports($transports)
242
  {
243
  if (self::$http_use_streams) {
238
  update_option( 'ecwid_plugin_data', $options );
239
  }
240
 
241
+ static public function reset( $name ) {
242
+ $options = get_option( 'ecwid_plugin_data' );
243
+
244
+ if ( !is_array( $options ) || !array_key_exists($name, $options)) {
245
+ return;
246
+ }
247
+
248
+ unset($options[$name]);
249
+
250
+ update_option( 'ecwid_plugin_data', $options );
251
+
252
+ }
253
+
254
  static public function http_api_transports($transports)
255
  {
256
  if (self::$http_use_streams) {
lib/ecwid_product_api.php CHANGED
@@ -91,7 +91,7 @@ class EcwidProductApi {
91
 
92
  $result = $this->process_request($api_url);
93
  EcwidPlatform::store_in_products_cache($api_url, $result);
94
- }
95
 
96
  return $result;
97
  }
@@ -107,7 +107,7 @@ class EcwidProductApi {
107
 
108
  $result = $this->process_request($api_url);
109
  EcwidPlatform::store_in_products_cache($api_url, $result);
110
- }
111
 
112
  return $result;
113
  }
@@ -123,7 +123,7 @@ class EcwidProductApi {
123
 
124
  $result = $this->process_request($api_url);
125
  EcwidPlatform::store_in_products_cache($api_url, $result);
126
- }
127
 
128
  return $result;
129
  }
@@ -144,7 +144,7 @@ class EcwidProductApi {
144
  }
145
 
146
  return $result;
147
- }
148
 
149
  function get_batch_request($params) {
150
 
@@ -190,7 +190,7 @@ class EcwidProductApi {
190
 
191
  $data = EcwidPlatform::get_from_products_cache($api_url);
192
  if (!$data) {
193
- $data = $this->process_request($api_url);
194
  EcwidPlatform::store_in_products_cache($api_url, $data);
195
  }
196
 
91
 
92
  $result = $this->process_request($api_url);
93
  EcwidPlatform::store_in_products_cache($api_url, $result);
94
+ }
95
 
96
  return $result;
97
  }
107
 
108
  $result = $this->process_request($api_url);
109
  EcwidPlatform::store_in_products_cache($api_url, $result);
110
+ }
111
 
112
  return $result;
113
  }
123
 
124
  $result = $this->process_request($api_url);
125
  EcwidPlatform::store_in_products_cache($api_url, $result);
126
+ }
127
 
128
  return $result;
129
  }
144
  }
145
 
146
  return $result;
147
+ }
148
 
149
  function get_batch_request($params) {
150
 
190
 
191
  $data = EcwidPlatform::get_from_products_cache($api_url);
192
  if (!$data) {
193
+ $data = $this->process_request($api_url);
194
  EcwidPlatform::store_in_products_cache($api_url, $data);
195
  }
196
 
lib/ecwid_requests.php CHANGED
@@ -352,6 +352,8 @@ class Ecwid_HTTP_Get_Fopen extends Ecwid_HTTP_Get {
352
  $result['message'] = $match[2];
353
  }
354
 
 
 
355
  $colon_pos = strpos($item, ':');
356
 
357
  if (!$colon_pos) continue;
352
  $result['message'] = $match[2];
353
  }
354
 
355
+ if (!is_string($item)) continue;
356
+
357
  $colon_pos = strpos($item, ':');
358
 
359
  if (!$colon_pos) continue;
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.7
6
- Stable tag: 5.2
7
 
8
  Powerful, easy to use ecommerce shopping cart. Bank level PCI DSS Level 1 security. iPhone & Android apps. Superb support. Free plan available.
9
 
@@ -149,6 +149,13 @@ You can use Ecwid’s built-in import tools to copy your store products from any
149
  * [Ecwid eCommerce Forums](https://www.ecwid.com/forums/forumdisplay.php?f=19)
150
 
151
  == Changelog ==
 
 
 
 
 
 
 
152
  = 5.2 =
153
  - **Major improvement in the speed of loading storefront.** The plugin now renders ecommerce pages and loads store widgets much more quicker both for your visitors and search engines.
154
  - **SEO improvements for product and categories pages when SEO friendly URLs are enabled.** Now a special plain version of the product page content is generated and loaded in background along with a regular product/category page. This new version is formatted to provide product and category information in a clear and understandable format for crawl robots that cannot parse JavaScript — this makes your store indexable by other search engines besides Google (e.g. Yandex). This special version is not visible in a browser, so your customers will as usually get the full store version. Please do not forget to enable new SEO friendly clean URLs to get this working on your site.
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.7
6
+ Stable tag: 5.3
7
 
8
  Powerful, easy to use ecommerce shopping cart. Bank level PCI DSS Level 1 security. iPhone & Android apps. Superb support. Free plan available.
9
 
149
  * [Ecwid eCommerce Forums](https://www.ecwid.com/forums/forumdisplay.php?f=19)
150
 
151
  == Changelog ==
152
+ = 5.3 =
153
+ - **Fixes and improvements for the new clean URLs functionality.** The new clean URLs for your online store are now more stable and the product pages are more SEO friendly. The changes include: fix in the processing of non-latin characters in the product URLs; adjustment for the sharing metatags on the product pages (rel shortlink meta tags); fix for the store terms&conditions and signin links to make them work properly with the new clean URLs.
154
+ - **Fix for the Recently Viewed Product widget and the “Minimaze” theme.** The widget didn’t work well in this theme. Now you can use Recently Viewed Products with the Minimaze theme as well as with any other Wordpress theme.
155
+ - **Layout improvements and fixes for the “Ribosome”, “Edge” and “OptimizePress” Wordpress themes.** If you use one of those themes, you might notice minor layout issues in your e-commerce catalog or in the appearance of minicart widget. The troubles should be fixed now.
156
+ - **Fixed a “404 not found” issue, when Ecwid is used with the “Sublanguage” plugin.** If you noticed some of your pages respond with 404 errors when Sublanguage and Ecwid plugins are both activated, this update should fix that.
157
+ - **Improvements for the product pages SEO when Yoast plugin is used on the site.** If you have the new Ecwid clean URLs enabled in your shop and are using Yoast, this improvement should make meta tags and canonical tags work better on your site with the new URLs.
158
+
159
  = 5.2 =
160
  - **Major improvement in the speed of loading storefront.** The plugin now renders ecommerce pages and loads store widgets much more quicker both for your visitors and search engines.
161
  - **SEO improvements for product and categories pages when SEO friendly URLs are enabled.** Now a special plain version of the product page content is generated and loaded in background along with a regular product/category page. This new version is formatted to provide product and category information in a clear and understandable format for crawl robots that cannot parse JavaScript — this makes your store indexable by other search engines besides Google (e.g. Yandex). This special version is not visible in a browser, so your customers will as usually get the full store version. Please do not forget to enable new SEO friendly clean URLs to get this working on your site.
templates/admin-footer.php CHANGED
@@ -1,23 +1,26 @@
1
  <div class="ecwid-admin-footer">
 
2
  <div class="ecwid-admin-footer-block ecwid-app-badges-block">
3
  <h4 class="ecwid-admin-footer-title"><?php _e('Manage Store on iPhone, iPad or Android', 'ecwid-shopping-cart'); ?></h4>
4
  <div class="ecwid-admin-footer-text">
5
  <a target="_blank" id="ecwid-get-mobile-app" href="admin.php?page=ecwid-admin-mobile">
6
- <?php _e( 'Get Ecwid mobile app', 'ecwid-shopping-cart' ); ?>
 
7
  </a>
8
  </div>
9
  </div>
10
  <div class="ecwid-admin-footer-block">
11
  <h4 class="ecwid-admin-footer-title"><?php _e('Questions?', 'ecwid-shopping-cart'); ?></h4>
12
  <div class="ecwid-admin-footer-text">
13
- <?php _e('<a href="admin.php?page=ecwid-help">Read FAQ or contact support</a>', 'ecwid-shopping-cart'); ?>
14
  </div>
15
  </div>
 
16
  <?php if (@$show_reconnect): ?>
17
  <div class="ecwid-admin-footer-block">
18
- <h4 class="ecwid-admin-footer-title"><?php _e('Want to connect another Ecwid store?', 'ecwid-shopping-cart'); ?></h4>
19
  <div class="ecwid-admin-footer-text">
20
- <?php echo sprintf(__('<a %s>Reconnect</a>', 'ecwid-shopping-cart'), 'href="admin.php?page=ecwid&reconnect"'); ?>
21
  </div>
22
  </div>
23
  <?php endif; ?>
1
  <div class="ecwid-admin-footer">
2
+ <?php if ( !Ecwid_Config::is_wl() ): ?>
3
  <div class="ecwid-admin-footer-block ecwid-app-badges-block">
4
  <h4 class="ecwid-admin-footer-title"><?php _e('Manage Store on iPhone, iPad or Android', 'ecwid-shopping-cart'); ?></h4>
5
  <div class="ecwid-admin-footer-text">
6
  <a target="_blank" id="ecwid-get-mobile-app" href="admin.php?page=ecwid-admin-mobile">
7
+ <?php printf( __( 'Get %s mobile app', 'ecwid-shopping-cart' ), Ecwid_Config::get_brand() ); ?>
8
+
9
  </a>
10
  </div>
11
  </div>
12
  <div class="ecwid-admin-footer-block">
13
  <h4 class="ecwid-admin-footer-title"><?php _e('Questions?', 'ecwid-shopping-cart'); ?></h4>
14
  <div class="ecwid-admin-footer-text">
15
+ <?php _e('<a href="admin.php?page=' . Ecwid_Admin::ADMIN_SLUG . '-help">Read FAQ or contact support</a>', 'ecwid-shopping-cart'); ?>
16
  </div>
17
  </div>
18
+ <?php endif; ?>
19
  <?php if (@$show_reconnect): ?>
20
  <div class="ecwid-admin-footer-block">
21
+ <h4 class="ecwid-admin-footer-title"><?php printf( __('Want to connect another %s store?', 'ecwid-shopping-cart'), Ecwid_Config::get_brand() ); ?></h4>
22
  <div class="ecwid-admin-footer-text">
23
+ <?php echo sprintf(__('<a %s>Reconnect</a>', 'ecwid-shopping-cart'), 'href="' . Ecwid_Admin::get_dashboard_url() . '&reconnect"'); ?>
24
  </div>
25
  </div>
26
  <?php endif; ?>
templates/advanced-settings.php CHANGED
@@ -1,4 +1,4 @@
1
- <h2><?php _e('Ecwid Shopping Cart — Advanced settings', 'ecwid-shopping-cart'); ?></h2>
2
 
3
  <div class="wrap">
4
  <form class="pure-form pure-form-aligned ecwid-settings advanced-settings" method="POST" action="options.php">
@@ -45,6 +45,8 @@
45
  </div>
46
  </div>
47
  </div>
 
 
48
  <?php endif; ?>
49
 
50
 
@@ -97,23 +99,23 @@
97
  </label>
98
 
99
  <div class="note">
100
- <?php _e('Single Sign-On allows your customers to have a single login for your WordPress site and your Ecwid store. When someone logs in to your site, they will automatically be logged in to their customer account in your store as well with no need to enter their email/password again.', 'ecwid-shopping-cart'); ?>
101
  </div>
102
  <?php if (!ecwid_is_paid_account()): ?>
103
  <div class="upgrade-note">
104
  <a
105
  class="button ecwid-button button-green" target="_blank"
106
- href="admin.php?page=ecwid&ecwid_page=<?php echo urlencode(ecwid_get_admin_iframe_upgrade_page()); ?>">
107
  <?php _e( 'Upgrade to get this feature', 'ecwid-shopping-cart' ); ?>
108
  </a>
109
  <div class="note grayed-links">
110
- <?php echo sprintf(__('This feature is available on the Ecwid\'s Venture plan and above', 'ecwid-shopping-cart'), ''); ?>
111
  </div>
112
  </div>
113
  <?php endif; ?>
114
  <?php if ( !$is_sso_enabled && ecwid_is_paid_account() && !get_option('ecwid_sso_secret_key') && !$has_create_customers_scope): ?>
115
  <div class="note">
116
- <?php echo sprintf(__('To allow Ecwid automatically log in customers to your store, please provide it with a permission to use the customer data in the store. <a %s>Please use this link to do that</a>', 'ecwid-shopping-cart'), 'href="' . $reconnect_link . '"'); ?>
117
  </div>
118
  <?php endif; ?>
119
 
@@ -145,10 +147,10 @@
145
  </label>
146
 
147
  <div class="note">
148
- <?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'); ?>
149
  </div>
150
  <div class="note grayed-links">
151
- <?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') . '"'); ?>
152
  </div>
153
  </div>
154
  <?php endif; ?>
@@ -175,7 +177,7 @@
175
  </label>
176
 
177
  <div class="note">
178
- <?php _e( 'Ecwid stores your products data in a secure cloud storage. The product pages are displayed on the fly when a customer browses your store. So, basically, the products are not stored on the site, that\'s why the site search doesn\'t find product pages while looking through site pages and posts. This option enables a local storage mode: the products will be stored both in the cloud and on your site. The site search results will list product pages as well as regular pages/posts of your site.', 'ecwid-shopping-cart' ); ?>
179
  </div>
180
  </div>
181
  </div>
1
+ <h2><?php printf( __( '%s Shopping Cart — Advanced settings', 'ecwid-shopping-cart' ), Ecwid_Config::get_brand() ); ?></h2>
2
 
3
  <div class="wrap">
4
  <form class="pure-form pure-form-aligned ecwid-settings advanced-settings" method="POST" action="options.php">
45
  </div>
46
  </div>
47
  </div>
48
+
49
+ <hr />
50
  <?php endif; ?>
51
 
52
 
99
  </label>
100
 
101
  <div class="note">
102
+ <?php printf( __( 'Single Sign-On allows your customers to have a single login for your WordPress site and your %s store. When someone logs in to your site, they will automatically be logged in to their customer account in your store as well with no need to enter their email/password again.', 'ecwid-shopping-cart'), Ecwid_Config::get_brand() ); ?>
103
  </div>
104
  <?php if (!ecwid_is_paid_account()): ?>
105
  <div class="upgrade-note">
106
  <a
107
  class="button ecwid-button button-green" target="_blank"
108
+ href="<?php echo Ecwid_Admin::get_dashboard_url(); ?>=<?php echo urlencode(ecwid_get_admin_iframe_upgrade_page()); ?>">
109
  <?php _e( 'Upgrade to get this feature', 'ecwid-shopping-cart' ); ?>
110
  </a>
111
  <div class="note grayed-links">
112
+ <?php printf( __( 'Please subscribe to a paid plan to get this feature.', 'ecwid-shopping-cart'), Ecwid_Config::get_brand() ); ?>
113
  </div>
114
  </div>
115
  <?php endif; ?>
116
  <?php if ( !$is_sso_enabled && ecwid_is_paid_account() && !get_option('ecwid_sso_secret_key') && !$has_create_customers_scope): ?>
117
  <div class="note">
118
+ <?php printf( __( 'To allow %s automatically log in customers to your store, please provide it with a permission to use the customer data in the store. <a %s>Please use this link to do that</a>', 'ecwid-shopping-cart'), Ecwid_Config::get_brand(), 'href="' . $reconnect_link . '"'); ?>
119
  </div>
120
  <?php endif; ?>
121
 
147
  </label>
148
 
149
  <div class="note">
150
+ <?php printf( __( 'Automatic adjustment of your store design to your WordPress theme. Whatever WordPress theme you use, %s will detect predominant colors and font and use them in your product catalog.', 'ecwid-shopping-cart'), Ecwid_Config::get_brand() ); ?>
151
  </div>
152
  <div class="note grayed-links">
153
+ <?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="' . esc_html__( Ecwid_Config::get_contact_us_url(), 'ecwid-shopping-cart' ) . '"' ); ?>
154
  </div>
155
  </div>
156
  <?php endif; ?>
177
  </label>
178
 
179
  <div class="note">
180
+ <?php echo sprintf( __( '%s stores your products data in a secure cloud storage. The product pages are displayed on the fly when a customer browses your store. So, basically, the products are not stored on the site, that\'s why the site search doesn\'t find product pages while looking through site pages and posts. This option enables a local storage mode: the products will be stored both in the cloud and on your site. The site search results will list product pages as well as regular pages/posts of your site.', 'ecwid-shopping-cart' ), Ecwid_Config::get_brand() ); ?>
181
  </div>
182
  </div>
183
  </div>
templates/appearance-settings.php CHANGED
@@ -1,4 +1,4 @@
1
- <h2><?php _e('Ecwid Shopping Cart — Appearance settings', 'ecwid-shopping-cart'); ?></h2>
2
 
3
  <div class="wrap">
4
  <form class="pure-form pure-form-aligned ecwid-settings appearance-settings" method="POST" action="options.php">
@@ -52,7 +52,7 @@
52
  </label>
53
  </div>
54
  <div class="note">
55
- <?php echo sprintf(__('Or you can add vertical categories to your website\'s toolbar using <a href="%s">WordPress native widgets</a>', 'ecwid-shopping-cart'), 'widgets.php?from-ecwid-appearance'); ?>
56
  </div>
57
  </div>
58
 
@@ -168,7 +168,7 @@
168
  />
169
  </div>
170
  </div>
171
- <p class="note pb-note"><?php _e('Here you can control how many products will be displayed per page. These options define maximum values. If there is not enough space to show all product columns, Ecwid will adapt the number of columns to hold all products.', 'ecwid-shopping-cart'); ?></p>
172
  </div>
173
 
174
  <hr />
1
+ <h2><?php printf( __( '%s Shopping Cart — Appearance settings', 'ecwid-shopping-cart'), Ecwid_Config::get_brand() ); ?></h2>
2
 
3
  <div class="wrap">
4
  <form class="pure-form pure-form-aligned ecwid-settings appearance-settings" method="POST" action="options.php">
52
  </label>
53
  </div>
54
  <div class="note">
55
+ <?php echo sprintf(__('Or you can add vertical categories to your website\'s toolbar using <a href="%s">WordPress native widgets</a>', 'ecwid-shopping-cart'), 'widgets.php?from-ec-store=appearance'); ?>
56
  </div>
57
  </div>
58
 
168
  />
169
  </div>
170
  </div>
171
+ <p class="note pb-note"><?php printf( __( 'Here you can control how many products will be displayed per page. These options define maximum values. If there is not enough space to show all product columns, %s will adapt the number of columns to hold all products.', 'ecwid-shopping-cart'), Ecwid_Config::get_brand() ); ?></p>
172
  </div>
173
 
174
  <hr />
templates/connect.php CHANGED
@@ -2,7 +2,7 @@
2
  <div class="box">
3
  <div class="head"><?php ecwid_embed_svg('ecwid_logo_symbol_RGB');?>
4
  <h3>
5
- <?php _e( 'Ecwid Shopping Cart', 'ecwid-shopping-cart' ); ?>
6
  </h3>
7
  </div>
8
  <div class="greeting-image">
@@ -17,26 +17,26 @@
17
  <input type="text" id="ecwid-store-id" placeholder="<?php _e('Enter your Store ID', 'ecwid-shopping-cart'); ?>" />
18
  </div>
19
  <div class="connect-button">
20
- <a href="admin-post.php?action=ecwid_connect" class="with-oauth"><?php _e( 'Connect', 'ecwid-shopping-cart' ); ?></a>
21
- <a id="ecwid-connect-no-oauth" href="admin-post.php?action=ecwid_connect" class="no-oauth" style="white-space: nowrap; width:auto"><?php _e( 'Save and connect', 'ecwid-shopping-cart' ); ?></a>
22
  </div>
23
 
24
  <?php if (!$connection_error): ?>
25
 
26
  <div class="note initial with-oauth">
27
- <?php _e( 'To sell using Ecwid, you must allow WordPress to access the Ecwid plugin. The connect button will direct you to your Ecwid account where you can provide permission.', 'ecwid-shopping-cart' ); ?>
28
  </div>
29
 
30
  <?php endif; ?>
31
 
32
  <h4 class="no-oauth where-to-find-store-id" style="text-align: center"><?php _e('Where to find your Store ID:', 'ecwid-shopping-cart'); ?></h4>
33
  <div class="note no-oauth">
34
- <?php echo sprintf( __('Store ID is a unique identifier of your Ecwid account. You can find it in your Ecwid control panel: open the <a %s>Dashboard page</a> and find the "<b>Store ID: NNNNNNN</b>" text, where <b>NNNNNNN</b> is your Store&nbsp;ID.', 'ecwid-shopping-cart'), 'href="https://my.ecwid.com/cp/CP.html?source=wporg#dashboard" target="_blank"'); ?>
35
  </div>
36
 
37
  <div class="create-account-link">
38
  <a target="_blank" href="<?php echo esc_attr(ecwid_get_register_link()); ?>">
39
- <?php _e( "Don't have an Ecwid account? Create one now.", 'ecwid-shopping-cart' ); ?>
40
  </a>
41
  </div>
42
  </div>
2
  <div class="box">
3
  <div class="head"><?php ecwid_embed_svg('ecwid_logo_symbol_RGB');?>
4
  <h3>
5
+ <?php printf( __( '%s Shopping Cart', 'ecwid-shopping-cart' ), Ecwid_Config::get_brand() ); ?>
6
  </h3>
7
  </div>
8
  <div class="greeting-image">
17
  <input type="text" id="ecwid-store-id" placeholder="<?php _e('Enter your Store ID', 'ecwid-shopping-cart'); ?>" />
18
  </div>
19
  <div class="connect-button">
20
+ <a href="admin-post.php?action=ec_connect" class="with-oauth"><?php _e( 'Connect', 'ecwid-shopping-cart' ); ?></a>
21
+ <a id="ecwid-connect-no-oauth" href="admin-post.php?action=ec_connect" class="no-oauth" style="white-space: nowrap; width:auto"><?php _e( 'Save and connect', 'ecwid-shopping-cart' ); ?></a>
22
  </div>
23
 
24
  <?php if (!$connection_error): ?>
25
 
26
  <div class="note initial with-oauth">
27
+ <?php printf( __( 'To sell using %1$s, you must allow WordPress to access the %1$s plugin. The connect button will direct you to your %1$s account where you can provide permission.', 'ecwid-shopping-cart' ), Ecwid_Config::get_brand() ); ?>
28
  </div>
29
 
30
  <?php endif; ?>
31
 
32
  <h4 class="no-oauth where-to-find-store-id" style="text-align: center"><?php _e('Where to find your Store ID:', 'ecwid-shopping-cart'); ?></h4>
33
  <div class="note no-oauth">
34
+ <?php printf( __( 'Store ID is a unique identifier of your %1$s account. You can find it in your %1$s control panel: open the <a %2$s>Dashboard page</a> and find the "<b>Store ID: NNNNNNN</b>" text, where <b>NNNNNNN</b> is your Store&nbsp;ID.', 'ecwid-shopping-cart'), Ecwid_Config::get_brand(), 'href="https://my.ecwid.com/cp/CP.html?source=wporg#dashboard" target="_blank"' ); ?>
35
  </div>
36
 
37
  <div class="create-account-link">
38
  <a target="_blank" href="<?php echo esc_attr(ecwid_get_register_link()); ?>">
39
+ <?php printf( __( "Don't have an %s account? Create one now.", 'ecwid-shopping-cart' ), Ecwid_Config::get_brand() ); ?>
40
  </a>
41
  </div>
42
  </div>
templates/dashboard.php CHANGED
@@ -1,21 +1,9 @@
1
- <?php
2
- /*
3
- $post_result = wp_remote_post('https://my.ecwid.com/api/oauth/token');
4
- if (is_object($post_result) && @$post_result->get_error_message()) {
5
- $message = $post_result->get_error_message();
6
- }
7
- if ($message) {
8
- Ecwid_Message_Manager::show_message('no_oauth', array('message' => Ecwid_Message_Manager::get_oauth_message($message)));
9
- } else {
10
- }
11
- */
12
- ?>
13
  <div class="wrap ecwid-admin ecwid-dashboard">
14
  <div class="box">
15
  <div class="head">
16
  <?php ecwid_embed_svg('ecwid_logo_symbol_RGB');?>
17
  <h3>
18
- <?php _e( 'Ecwid Shopping Cart', 'ecwid-shopping-cart' ); ?>
19
  </h3>
20
  <div class="store-id drop-down">
21
  <span>
@@ -39,7 +27,7 @@ if ($message) {
39
  <?php _e('Congratulations!', 'ecwid-shopping-cart'); ?>
40
  </div>
41
  <div class="greeting-message mobile-br">
42
- <?php _e( 'Your Ecwid store is now connected<br /> to your WordPress website', 'ecwid-shopping-cart' ); ?>
43
  </div>
44
  <?php else: ?>
45
 
@@ -47,7 +35,7 @@ if ($message) {
47
  <?php _e('Greetings!', 'ecwid-shopping-cart'); ?>
48
  </div>
49
  <div class="greeting-message mobile-br">
50
- <?php _e( 'Your Ecwid store is connected<br /> to your WordPress website', 'ecwid-shopping-cart' ); ?>
51
  </div>
52
  <?php endif; ?>
53
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <div class="wrap ecwid-admin ecwid-dashboard">
2
  <div class="box">
3
  <div class="head">
4
  <?php ecwid_embed_svg('ecwid_logo_symbol_RGB');?>
5
  <h3>
6
+ <?php printf( __( '%s Shopping Cart', 'ecwid-shopping-cart' ), Ecwid_Config::get_brand() ); ?>
7
  </h3>
8
  <div class="store-id drop-down">
9
  <span>
27
  <?php _e('Congratulations!', 'ecwid-shopping-cart'); ?>
28
  </div>
29
  <div class="greeting-message mobile-br">
30
+ <?php printf( __( 'Your %s store is now connected<br /> to your WordPress website', 'ecwid-shopping-cart' ), Ecwid_Config::get_brand() ); ?>
31
  </div>
32
  <?php else: ?>
33
 
35
  <?php _e('Greetings!', 'ecwid-shopping-cart'); ?>
36
  </div>
37
  <div class="greeting-message mobile-br">
38
+ <?php printf( __( 'Your %s store is connected<br /> to your WordPress website', 'ecwid-shopping-cart' ), Ecwid_Config::get_brand() ); ?>
39
  </div>
40
  <?php endif; ?>
41
 
templates/help.php CHANGED
@@ -202,7 +202,7 @@
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>
202
  <ul>
203
  <li>
204
  <div class="block-help-item">
205
+ <a href="<?php esc_html_e( Ecwid_Config::get_contact_us_url(), '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>
templates/landing.php CHANGED
@@ -5,14 +5,14 @@
5
  <div class="ecwid-landing <?php echo $register ? 'register' : 'connect'; echo $connection_error ? ' conn-error': ''; ?>">
6
  <div class="ecwid-thank">
7
  <h1>
8
- <?php _e('Welcome to Ecwid!', 'ecwid-shopping-cart'); ?>
9
- <span><?php _e('Thank you for choosing Ecwid to build your online store. The first step to sell successfully online is to setup your store! Let’s get started and add a store to your website in a few simple steps.', 'ecwid-shopping-cart'); ?></span>
10
  </h1>
11
 
12
  <div class="ecwid-button">
13
 
14
  <button class="create-store-button btn btn-primary btn-large">
15
- <?php _e('Create Free Ecwid Store', 'ecwid-shopping-cart'); ?>
16
  </button>
17
  <button class="create-store-loading btn btn-primary btn-large btn-loading">
18
  <div class="loader">
@@ -43,14 +43,14 @@
43
  <?php _e('Free registration, No credit card required', 'ecwid-shopping-cart'); ?>
44
  </div>
45
  <div class="button-description-mobile on-error ecwid-connection-error">
46
- <?php _e( 'Connection error: please click the button again and give permissions for this plugin<br /> to show your Ecwid store on this site.', 'ecwid-shopping-cart' ); ?>
47
  </div>
48
  <div class="create-store-have-account ecwid-button-description">
49
- <span class="create-store-have-account-question"><?php _e('Already have Ecwid account?', 'ecwid-shopping-cart'); ?></span>
50
- <a class="create-store-have-account-link" href="admin-post.php?action=ecwid_connect"><?php _e('Connect your store to Wordpress site', 'ecwid-shopping-cart'); ?></a>
51
  </div>
52
  <div class="button-description-mobile">
53
- <?php _e('You will be asked to log in to your Ecwid Control Panel<br />and give permissions to show your store on this site', 'ecwid-shopping-cart'); ?>
54
  </div>
55
  <div class="button-description-mobile">
56
  <h3><?php _e('Get ready to sell online', 'ecwid-shopping-cart'); ?></h3>
@@ -64,9 +64,9 @@
64
  <div class="ecwid-description-inner">
65
  <div class="ecwid-description-image"><img src="<?php echo ECWID_PLUGIN_URL; ?>images/landing/ecwid-description-image.jpg"></div>
66
  <div class="ecwid-description-text">
67
- <h2><?php _e('Sell Everywhere<br>with your Ecwid store', 'ecwid-shopping-cart'); ?></h2>
68
  <p><?php _e('Start selling on your WordPress site. Then mirror your shop on your Facebook page, blog and marketplaces like Google Shopping, Yahoo and Shopping.com.', 'ecwid-shopping-cart'); ?></p>
69
- <p><?php _e('Use Ecwid\'s mobile-POS to swipe credit cards and sell on the go. Your orders and inventory are always synchronized with your online store.', 'ecwid-shopping-cart'); ?></p>
70
  </div>
71
  </div>
72
  </div>
@@ -80,7 +80,7 @@
80
  </div>
81
  <div class="ecwid-features-top-item-text">
82
  <h3><?php _e('Compatible with your theme', 'ecwid-shopping-cart'); ?></h3>
83
- <p><?php echo sprintf(__('Ecwid is compatible with your<br>“%s” WordPress theme<br>out of the box.', 'ecwid-shopping-cart'), ecwid_get_theme_name()); ?></p>
84
  </div>
85
  </div>
86
  <div class="ecwid-features-top-item">
@@ -129,7 +129,7 @@
129
  </h2>
130
  <div class="ecwid-button">
131
  <button class="create-store-button btn btn-primary btn-large">
132
- <?php _e('Create Free Ecwid Store', 'ecwid-shopping-cart'); ?>
133
  </button>
134
  <button class="create-store-loading btn btn-primary btn-large btn-loading">
135
  <div class="loader">
@@ -157,8 +157,8 @@
157
  </div>
158
 
159
  <div class="ecwid-button-description">
160
- <?php _e('Already have Ecwid account?', 'ecwid-shopping-cart'); ?>
161
- <a href="admin-post.php?action=ecwid_connect"><?php _e('Connect your store to this site', 'ecwid-shopping-cart'); ?></a>
162
  </div>
163
  </div>
164
  </div>
5
  <div class="ecwid-landing <?php echo $register ? 'register' : 'connect'; echo $connection_error ? ' conn-error': ''; ?>">
6
  <div class="ecwid-thank">
7
  <h1>
8
+ <?php printf( __( 'Welcome to %s!', 'ecwid-shopping-cart'), Ecwid_Config::get_brand() ); ?>
9
+ <span><?php printf( __( 'Thank you for choosing %s to build your online store. The first step to sell successfully online is to setup your store! Let’s get started and add a store to your website in a few simple steps.', 'ecwid-shopping-cart'), Ecwid_Config::get_brand() ); ?></span>
10
  </h1>
11
 
12
  <div class="ecwid-button">
13
 
14
  <button class="create-store-button btn btn-primary btn-large">
15
+ <?php printf( __( 'Create Free %s Store', 'ecwid-shopping-cart'), Ecwid_Config::get_brand() ); ?>
16
  </button>
17
  <button class="create-store-loading btn btn-primary btn-large btn-loading">
18
  <div class="loader">
43
  <?php _e('Free registration, No credit card required', 'ecwid-shopping-cart'); ?>
44
  </div>
45
  <div class="button-description-mobile on-error ecwid-connection-error">
46
+ <?php printf( __( 'Connection error: please click the button again and give permissions for this plugin<br /> to show your %s store on this site.', 'ecwid-shopping-cart' ), Ecwid_Config::get_brand() ); ?>
47
  </div>
48
  <div class="create-store-have-account ecwid-button-description">
49
+ <span class="create-store-have-account-question"><?php printf( __( 'Already have %s account?', 'ecwid-shopping-cart'), Ecwid_Config::get_brand() ); ?></span>
50
+ <a class="create-store-have-account-link" href="admin-post.php?action=ec_connect"><?php _e('Connect your store to Wordpress site', 'ecwid-shopping-cart'); ?></a>
51
  </div>
52
  <div class="button-description-mobile">
53
+ <?php printf( __( 'You will be asked to log in to your %s Control Panel<br />and give permissions to show your store on this site', 'ecwid-shopping-cart'), Ecwid_Config::get_brand() ); ?>
54
  </div>
55
  <div class="button-description-mobile">
56
  <h3><?php _e('Get ready to sell online', 'ecwid-shopping-cart'); ?></h3>
64
  <div class="ecwid-description-inner">
65
  <div class="ecwid-description-image"><img src="<?php echo ECWID_PLUGIN_URL; ?>images/landing/ecwid-description-image.jpg"></div>
66
  <div class="ecwid-description-text">
67
+ <h2><?php printf( __( 'Sell Everywhere<br>with your %s store', 'ecwid-shopping-cart'), Ecwid_Config::get_brand() ); ?></h2>
68
  <p><?php _e('Start selling on your WordPress site. Then mirror your shop on your Facebook page, blog and marketplaces like Google Shopping, Yahoo and Shopping.com.', 'ecwid-shopping-cart'); ?></p>
69
+ <p><?php printf( __( 'Use %s\'s mobile-POS to swipe credit cards and sell on the go. Your orders and inventory are always synchronized with your online store.', 'ecwid-shopping-cart'), Ecwid_Config::get_brand() ); ?></p>
70
  </div>
71
  </div>
72
  </div>
80
  </div>
81
  <div class="ecwid-features-top-item-text">
82
  <h3><?php _e('Compatible with your theme', 'ecwid-shopping-cart'); ?></h3>
83
+ <p><?php printf( __( '%s is compatible with your<br>“%s” WordPress theme<br>out of the box.', 'ecwid-shopping-cart' ), Ecwid_Config::get_brand(), ecwid_get_theme_name() ); ?></p>
84
  </div>
85
  </div>
86
  <div class="ecwid-features-top-item">
129
  </h2>
130
  <div class="ecwid-button">
131
  <button class="create-store-button btn btn-primary btn-large">
132
+ <?php printf( __( 'Create Free %s Store', 'ecwid-shopping-cart'), Ecwid_Config::get_brand() ); ?>
133
  </button>
134
  <button class="create-store-loading btn btn-primary btn-large btn-loading">
135
  <div class="loader">
157
  </div>
158
 
159
  <div class="ecwid-button-description">
160
+ <?php printf( __( 'Already have %s account?', 'ecwid-shopping-cart'), Ecwid_Config::get_brand() ); ?>
161
+ <a href="admin-post.php?action=ec_connect"><?php _e('Connect your store to this site', 'ecwid-shopping-cart'); ?></a>
162
  </div>
163
  </div>
164
  </div>
templates/landing_old.php CHANGED
@@ -45,7 +45,7 @@
45
  <a target="_blank" href="<?php echo esc_attr(ecwid_get_register_link()); ?>" class="button button--blue on-register" onclick="javascript:switch_to_connect();">
46
  <?php _e('Create Ecwid store', 'ecwid-shopping-cart'); ?>
47
  </a>
48
- <a class="button button--green on-connect" href="admin-post.php?action=ecwid_connect">
49
  <?php _e('Connect your store', 'ecwid-shopping-cart'); ?>
50
  </a>
51
  <div class="button-description-mobile on-register">
@@ -59,7 +59,7 @@
59
  </div>
60
  <div class="ecwid-button-description on-register">
61
  <?php _e('Already have Ecwid account?', 'ecwid-shopping-cart'); ?>
62
- <a href="admin-post.php?action=ecwid_connect"><?php _e('Connect your store to Wordpress site', 'ecwid-shopping-cart'); ?></a>
63
  </div>
64
  <div class="ecwid-button-description on-connect">
65
  <?php _e('Don\'t have an Ecwid account?', 'ecwid-shopping-cart'); ?>
@@ -150,12 +150,12 @@
150
  <a target="_blank" href="<?php echo esc_attr(ecwid_get_register_link()); ?>" class="button button--blue on-register" onclick="javascript:switch_to_connect();>
151
  <?php _e('Get Started, Create Ecwid Account', 'ecwid-shopping-cart'); ?>
152
  </a>
153
- <a class="button button--green on-connect" href="admin-post.php?action=ecwid_connect">
154
  <?php _e('Connect your store', 'ecwid-shopping-cart'); ?>
155
  </a>
156
  <div class="ecwid-button-description on-register">
157
  <?php _e('Already have Ecwid account?', 'ecwid-shopping-cart'); ?>
158
- <a href="admin-post.php?action=ecwid_connect""><?php _e('Connect your store to this site', 'ecwid-shopping-cart'); ?></a>
159
  </div>
160
  <div class="ecwid-button-description on-connect">
161
  <?php _e('Don\'t have an Ecwid account?', 'ecwid-shopping-cart'); ?>
45
  <a target="_blank" href="<?php echo esc_attr(ecwid_get_register_link()); ?>" class="button button--blue on-register" onclick="javascript:switch_to_connect();">
46
  <?php _e('Create Ecwid store', 'ecwid-shopping-cart'); ?>
47
  </a>
48
+ <a class="button button--green on-connect" href="admin-post.php?action=ec_connect">
49
  <?php _e('Connect your store', 'ecwid-shopping-cart'); ?>
50
  </a>
51
  <div class="button-description-mobile on-register">
59
  </div>
60
  <div class="ecwid-button-description on-register">
61
  <?php _e('Already have Ecwid account?', 'ecwid-shopping-cart'); ?>
62
+ <a href="admin-post.php?action=ec_connect"><?php _e('Connect your store to Wordpress site', 'ecwid-shopping-cart'); ?></a>
63
  </div>
64
  <div class="ecwid-button-description on-connect">
65
  <?php _e('Don\'t have an Ecwid account?', 'ecwid-shopping-cart'); ?>
150
  <a target="_blank" href="<?php echo esc_attr(ecwid_get_register_link()); ?>" class="button button--blue on-register" onclick="javascript:switch_to_connect();>
151
  <?php _e('Get Started, Create Ecwid Account', 'ecwid-shopping-cart'); ?>
152
  </a>
153
+ <a class="button button--green on-connect" href="admin-post.php?action=ec_connect">
154
  <?php _e('Connect your store', 'ecwid-shopping-cart'); ?>
155
  </a>
156
  <div class="ecwid-button-description on-register">
157
  <?php _e('Already have Ecwid account?', 'ecwid-shopping-cart'); ?>
158
+ <a href="admin-post.php?action=ec_connect""><?php _e('Connect your store to this site', 'ecwid-shopping-cart'); ?></a>
159
  </div>
160
  <div class="ecwid-button-description on-connect">
161
  <?php _e('Don\'t have an Ecwid account?', 'ecwid-shopping-cart'); ?>
templates/reconnect-sso.php CHANGED
@@ -2,7 +2,7 @@
2
  <div class="box">
3
  <div class="head"><?php ecwid_embed_svg('ecwid_logo_symbol_RGB');?>
4
  <h3>
5
- <?php _e( 'Ecwid Shopping Cart', 'ecwid-shopping-cart' ); ?>
6
  </h3>
7
  </div>
8
 
@@ -11,7 +11,7 @@
11
  <h4><?php _e('Your store Control Panel. Right here in WordPress.', 'ecwid-shopping-cart'); ?></h4>
12
  <p class="note"><?php _e('Manage products, track sales, adjust settings - <nobr>All without</nobr> leaving this page.', 'ecwid-shopping-cart'); ?></p>
13
  <div class="connect-button">
14
- <a href="admin-post.php?action=ecwid_connect&reconnect"><?php _e( 'Re-connect to Enable Control Panel', 'ecwid-shopping-cart' ); ?></a>
15
  </div>
16
  </div>
17
 
2
  <div class="box">
3
  <div class="head"><?php ecwid_embed_svg('ecwid_logo_symbol_RGB');?>
4
  <h3>
5
+ <?php printf( __( '%s Shopping Cart', 'ecwid-shopping-cart' ), Ecwid_Config::get_brand() ); ?>
6
  </h3>
7
  </div>
8
 
11
  <h4><?php _e('Your store Control Panel. Right here in WordPress.', 'ecwid-shopping-cart'); ?></h4>
12
  <p class="note"><?php _e('Manage products, track sales, adjust settings - <nobr>All without</nobr> leaving this page.', 'ecwid-shopping-cart'); ?></p>
13
  <div class="connect-button">
14
+ <a href="admin-post.php?action=ec_connect&reconnect"><?php _e( 'Re-connect to Enable Control Panel', 'ecwid-shopping-cart' ); ?></a>
15
  </div>
16
  </div>
17
 
templates/reconnect.php CHANGED
@@ -2,7 +2,7 @@
2
  <div class="box">
3
  <div class="head"><?php ecwid_embed_svg('ecwid_logo_symbol_RGB');?>
4
  <h3>
5
- <?php _e( 'Ecwid Shopping Cart', 'ecwid-shopping-cart' ); ?>
6
  </h3>
7
  </div>
8
  <div class="greeting-image">
@@ -20,7 +20,7 @@
20
  <?php endif; ?>
21
 
22
  <div class="connect-button">
23
- <a href="admin-post.php?action=ecwid_connect&reconnect"><?php _e( 'Connect', 'ecwid-shopping-cart' ); ?></a>
24
  </div>
25
 
26
  <?php if ($connection_error && $ecwid_oauth->get_error() == 'cancelled'): ?>
@@ -36,14 +36,14 @@
36
 
37
  <div class="note auth-error">
38
  <span>
39
- <?php _e( 'Looks like your site does not support remote POST requests that are required for Ecwid API to work. Please, contact your hosting provider to enable cURL.', 'ecwid-shopping-cart' ); ?>
40
  </span>
41
  </div>
42
 
43
  <?php else: ?>
44
 
45
  <div class="note">
46
- <?php _e( 'To sell using Ecwid, you must allow WordPress to access the Ecwid plugin. The connect button will direct you to your Ecwid account where you can provide permission.', 'ecwid-shopping-cart' ); ?>
47
  </div>
48
  <?php endif; ?>
49
  </div>
2
  <div class="box">
3
  <div class="head"><?php ecwid_embed_svg('ecwid_logo_symbol_RGB');?>
4
  <h3>
5
+ <?php printf( __( '%s Shopping Cart', 'ecwid-shopping-cart' ), Ecwid_Config::get_brand() ); ?>
6
  </h3>
7
  </div>
8
  <div class="greeting-image">
20
  <?php endif; ?>
21
 
22
  <div class="connect-button">
23
+ <a href="admin-post.php?action=ec_connect&reconnect"><?php _e( 'Connect', 'ecwid-shopping-cart' ); ?></a>
24
  </div>
25
 
26
  <?php if ($connection_error && $ecwid_oauth->get_error() == 'cancelled'): ?>
36
 
37
  <div class="note auth-error">
38
  <span>
39
+ <?php printf( __( 'Looks like your site does not support remote POST requests that are required for %s API to work. Please, contact your hosting provider to enable cURL.', 'ecwid-shopping-cart' ), Ecwid_Config::get_brand() ); ?>
40
  </span>
41
  </div>
42
 
43
  <?php else: ?>
44
 
45
  <div class="note">
46
+ <?php printf( __( 'To sell using %1$s, you must allow WordPress to access the %1$s plugin. The connect button will direct you to your %1$s account where you can provide permission.', 'ecwid-shopping-cart' ), Ecwid_Config::get_brand() ); ?>
47
  </div>
48
  <?php endif; ?>
49
  </div>
templates/store-popup.php CHANGED
@@ -70,7 +70,7 @@
70
  <div class="note">
71
  <?php echo sprintf(
72
  __('Additionally, you can add store controls to your website\'s toolbar using <a %s>WordPress native widgets</a>', 'ecwid-shopping-cart'),
73
- ' target="_blank" href="widgets.php?from-ecwid=' . (isset($_GET['post']) ? $_GET['post'] : 'new') . '"'
74
  );
75
  ?>
76
  </div>
@@ -142,7 +142,7 @@
142
  />
143
  </div>
144
  </div>
145
- <p class="note pb-note"><?php _e('Here you can control how many products will be displayed per page. These options define maximum values. If there is not enough space to show all product columns, Ecwid will adapt the number of columns to hold all products.', 'ecwid-shopping-cart'); ?></p>
146
  </div>
147
 
148
  <hr class="after-pb" />
@@ -233,7 +233,7 @@
233
  <div class="store-id"><?php _e('Demo store', 'ecwid-shopping-cart'); ?></div>
234
  <?php endif; ?>
235
  <div class="setting-link">
236
- <a target="_blank" href="admin.php?page=ecwid"><?php _e('Open store dashboard', 'ecwid-shopping-cart'); ?>
237
  </div>
238
  </div>
239
  <div class="media-toolbar-primary add-store">
70
  <div class="note">
71
  <?php echo sprintf(
72
  __('Additionally, you can add store controls to your website\'s toolbar using <a %s>WordPress native widgets</a>', 'ecwid-shopping-cart'),
73
+ ' target="_blank" href="widgets.php?from-ec-store=' . (isset($_GET['post']) ? $_GET['post'] : 'new') . '"'
74
  );
75
  ?>
76
  </div>
142
  />
143
  </div>
144
  </div>
145
+ <p class="note pb-note"><?php printf( __( 'Here you can control how many products will be displayed per page. These options define maximum values. If there is not enough space to show all product columns, %s will adapt the number of columns to hold all products.', 'ecwid-shopping-cart' ), Ecwid_Config::get_brand() ); ?></p>
146
  </div>
147
 
148
  <hr class="after-pb" />
233
  <div class="store-id"><?php _e('Demo store', 'ecwid-shopping-cart'); ?></div>
234
  <?php endif; ?>
235
  <div class="setting-link">
236
+ <a target="_blank" href="<?php echo Ecwid_Admin::get_dashboard_url(); ?>"><?php _e('Open store dashboard', 'ecwid-shopping-cart'); ?>
237
  </div>
238
  </div>
239
  <div class="media-toolbar-primary add-store">