Ecwid Ecommerce Shopping Cart - Version 2.5

Version Description

  • Extended compatibility with the "Responsive" WordPress theme. Ecwid plugin is by design compatible with any theme and automatically adapts itself to any layout and screen size. This makes your store looks good on any device your customers use. One of the most popular free themes for Wordpress -- Responsive -- is also famous for its responsive design. In this update, we adjusted our plugin to better integrate with Responsive theme and Ecwid stores now look a way better on WordPress sites with Responsive themes to provide better user experience on any device and to generate more sales. If you're thinking which WP theme to choose for your site, you should definitely try the "Responsive" theme with Ecwid.
  • Added compatibility with WordPress 4.0. WordPress 4.0 is just around the corner and we already prepared our plugin for it. We enhanced the plugin installation process to be compatible with the new plugins management coming with WordPress 4.0 and tested every plugin's function to make sure your stores are ready for the upcoming WordPress update.
  • Automatic store page recovery functionality. Some Ecwid users previously faced issues when they deleted or replaced the plugin's generated store page on their Wordpress sites. We added a smart mechanism to Ecwid plugin to automatically detect such situations and prevent any possible troubles connected with them. Now, it you decide to move your store from one page to another within your Wordpress site or temporary hide your store page, the plugin will detect that, find an alternative store page on your site (if any) and keep the links and all the store functionality working OK regardless of whether you currently have a new store page or not. So, whatever update you're making on your site pages, you can rest assured your Ecwid store works fine, be it the product browser, single product snippet or a sidebar widget.
  • Fixed broken link in single product widgets. We fixed a minor issue with broken links in single product widgets, that was reported to us recently. You can add a single product to any page of your site as usually by means of [ecwid_product] shortcode -- everything will work fine. All existing single product widget will continue working as well -- no actions is required from your side.
  • Fixed a few layout issues on the plugin's setting pages. During the recent updates, we were improving the plugin setting pages interfaces. This update brought a few more fixes to the plugin settings pages to make them more user-friendly.
  • Several fixes for old WordPress versions. WordPress is often updated with new features and bug fixes. Still, there are some merchants who use the old versions. While encouraging everyone to update their sites regularly, we want our plugin work great for all users. So, in this update, we added a few fixes addressing issues in the old Wordpress versions (2.8 - 3.1)
Download this release

Release Info

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

Code changes from version 2.4.3.2 to 2.5

css/themes/responsive-adjustments.css CHANGED
@@ -3,6 +3,10 @@ body.ecwid-shopping-cart #wrapper {
3
  padding: 0 47px 20px 47px;
4
  }
5
 
 
 
 
 
6
  body.ecwid-shopping-cart #content-full {
7
  margin-top: 55px;
8
  }
@@ -16,10 +20,6 @@ body.ecwid-shopping-cart h1.entry-title {
16
  font-size: 37px;
17
  margin-top: 16px;
18
  }
19
- .ecwid-shopping-cart .post-entry {
20
- position: relative;
21
- top: -4px;
22
- }
23
 
24
  html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-productBrowser-auth a,
25
  html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-minicart-mini-link,
@@ -49,11 +49,10 @@ html#ecwid_html body#ecwid_body #container .ecwid-categories-category {
49
  html#ecwid_html body#ecwid_body .ecwid-shopping-cart-minicart {
50
  position: absolute;
51
  top: 58px;
52
- right: 0px;
53
  display: inline-block;
 
54
  }
55
 
56
-
57
  html#ecwid_html body#ecwid_body .ecwid-shopping-cart-minicart div.ecwid-minicart-mini {
58
  width: 100px;
59
  text-align: right;
@@ -73,21 +72,17 @@ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-minicar
73
 
74
  /* Search */
75
 
76
- html#ecwid_html body#ecwid_body.ecwid-shopping-cart .search-cell.search-cell-opening input.ecwid-SearchPanel-field {
77
- width: 30px;
78
- }
79
 
80
- html#ecwid_html body#ecwid_body.ecwid-shopping-cart .search-cell.search-cell-open input.ecwid-SearchPanel-field {
81
- width: 180px;
82
- -webkit-transition: width 0.1s;
83
- transition: width 0.1s;
84
  }
85
 
86
  .ecwid-shopping-cart .ecwid-shopping-cart-search {
87
  position: absolute;
88
- right: 125px;
89
- top: 58px;
90
  z-index: 1;
 
91
  }
92
 
93
  .ecwid-shopping-cart .ecwid-shopping-cart-search .ecwid-SearchPanel {
@@ -101,24 +96,30 @@ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .search-cell.search-cell-ope
101
 
102
  .ecwid-shopping-cart.ecwid-search-open .ecwid-shopping-cart-search .ecwid-SearchPanel {
103
  display: block;
104
- width: 150px;
105
- -webkit-transition: width 0.3s;
106
- transition: width 0.3s;
107
  }
108
 
109
- .ecwid-shopping-cart-search {
 
110
  white-space: nowrap;
111
  }
112
 
113
- .ecwid-shopping-cart-search .ecwid-SearchPanel-button {
 
114
  border: 0 none;
115
  background: transparent;
116
  line-height: normal;
117
  vertical-align: top;
118
  padding: 0;
119
  margin: 0;
120
- width: auto;
121
- height: auto;
 
 
 
 
122
  }
123
 
124
  .ecwid-shopping-cart-search .ecwid-search-placeholder {
@@ -126,13 +127,12 @@ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .search-cell.search-cell-ope
126
  height: 20px;
127
  position: absolute;
128
  right: 23px;
129
- top: -3px;
130
  z-index: 1;
131
  }
132
 
133
  .ecwid-shopping-cart .ecwid-search-placeholder:after,
134
- .ecwid-shopping-cart-search .ecwid-SearchPanel-button:after
135
- {
136
  content: '\f179';
137
  font-weight: bold;
138
  font-family: 'dashicons';
@@ -147,13 +147,6 @@ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .search-cell.search-cell-ope
147
  cursor: pointer;
148
  }
149
 
150
- .ecwid-shopping-cart-search .ecwid-SearchPanel-button
151
- {
152
- height:30px;
153
- position: relative;
154
- right: 0px;
155
- }
156
-
157
  html#ecwid_html body#ecwid_body .ecwid-shopping-cart-search input,
158
  html#ecwid_html body#ecwid_body .ecwid-shopping-cart-search input:focus
159
  {
@@ -161,15 +154,21 @@ html#ecwid_html body#ecwid_body .ecwid-shopping-cart-search input:focus
161
  outline: none;
162
  }
163
 
164
- html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-search input.ecwid-SearchPanel-field {
 
 
 
165
  -webkit-appearance: none;
166
  border-radius: 3px;
167
  margin-right: -24px;
168
- padding: 6px 24px 6px 3px;
169
  box-shadow: none;
 
 
 
170
  }
171
 
172
- html#ecwid_html body#ecwid_body .ecwid-shopping-cart-search input.ecwid-SearchPanel-field::-webkit-search-cancel-button {
173
  -webkit-appearance: none;
174
  margin: 0px;
175
  }
@@ -186,37 +185,33 @@ html#ecwid_html body#ecwid_body .ecwid-shopping-cart-product-browser {
186
  html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-productBrowser-auth-mini,
187
  html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-search,
188
  html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-minicart {
189
- top: -35px;
190
  position: absolute;
191
  }
192
 
193
  html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-productBrowser-auth-mini {
194
- top: -45px;
195
- }
196
-
197
- html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-productBrowser-auth-mini {
198
- height: 48px;
199
  margin-bottom: 5px;
 
 
 
200
  }
201
 
202
- html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-productBrowser-auth > div {
203
- margin-right: 0px;
204
- }
205
-
206
- html#ecwid_html body#ecwid_body.ecwid-with-search .ecwid-productBrowser-auth > div {
207
- margin-right: 30px;
208
  }
209
 
210
- html#ecwid_html body#ecwid_body.ecwid-with-minicart .ecwid-productBrowser-auth > div {
211
- margin-right: 120px;
212
  }
213
 
214
- html#ecwid_html body#ecwid_body.ecwid-with-minicart.ecwid-with-search .ecwid-productBrowser-auth > div {
215
- margin-right: 150px;
 
216
  }
217
 
218
- html#ecwid_html body#ecwid_body.ecwid-with-minicart.ecwid-with-search.ecwid-search-open .ecwid-productBrowser-auth > div {
219
- margin-right: 280px;
 
 
220
  }
221
 
222
  /* Product browser */
@@ -301,10 +296,6 @@ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-product
301
 
302
  @media screen and (max-width: 650px) {
303
 
304
- body.ecwid-shopping-cart #wrapper {
305
- padding: 0 20px;
306
- }
307
-
308
  body.ecwid-shopping-cart #content-full {
309
  margin-top: 32px;
310
  }
@@ -316,20 +307,28 @@ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-product
316
  padding: 0 4px !important;
317
  }
318
 
 
 
 
 
319
  /* Search */
320
 
321
  .ecwid-shopping-cart .ecwid-shopping-cart-search {
322
- top: -49px;
323
  right: auto;
324
- display: none;
325
  width: 100%;
326
  white-space: nowrap;
327
  }
328
 
329
- .ecwid-shopping-cart .ecwid-shopping-cart-search .ecwid-SearchPanel-field {
 
 
 
 
 
330
  width: 100%;
331
- margin: 0;
332
  box-sizing: border-box;
 
333
  }
334
 
335
  /* Auth */
@@ -342,10 +341,18 @@ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-product
342
  html#ecwid_html body#ecwid_body.ecwid-with-minicart .ecwid-productBrowser-auth > div,
343
  html#ecwid_html body#ecwid_body.ecwid-with-minicart.ecwid-with-search .ecwid-productBrowser-auth > div {
344
  margin-right: 0px;
345
- white-space: nowrap;
346
  }
347
 
 
 
 
 
 
 
 
 
348
  /* Minicart */
 
349
  .ecwid-shopping-cart-minicart {
350
  position: absolute;
351
  right: auto;
@@ -360,8 +367,8 @@ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-product
360
  }
361
 
362
  /* Product Browser */
363
- .ecwid-shopping-cart-product-browser {
364
- margin-top: 70px;
365
  }
366
 
367
  html#ecwid_html body#ecwid_body.ecwid-shopping-cart div.ecwid-productBrowser-head {
3
  padding: 0 47px 20px 47px;
4
  }
5
 
6
+ body.ecwid-shopping-cart .page {
7
+ position: relative;
8
+ }
9
+
10
  body.ecwid-shopping-cart #content-full {
11
  margin-top: 55px;
12
  }
20
  font-size: 37px;
21
  margin-top: 16px;
22
  }
 
 
 
 
23
 
24
  html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-productBrowser-auth a,
25
  html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-minicart-mini-link,
49
  html#ecwid_html body#ecwid_body .ecwid-shopping-cart-minicart {
50
  position: absolute;
51
  top: 58px;
 
52
  display: inline-block;
53
+ right: 0px;
54
  }
55
 
 
56
  html#ecwid_html body#ecwid_body .ecwid-shopping-cart-minicart div.ecwid-minicart-mini {
57
  width: 100px;
58
  text-align: right;
72
 
73
  /* Search */
74
 
 
 
 
75
 
76
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-search .ecwid-SearchPanel input.ecwid-SearchPanel-field {
77
+ width:30px;
 
 
78
  }
79
 
80
  .ecwid-shopping-cart .ecwid-shopping-cart-search {
81
  position: absolute;
82
+ right: 5px;
83
+ top: 8px;
84
  z-index: 1;
85
+ height: 45px;
86
  }
87
 
88
  .ecwid-shopping-cart .ecwid-shopping-cart-search .ecwid-SearchPanel {
96
 
97
  .ecwid-shopping-cart.ecwid-search-open .ecwid-shopping-cart-search .ecwid-SearchPanel {
98
  display: block;
99
+ width: 180px;
100
+ -webkit-transition: width 0.1s;
101
+ transition: width 0.1s;
102
  }
103
 
104
+ .ecwid-shopping-cart-search,
105
+ .ecwid-SearchPanel {
106
  white-space: nowrap;
107
  }
108
 
109
+ .ecwid-shopping-cart-search .ecwid-SearchPanel-button,
110
+ .ecwid-SearchPanel .ecwid-SearchPanel-button {
111
  border: 0 none;
112
  background: transparent;
113
  line-height: normal;
114
  vertical-align: top;
115
  padding: 0;
116
  margin: 0;
117
+ width: 0px;
118
+ height:30px;
119
+ position: relative;
120
+ right: 0px;
121
+ cursor: pointer;
122
+ font-size: 0px;
123
  }
124
 
125
  .ecwid-shopping-cart-search .ecwid-search-placeholder {
127
  height: 20px;
128
  position: absolute;
129
  right: 23px;
130
+ top: -2px;
131
  z-index: 1;
132
  }
133
 
134
  .ecwid-shopping-cart .ecwid-search-placeholder:after,
135
+ .ecwid-SearchPanel .ecwid-SearchPanel-button:before {
 
136
  content: '\f179';
137
  font-weight: bold;
138
  font-family: 'dashicons';
147
  cursor: pointer;
148
  }
149
 
 
 
 
 
 
 
 
150
  html#ecwid_html body#ecwid_body .ecwid-shopping-cart-search input,
151
  html#ecwid_html body#ecwid_body .ecwid-shopping-cart-search input:focus
152
  {
154
  outline: none;
155
  }
156
 
157
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart.ecwid-search-open .ecwid-shopping-cart-search input.ecwid-SearchPanel-field,
158
+ html#ecwid_html body#ecwid_body .ecwid-productBrowser-search-SearchPanel input[type=search],
159
+ html#ecwid_html body#ecwid_body .ecwid-SearchPanel input.ecwid-SearchPanel-field
160
+ {
161
  -webkit-appearance: none;
162
  border-radius: 3px;
163
  margin-right: -24px;
164
+ padding: 6px 0px 6px 3px;
165
  box-shadow: none;
166
+ border: 1px solid #D1D1D1;
167
+ width:100%;
168
+ box-sizing: border-box;
169
  }
170
 
171
+ input.ecwid-SearchPanel-field::-webkit-search-cancel-button {
172
  -webkit-appearance: none;
173
  margin: 0px;
174
  }
185
  html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-productBrowser-auth-mini,
186
  html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-search,
187
  html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-minicart {
 
188
  position: absolute;
189
  }
190
 
191
  html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-productBrowser-auth-mini {
 
 
 
 
 
192
  margin-bottom: 5px;
193
+ display: inline-block;
194
+ width: inherit;
195
+ right: 0px;
196
  }
197
 
198
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart.ecwid-with-search .ecwid-productBrowser-auth-mini {
199
+ margin-right: 25px;
 
 
 
 
200
  }
201
 
202
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-productBrowser-auth-mini td {
203
+ height: 45px;
204
  }
205
 
206
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart div.ecwid-ProductBrowser-auth-anonim,
207
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart div.ecwid-ProductBrowser-auth-logged {
208
+ margin-right: 0px;
209
  }
210
 
211
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart.ecwid-search-open .ecwid-productBrowser-auth-mini {
212
+ margin-right: 195px;
213
+ -webkit-transition: margin-right 0.1s;
214
+ transition: margin-right 0.1s;
215
  }
216
 
217
  /* Product browser */
296
 
297
  @media screen and (max-width: 650px) {
298
 
 
 
 
 
299
  body.ecwid-shopping-cart #content-full {
300
  margin-top: 32px;
301
  }
307
  padding: 0 4px !important;
308
  }
309
 
310
+ html#ecwid_html body#ecwid_body .ecwid-shopping-cart-categories {
311
+ display: none;
312
+
313
+ }
314
  /* Search */
315
 
316
  .ecwid-shopping-cart .ecwid-shopping-cart-search {
317
+ top: -35px;
318
  right: auto;
 
319
  width: 100%;
320
  white-space: nowrap;
321
  }
322
 
323
+ .ecwid-shopping-cart .ecwid-shopping-cart-search .ecwid-SearchPanel {
324
+ display: block;
325
+ width:100%;
326
+ }
327
+
328
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-search .ecwid-SearchPanel input.ecwid-SearchPanel-field {
329
  width: 100%;
 
330
  box-sizing: border-box;
331
+ display: inline-block;
332
  }
333
 
334
  /* Auth */
341
  html#ecwid_html body#ecwid_body.ecwid-with-minicart .ecwid-productBrowser-auth > div,
342
  html#ecwid_html body#ecwid_body.ecwid-with-minicart.ecwid-with-search .ecwid-productBrowser-auth > div {
343
  margin-right: 0px;
 
344
  }
345
 
346
+
347
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-productBrowser-auth-mini td {
348
+ height: auto;
349
+ }
350
+
351
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-ProductBrowser-auth-space {
352
+ display: none;
353
+ }
354
  /* Minicart */
355
+
356
  .ecwid-shopping-cart-minicart {
357
  position: absolute;
358
  right: auto;
367
  }
368
 
369
  /* Product Browser */
370
+ html#ecwid_html body#ecwid_body .ecwid-shopping-cart-product-browser {
371
+ margin-top: 40px;
372
  }
373
 
374
  html#ecwid_html body#ecwid_body.ecwid-shopping-cart div.ecwid-productBrowser-head {
css/themes/responsive.css CHANGED
@@ -1,8 +1,12 @@
1
  /* Mobile */
2
  @media screen and (max-width: 400px) {
3
 
 
 
 
 
4
  body.ecwid-shopping-cart #wrapper {
5
- padding: 0 5px;
6
  }
7
  }
8
 
1
  /* Mobile */
2
  @media screen and (max-width: 400px) {
3
 
4
+ body.ecwid-shopping-cart #container {
5
+ padding: 0 10px;
6
+ }
7
+
8
  body.ecwid-shopping-cart #wrapper {
9
+ padding: 0 10px;
10
  }
11
  }
12
 
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: 2.4.3.2
9
  Author URI: http://www.ecwid.com?source=wporg
10
  */
11
 
@@ -28,6 +28,9 @@ if ( ! defined( 'ECWID_PLUGIN_URL' ) ) {
28
  // 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
29
  add_action('sm_buildmap', 'ecwid_build_sitemap_pages');
30
 
 
 
 
31
  if ( is_admin() ){
32
  add_action('admin_init', 'ecwid_settings_api_init');
33
  add_action('admin_notices', 'ecwid_show_admin_messages');
@@ -42,17 +45,17 @@ if ( is_admin() ){
42
  add_filter('plugin_action_links_ecwid-shopping-cart/ecwid-shopping-cart.php', 'ecwid_plugin_actions');
43
  add_action('admin_head', 'ecwid_ie8_fonts_inclusion');
44
  add_action('admin_head', 'ecwid_send_stats');
 
45
  } else {
46
  add_shortcode('ecwid_script', 'ecwid_script_shortcode');
47
  add_shortcode('ecwid_minicart', 'ecwid_minicart_shortcode');
48
  add_shortcode('ecwid_searchbox', 'ecwid_searchbox_shortcode');
49
  add_shortcode('ecwid_categories', 'ecwid_categories_shortcode');
50
- add_shortcode('ecwid_productbrowser', 'ecwid_productbrowser_shortcode');
51
  add_shortcode('ecwid_product', 'ecwid_product_shortcode');
52
  add_action('init', 'ecwid_backward_compatibility');
53
  add_action('send_headers', 'ecwid_503_on_store_closed');
54
  add_action('template_redirect', 'ecwid_seo_compatibility_template_redirect');
55
- add_action('template_redirect', 'ecwid_apply_theme_adjustments');
56
  add_action('template_redirect', 'ecwid_404_on_broken_escaped_fragment');
57
  add_action('wp_enqueue_scripts', 'ecwid_add_frontend_styles');
58
  add_action('wp', 'ecwid_seo_ultimate_compatibility', 0);
@@ -73,7 +76,7 @@ add_action('admin_bar_menu', 'add_ecwid_admin_bar_node', 1000);
73
 
74
  $ecwid_script_rendered = false; // controls single script.js on page
75
 
76
- require_once plugin_dir_path(__FILE__) . '/lib/class-ecwid-theme-manager.php';
77
  require_once plugin_dir_path(__FILE__) . '/lib/class-ecwid-message-manager.php';
78
 
79
  $version = get_bloginfo('version');
@@ -135,12 +138,6 @@ if (is_admin()) {
135
  define('ECWID_MAIN_BUTTON_CLASS', $main_button_class);
136
  }
137
 
138
- function ecwid_apply_theme_adjustments()
139
- {
140
- $ecwid_theme_manager = Ecwid_Theme_Manager::get_instance();
141
- $ecwid_theme_manager->apply_adjustments();
142
- }
143
-
144
  function ecwid_body_class($classes)
145
  {
146
  if (ecwid_page_has_productbrowser()) {
@@ -239,15 +236,17 @@ function ecwid_backward_compatibility() {
239
 
240
  function ecwid_build_sitemap_pages()
241
  {
242
- if (!ecwid_is_paid_account() || !ecwid_store_page_available()) return;
243
 
244
- $page_url = ecwid_get_store_page_url();
245
 
246
- include ECWID_PLUGIN_DIR . '/lib/EcwidSitemapBuilder.php';
 
247
 
248
- $sitemap = new EcwidSitemapBuilder($page_url, 'build_sitemap_callback', ecwid_new_product_api());
249
 
250
- $sitemap->generate();
 
251
  }
252
 
253
  function build_sitemap_callback($url, $priority, $frequency)
@@ -391,7 +390,7 @@ function add_ecwid_admin_bar_node() {
391
  "id" => "ecwid-go-to-page",
392
  "title" => __("Visit storefront", 'ecwid-shopping-cart'),
393
  "parent" => "ecwid-main",
394
- 'href' => get_page_link(get_option("ecwid_store_page_id"))
395
  )
396
  );
397
  $wp_admin_bar->add_menu(array(
@@ -417,35 +416,25 @@ function add_ecwid_admin_bar_node() {
417
  );
418
  }
419
 
420
- function ecwid_page_has_productbrowser()
421
  {
422
- static $result = null;
423
 
424
- if (is_null($result)) {
425
- $post_content = get_post(get_the_ID())->post_content;
426
- $result = has_shortcode($post_content, 'ecwid_productbrowser');
427
- }
428
 
429
- if (!$result) {
430
- $theme = Ecwid_Theme_Manager::get_instance();
431
- if ($theme->get_theme_name() == 'Bretheon') {
432
- $meta = get_post_meta(get_the_ID(), 'mfn-page-items');
433
- if (is_array($meta)) {
434
- $meta = base64_decode($meta[0]);
435
-
436
- // not exactly the intended usage, but quite simple and still works
437
- // $meta is a serialized array that has the actual content
438
- // a right way is to walk through the structure and run has_shortcode against all fields
439
- $result = has_shortcode($meta, 'ecwid_productbrowser');
440
- }
441
- }
442
  }
443
 
444
- return $result;
445
  }
446
 
447
  function ecwid_ajax_crawling_fragment() {
448
- $ecwid_page_id = get_option("ecwid_store_page_id");
449
  if (ecwid_is_api_enabled() && !isset($_GET['_escaped_fragment_']) && ecwid_page_has_productbrowser())
450
  echo '<meta name="fragment" content="!">' . PHP_EOL;
451
  }
@@ -456,7 +445,7 @@ function ecwid_meta() {
456
  echo '<link rel="dns-prefetch" href="//images.ecwid.com/">' . PHP_EOL;
457
  echo '<link rel="dns-prefetch" href="//app.ecwid.com/">' . PHP_EOL;
458
 
459
- if (!ecwid_page_has_productbrowser()) {
460
  $page_url = ecwid_get_store_page_url();
461
  echo '<link rel="prefetch" href="' . $page_url . '" />' . PHP_EOL;
462
  echo '<link rel="prerender" href="' . $page_url . '" />' . PHP_EOL;
@@ -630,10 +619,10 @@ function ecwid_content_started($content)
630
 
631
  function ecwid_wrap_shortcode_content($content, $name)
632
  {
633
- return "<!-- Ecwid shopping cart plugin v 2.4.3.2 -->"
634
  . ecwid_get_scriptjs_code()
635
  . "<div class=\"ecwid-shopping-cart-$name\">$content</div>"
636
- . "<!-- END Ecwid Shopping Cart v 2.4.3.2 -->";
637
  }
638
 
639
  function ecwid_get_scriptjs_code($force_lang = null) {
@@ -741,7 +730,7 @@ function ecwid_product_shortcode($shortcode_attributes) {
741
 
742
  if (is_null($id) || !is_numeric($id) || $id <= 0) return;
743
 
744
- if ($attributes['link'] == 'yes' && !ecwid_store_page_available()) {
745
  $attributes['link'] = 'no';
746
  }
747
 
@@ -768,7 +757,7 @@ function ecwid_product_shortcode($shortcode_attributes) {
768
  if (is_array($items) && count($items) > 0) foreach ($items as $item) {
769
  if (array_key_exists($item, $display_items)) {
770
  if ($attributes['link'] == 'yes' && in_array($item, array('title', 'picture'))) {
771
- $product_link = ecwid_get_product_url($id);
772
  $result .= '<a href="' . esc_url($product_link) . '">' . $display_items[$item] . '</a>';
773
  } else {
774
  $result .= $display_items[$item];
@@ -903,24 +892,16 @@ EOT;
903
  return ecwid_wrap_shortcode_content($s, 'product-browser');
904
  }
905
 
906
- function ecwid_store_page_available()
907
- {
908
- static $available = null;
909
-
910
- if (is_null($available)) {
911
- $available = 'publish' == get_post_status(get_option('ecwid_store_page_id'));
912
- }
913
- return $available;
914
-
915
- }
916
 
917
  function ecwid_store_activate() {
918
  $my_post = array();
919
  $content = <<<EOT
920
  <!-- Ecwid code. Please do not remove this line otherwise your Ecwid shopping cart will not work properly. --> [ecwid_minicart] [ecwid_searchbox] [ecwid_categories] [ecwid_productbrowser] <!-- Ecwid code end -->
921
  EOT;
922
- add_option("ecwid_store_page_id", '', '', 'yes');
923
- add_option("ecwid_store_id", ECWID_DEMO_STORE_ID, '', 'yes');
 
 
924
 
925
  add_option("ecwid_enable_minicart", 'Y', '', 'yes');
926
  add_option("ecwid_show_categories", '', '', 'yes');
@@ -948,7 +929,8 @@ EOT;
948
 
949
  add_option("ecwid_installation_date", time());
950
 
951
- add_option("ecwid_enable_advanced_theme_layout", get_option('ecwid_store_id') == ECWID_DEMO_STORE_ID ? 'Y' : 'N', '', 'yes');
 
952
 
953
  $id = get_option("ecwid_store_page_id");
954
  $_tmp_page = null;
@@ -968,15 +950,14 @@ EOT;
968
  $my_post['post_author'] = 1;
969
  $my_post['post_type'] = 'page';
970
  $my_post['comment_status'] = 'closed';
971
- $id = wp_insert_post( $my_post );
972
  update_option('ecwid_store_page_id', $id);
973
 
974
- /*
975
- // TODO: rework theme management
976
- if (Ecwid_Theme_Manager::get_instance()->get_theme_name() == 'Responsive') {
977
- update_post_meta($id, '_wp_page_template', 'full-width-page.php');
978
- }
979
- */
980
  }
981
 
982
  Ecwid_Message_Manager::enable_message('on_activate');
@@ -1145,9 +1126,6 @@ function ecwid_general_settings_do_page() {
1145
  }
1146
 
1147
  function ecwid_advanced_settings_do_page() {
1148
- wp_register_script('ecwid-advanced-js', plugins_url('ecwid-shopping-cart/js/advanced.js'), array(), '', '');
1149
- wp_enqueue_script('ecwid-advanced-js');
1150
-
1151
  $categories = false;
1152
  if (ecwid_is_paid_account()) {
1153
  $api = ecwid_new_product_api();
@@ -1229,17 +1207,72 @@ function ecwid_add_dashboard_widgets() {
1229
  }
1230
  }
1231
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1232
  function ecwid_get_store_page_url()
1233
  {
1234
  static $link = null;
1235
 
1236
  if (is_null($link)) {
1237
- $link = get_page_link(get_option('ecwid_store_page_id'));
1238
  }
1239
 
1240
  return $link;
1241
  }
1242
 
 
 
 
 
 
1243
  function ecwid_get_product_url($product)
1244
  {
1245
  return ecwid_get_entity_url($product, 'p');
@@ -1254,7 +1287,7 @@ function ecwid_get_entity_url($entity, $type) {
1254
 
1255
  $link = ecwid_get_store_page_url();
1256
 
1257
- if (is_int($entity)) {
1258
  return $link . '#!/' . $type . '/' . $entity;
1259
  } elseif (is_array($entity) && isset($entity['url'])) {
1260
  $link .= substr($entity['url'], strpos($entity['url'], '#'));
@@ -1264,6 +1297,19 @@ function ecwid_get_entity_url($entity, $type) {
1264
 
1265
  }
1266
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1267
  class EcwidBadgeWidget extends WP_Widget {
1268
 
1269
  var $url_template = "http://static.ecwid.com/badges/%s.png";
@@ -1414,17 +1460,12 @@ class EcwidMinicartWidget extends WP_Widget {
1414
  echo $before_title . $title . $after_title;
1415
 
1416
  echo '<div>';
1417
- echo ecwid_get_scriptjs_code();
1418
-
1419
- $ecwid_page_id = get_option("ecwid_store_page_id");
1420
- $page_url = get_page_link($ecwid_page_id);
1421
- $_tmp_page = get_page($ecwid_page_id);
1422
- if (!empty($page_url) && $_tmp_page != null)
1423
- echo "<script type=\"text/javascript\">var ecwid_ProductBrowserURL = \"$page_url\";</script>";
1424
- echo <<<EOT
1425
- <script type="text/javascript"> xMinicart("style="); </script>
1426
- </div>
1427
- EOT;
1428
 
1429
  echo $after_widget;
1430
  }
@@ -1462,18 +1503,14 @@ class EcwidMinicartMiniViewWidget extends WP_Widget {
1462
  if ( $title )
1463
  echo $before_title . $title . $after_title;
1464
 
1465
- echo '<div>';
1466
- echo ecwid_get_scriptjs_code();
1467
 
1468
- $ecwid_page_id = get_option("ecwid_store_page_id");
1469
- $page_url = ecwid_get_store_page_url();
1470
- $_tmp_page = get_page($ecwid_page_id);
1471
- if (!empty($page_url) && $_tmp_page != null)
1472
- echo "<script type=\"text/javascript\">var ecwid_ProductBrowserURL = \"$page_url\";</script>";
1473
- echo <<<EOT
1474
- <script type="text/javascript"> xMinicart("style=left:10px","layout=Mini"); </script>
1475
- </div>
1476
- EOT;
1477
 
1478
  echo $after_widget;
1479
  }
@@ -1504,29 +1541,25 @@ class EcwidSearchWidget extends WP_Widget {
1504
  }
1505
 
1506
  function widget($args, $instance) {
1507
- extract($args);
1508
- $title = apply_filters('widget_title', empty($instance['title']) ? '&nbsp;' : $instance['title']);
1509
 
1510
- echo $before_widget;
1511
 
1512
- if ( $title )
1513
- echo $before_title . $title . $after_title;
1514
 
1515
- echo '<div>';
1516
- echo ecwid_get_scriptjs_code();
 
 
 
 
 
1517
 
1518
- $ecwid_page_id = get_option("ecwid_store_page_id");
1519
- $page_url = get_page_link($ecwid_page_id);
1520
- $_tmp_page = get_page($ecwid_page_id);
1521
- if (!empty($page_url) && $_tmp_page != null)
1522
- echo "<script type=\"text/javascript\">var ecwid_ProductBrowserURL = \"$page_url\";</script>";
1523
- echo <<<EOT
1524
- <script type="text/javascript"> xSearchPanel("style="); </script>
1525
- </div>
1526
- EOT;
1527
 
1528
- echo $after_widget;
1529
- }
1530
 
1531
  function update($new_instance, $old_instance){
1532
  $instance = $old_instance;
@@ -1553,27 +1586,23 @@ class EcwidVCategoriesWidget extends WP_Widget {
1553
  }
1554
 
1555
  function widget($args, $instance) {
1556
- extract($args);
1557
- $title = apply_filters('widget_title', empty($instance['title']) ? '&nbsp;' : $instance['title']);
1558
 
1559
- echo $before_widget;
1560
 
1561
- if ( $title )
1562
- echo $before_title . $title . $after_title;
1563
 
1564
- echo '<div>';
1565
- echo ecwid_get_scriptjs_code();
1566
- $ecwid_page_id = get_option("ecwid_store_page_id");
1567
- $page_url = get_page_link($ecwid_page_id);
1568
- $_tmp_page = get_page($ecwid_page_id);
1569
- if (!empty($page_url) && $_tmp_page != null)
1570
- echo "<script type=\"text/javascript\">var ecwid_ProductBrowserURL = \"$page_url\";</script>";
1571
- echo <<<EOT
1572
- <script type="text/javascript"> xVCategories("style="); </script>
1573
- </div>
1574
- EOT;
1575
-
1576
- echo $after_widget;
1577
  }
1578
 
1579
  function update($new_instance, $old_instance){
@@ -1615,7 +1644,7 @@ function ecwid_send_stats()
1615
  }
1616
 
1617
  $link = '';
1618
- if (ecwid_store_page_available()) {
1619
  $link = ecwid_get_store_page_url();
1620
  } else {
1621
  $link = get_bloginfo('url');
@@ -1633,7 +1662,7 @@ function ecwid_gather_stats()
1633
  $stats = array();
1634
 
1635
  $stats['version'] = get_bloginfo('version');
1636
- $stats['theme'] = Ecwid_Theme_Manager::get_instance()->get_theme_name();
1637
 
1638
  include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
1639
 
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: 2.5
9
  Author URI: http://www.ecwid.com?source=wporg
10
  */
11
 
28
  // 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
29
  add_action('sm_buildmap', 'ecwid_build_sitemap_pages');
30
 
31
+ // Needs to be in both front-end and back-end to allow admin zone recognize the shortcode
32
+ add_shortcode('ecwid_productbrowser', 'ecwid_productbrowser_shortcode');
33
+
34
  if ( is_admin() ){
35
  add_action('admin_init', 'ecwid_settings_api_init');
36
  add_action('admin_notices', 'ecwid_show_admin_messages');
45
  add_filter('plugin_action_links_ecwid-shopping-cart/ecwid-shopping-cart.php', 'ecwid_plugin_actions');
46
  add_action('admin_head', 'ecwid_ie8_fonts_inclusion');
47
  add_action('admin_head', 'ecwid_send_stats');
48
+ add_action('save_post', 'ecwid_save_post');
49
  } else {
50
  add_shortcode('ecwid_script', 'ecwid_script_shortcode');
51
  add_shortcode('ecwid_minicart', 'ecwid_minicart_shortcode');
52
  add_shortcode('ecwid_searchbox', 'ecwid_searchbox_shortcode');
53
  add_shortcode('ecwid_categories', 'ecwid_categories_shortcode');
 
54
  add_shortcode('ecwid_product', 'ecwid_product_shortcode');
55
  add_action('init', 'ecwid_backward_compatibility');
56
  add_action('send_headers', 'ecwid_503_on_store_closed');
57
  add_action('template_redirect', 'ecwid_seo_compatibility_template_redirect');
58
+ add_action('template_redirect', 'ecwid_apply_theme');
59
  add_action('template_redirect', 'ecwid_404_on_broken_escaped_fragment');
60
  add_action('wp_enqueue_scripts', 'ecwid_add_frontend_styles');
61
  add_action('wp', 'ecwid_seo_ultimate_compatibility', 0);
76
 
77
  $ecwid_script_rendered = false; // controls single script.js on page
78
 
79
+ require_once plugin_dir_path(__FILE__) . '/lib/themes.php';
80
  require_once plugin_dir_path(__FILE__) . '/lib/class-ecwid-message-manager.php';
81
 
82
  $version = get_bloginfo('version');
138
  define('ECWID_MAIN_BUTTON_CLASS', $main_button_class);
139
  }
140
 
 
 
 
 
 
 
141
  function ecwid_body_class($classes)
142
  {
143
  if (ecwid_page_has_productbrowser()) {
236
 
237
  function ecwid_build_sitemap_pages()
238
  {
239
+ if (!ecwid_is_paid_account() || !ecwid_is_store_page_available()) return;
240
 
241
+ $page_id = ecwid_get_current_store_page_id();
242
 
243
+ if (get_post_status($page_id) == 'publish') {
244
+ include ECWID_PLUGIN_DIR . '/lib/EcwidSitemapBuilder.php';
245
 
246
+ $sitemap = new EcwidSitemapBuilder(ecwid_get_store_page_url(), 'build_sitemap_callback', ecwid_new_product_api());
247
 
248
+ $sitemap->generate();
249
+ }
250
  }
251
 
252
  function build_sitemap_callback($url, $priority, $frequency)
390
  "id" => "ecwid-go-to-page",
391
  "title" => __("Visit storefront", 'ecwid-shopping-cart'),
392
  "parent" => "ecwid-main",
393
+ 'href' => ecwid_get_store_page_url()
394
  )
395
  );
396
  $wp_admin_bar->add_menu(array(
416
  );
417
  }
418
 
419
+ function ecwid_page_has_productbrowser($post_id = null)
420
  {
421
+ static $results = null;
422
 
423
+ if (is_null($post_id)) {
424
+ $post_id = get_the_ID();
425
+ }
 
426
 
427
+ if (is_null($results[$post_id])) {
428
+ $post_content = get_post($post_id)->post_content;
429
+ $results[$post_id] = has_shortcode($post_content, 'ecwid_productbrowser');
430
+
431
+ $results[$post_id] = apply_filters( 'ecwid_page_has_productbrowser', $results[$post_id] );
 
 
 
 
 
 
 
 
432
  }
433
 
434
+ return $results[$post_id];
435
  }
436
 
437
  function ecwid_ajax_crawling_fragment() {
 
438
  if (ecwid_is_api_enabled() && !isset($_GET['_escaped_fragment_']) && ecwid_page_has_productbrowser())
439
  echo '<meta name="fragment" content="!">' . PHP_EOL;
440
  }
445
  echo '<link rel="dns-prefetch" href="//images.ecwid.com/">' . PHP_EOL;
446
  echo '<link rel="dns-prefetch" href="//app.ecwid.com/">' . PHP_EOL;
447
 
448
+ if (!ecwid_page_has_productbrowser() && ecwid_is_store_page_available()) {
449
  $page_url = ecwid_get_store_page_url();
450
  echo '<link rel="prefetch" href="' . $page_url . '" />' . PHP_EOL;
451
  echo '<link rel="prerender" href="' . $page_url . '" />' . PHP_EOL;
619
 
620
  function ecwid_wrap_shortcode_content($content, $name)
621
  {
622
+ return "<!-- Ecwid shopping cart plugin v 2.5 -->"
623
  . ecwid_get_scriptjs_code()
624
  . "<div class=\"ecwid-shopping-cart-$name\">$content</div>"
625
+ . "<!-- END Ecwid Shopping Cart v 2.5 -->";
626
  }
627
 
628
  function ecwid_get_scriptjs_code($force_lang = null) {
730
 
731
  if (is_null($id) || !is_numeric($id) || $id <= 0) return;
732
 
733
+ if ($attributes['link'] == 'yes' && !ecwid_is_store_page_available()) {
734
  $attributes['link'] = 'no';
735
  }
736
 
757
  if (is_array($items) && count($items) > 0) foreach ($items as $item) {
758
  if (array_key_exists($item, $display_items)) {
759
  if ($attributes['link'] == 'yes' && in_array($item, array('title', 'picture'))) {
760
+ $product_link = ecwid_get_store_page_url() . '#!/~/product/id=' . $id;
761
  $result .= '<a href="' . esc_url($product_link) . '">' . $display_items[$item] . '</a>';
762
  } else {
763
  $result .= $display_items[$item];
892
  return ecwid_wrap_shortcode_content($s, 'product-browser');
893
  }
894
 
 
 
 
 
 
 
 
 
 
 
895
 
896
  function ecwid_store_activate() {
897
  $my_post = array();
898
  $content = <<<EOT
899
  <!-- Ecwid code. Please do not remove this line otherwise your Ecwid shopping cart will not work properly. --> [ecwid_minicart] [ecwid_searchbox] [ecwid_categories] [ecwid_productbrowser] <!-- Ecwid code end -->
900
  EOT;
901
+ add_option("ecwid_store_page_id", '', '', 'yes');
902
+ add_option("ecwid_store_page_id_auto", '', '', 'yes');
903
+
904
+ add_option("ecwid_store_id", ECWID_DEMO_STORE_ID, '', 'yes');
905
 
906
  add_option("ecwid_enable_minicart", 'Y', '', 'yes');
907
  add_option("ecwid_show_categories", '', '', 'yes');
929
 
930
  add_option("ecwid_installation_date", time());
931
 
932
+ // Does not affect updates, automatically turned on for new users only
933
+ add_option("ecwid_advanced_theme_layout", get_option('ecwid_store_id') == ECWID_DEMO_STORE_ID ? 'Y' : 'N', 'yes');
934
 
935
  $id = get_option("ecwid_store_page_id");
936
  $_tmp_page = null;
950
  $my_post['post_author'] = 1;
951
  $my_post['post_type'] = 'page';
952
  $my_post['comment_status'] = 'closed';
953
+ $id = wp_insert_post( $my_post );
954
  update_option('ecwid_store_page_id', $id);
955
 
956
+ do_action('ecwid_store_page_created', $id);
957
+
958
+ if (ecwid_get_theme_name() == 'Responsive') {
959
+ update_post_meta($id, '_wp_page_template', 'full-width-page.php');
960
+ }
 
961
  }
962
 
963
  Ecwid_Message_Manager::enable_message('on_activate');
1126
  }
1127
 
1128
  function ecwid_advanced_settings_do_page() {
 
 
 
1129
  $categories = false;
1130
  if (ecwid_is_paid_account()) {
1131
  $api = ecwid_new_product_api();
1207
  }
1208
  }
1209
 
1210
+ function ecwid_save_post($post_id)
1211
+ {
1212
+ // If primary or auto store page gets updated
1213
+ if ($post_id == get_option('ecwid_store_page_id') || $post_id == get_option('ecwid_store_page_id_auto')) {
1214
+ $new_status = get_post_status($post_id);
1215
+
1216
+ // and the update either disables the page or removes product browser
1217
+ if (!in_array($new_status, array('publish', 'private')) || !ecwid_page_has_productbrowser($post_id)) {
1218
+
1219
+ // then look for another enabled page that has a product browser in it
1220
+ $pages = get_pages(array('post_status' => 'publish,private'));
1221
+
1222
+ foreach ($pages as $page) {
1223
+ if (ecwid_page_has_productbrowser($page->ID)) {
1224
+ update_option('ecwid_store_page_id_auto', $page->ID);
1225
+ return;
1226
+ }
1227
+ }
1228
+ }
1229
+ }
1230
+
1231
+ // if there is no current store page and this new page has a product browser
1232
+ if (ecwid_page_has_productbrowser($post_id) && !ecwid_get_current_store_page_id()) {
1233
+ // then this page becomes a new store page
1234
+ update_option('ecwid_store_page_id_auto', $post_id);
1235
+ }
1236
+ }
1237
+
1238
+ function ecwid_get_current_store_page_id()
1239
+ {
1240
+ static $page_id = null;
1241
+
1242
+ if (is_null($page_id)) {
1243
+ $page_id = false;
1244
+ foreach(array('ecwid_store_page_id', 'ecwid_store_page_id_auto') as $option) {
1245
+ $id = get_option($option);
1246
+ if ($id) {
1247
+ $status = get_post_status($id);
1248
+
1249
+ if ($status == 'publish' || $status == 'private') {
1250
+ $page_id = $id;
1251
+ break;
1252
+ }
1253
+ }
1254
+ }
1255
+ }
1256
+
1257
+ return $page_id;
1258
+ }
1259
+
1260
  function ecwid_get_store_page_url()
1261
  {
1262
  static $link = null;
1263
 
1264
  if (is_null($link)) {
1265
+ $link = get_page_link(ecwid_get_current_store_page_id());
1266
  }
1267
 
1268
  return $link;
1269
  }
1270
 
1271
+ function ecwid_is_store_page_available()
1272
+ {
1273
+ return ecwid_get_current_store_page_id() != false;
1274
+ }
1275
+
1276
  function ecwid_get_product_url($product)
1277
  {
1278
  return ecwid_get_entity_url($product, 'p');
1287
 
1288
  $link = ecwid_get_store_page_url();
1289
 
1290
+ if (is_numeric($entity)) {
1291
  return $link . '#!/' . $type . '/' . $entity;
1292
  } elseif (is_array($entity) && isset($entity['url'])) {
1293
  $link .= substr($entity['url'], strpos($entity['url'], '#'));
1297
 
1298
  }
1299
 
1300
+ function ecwid_get_product_browser_url_script()
1301
+ {
1302
+ $str = '';
1303
+ if (ecwid_is_store_page_available()) {
1304
+ $url = ecwid_get_store_page_url();
1305
+
1306
+ $str = '<script type="text/javascript">var ecwid_ProductBrowserURL = "' . esc_js($url) . '";</script>';
1307
+ }
1308
+
1309
+ return $str;
1310
+
1311
+ }
1312
+
1313
  class EcwidBadgeWidget extends WP_Widget {
1314
 
1315
  var $url_template = "http://static.ecwid.com/badges/%s.png";
1460
  echo $before_title . $title . $after_title;
1461
 
1462
  echo '<div>';
1463
+
1464
+ echo ecwid_get_scriptjs_code();
1465
+ echo ecwid_get_product_browser_url_script();
1466
+ echo '<script type="text/javascript"> xMinicart("style="); </script>';
1467
+
1468
+ echo '</div>';
 
 
 
 
 
1469
 
1470
  echo $after_widget;
1471
  }
1503
  if ( $title )
1504
  echo $before_title . $title . $after_title;
1505
 
 
 
1506
 
1507
+ echo '<div>';
1508
+
1509
+ echo ecwid_get_scriptjs_code();
1510
+ echo ecwid_get_product_browser_url_script();
1511
+ echo '<script type="text/javascript"> xMinicart("style=left:10px","layout=Mini"); </script>';
1512
+
1513
+ echo '</div>';
 
 
1514
 
1515
  echo $after_widget;
1516
  }
1541
  }
1542
 
1543
  function widget($args, $instance) {
1544
+ extract($args);
1545
+ $title = apply_filters('widget_title', empty($instance['title']) ? '&nbsp;' : $instance['title']);
1546
 
1547
+ echo $before_widget;
1548
 
1549
+ if ( $title )
1550
+ echo $before_title . $title . $after_title;
1551
 
1552
+ echo '<div>';
1553
+
1554
+ echo ecwid_get_scriptjs_code();
1555
+ echo ecwid_get_product_browser_url_script();
1556
+ echo '<script type="text/javascript"> xSearchPanel("style="); </script>';
1557
+
1558
+ echo '</div>';
1559
 
 
 
 
 
 
 
 
 
 
1560
 
1561
+ echo $after_widget;
1562
+ }
1563
 
1564
  function update($new_instance, $old_instance){
1565
  $instance = $old_instance;
1586
  }
1587
 
1588
  function widget($args, $instance) {
1589
+ extract($args);
1590
+ $title = apply_filters('widget_title', empty($instance['title']) ? '&nbsp;' : $instance['title']);
1591
 
1592
+ echo $before_widget;
1593
 
1594
+ if ( $title )
1595
+ echo $before_title . $title . $after_title;
1596
 
1597
+ echo '<div>';
1598
+
1599
+ echo ecwid_get_scriptjs_code();
1600
+ echo ecwid_get_product_browser_url_script();
1601
+ echo '<script type="text/javascript"> xVCategories("style="); </script>';
1602
+
1603
+ echo '</div>';
1604
+
1605
+ echo $after_widget;
 
 
 
 
1606
  }
1607
 
1608
  function update($new_instance, $old_instance){
1644
  }
1645
 
1646
  $link = '';
1647
+ if (ecwid_is_store_page_available()) {
1648
  $link = ecwid_get_store_page_url();
1649
  } else {
1650
  $link = get_bloginfo('url');
1662
  $stats = array();
1663
 
1664
  $stats['version'] = get_bloginfo('version');
1665
+ $stats['theme'] = ecwid_get_theme_name();
1666
 
1667
  include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
1668
 
js/themes/responsive.js CHANGED
@@ -1,84 +1,87 @@
1
- (function($) {
2
-
3
- function executeWhenTrue(action_function, condition_function, delay)
4
- {
5
- if (condition_function()) {
6
- action_function();
7
- return;
8
- }
9
- var interval = null;
10
- var condition_checker = function() {
11
- if (condition_function()) {
12
- clearInterval(interval);
13
- action_function();
14
- }
15
- };
16
- interval = setInterval(condition_checker, delay);
17
- }
18
-
19
- function doDefaultLayout()
20
- {
21
- $('.ecwid-SearchPanel-button').text('');
22
-
23
- $('.ecwid-minicart-mini-rolloverContainer').show();
24
- $('.ecwid-shopping-cart-minicart').show();
25
-
26
- if ($('.ecwid-shopping-cart-minicart').length > 0 && $('.ecwid-shopping-cart-minicart').closest('.ecwid-productBrowser-auth-mini').length == 0) {
27
-
28
- $('.ecwid-search-placeholder').click(function() {
29
- $('body').addClass('ecwid-search-open');
30
- $('.ecwid-shopping-cart-search .ecwid-SearchPanel-field').focus();
31
- });
32
- /*
33
- executeWhenTrue(
34
- function() {
35
- var authTd = $('.ecwid-productBrowser-auth').closest('td');
36
- $('<td class="cart-cell">').append($('.ecwid-shopping-cart-minicart')).insertAfter(authTd);
37
- $('.ecwid-minicart-mini-rolloverContainer').show();
38
- $('<td class="search-cell">').append($('<div class="ecwid-search-placeholder">')).append($('.ecwid-shopping-cart-search')).insertAfter(authTd);
39
- authTd.get(0).width = "";
40
- $('.ecwid-search-placeholder').click(function() {
41
- $('.ecwid-shopping-cart .search-cell').addClass('search-cell-opening').find('.ecwid-SearchPanel-field').focus();
42
- $('.ecwid-shopping-cart .search-cell').addClass('search-cell-open');
43
- });
44
- },
45
- function() {
46
- return $('.ecwid-productBrowser-auth').text() != '';
47
- },
48
- 50
49
- )
50
- */ }
51
- }
52
-
53
- $('body').click(function(e) {
54
- if ($('.ecwid-shopping-cart-search').has(e.target).length == 0) {
55
- $(this).removeClass('ecwid-search-open');
56
- }
57
- });
58
-
59
- function doMobileLayout()
60
- {
61
- $('.ecwid-minicart-mini-rolloverContainer').hide();
62
- $('.ecwid-shopping-cart-minicart').hide();
63
- }
64
-
65
- Ecwid.OnPageLoaded.add(function(args) {
66
- if ($(window).width() < 650) {
67
- doMobileLayout();
68
- } else {
69
- doDefaultLayout();
70
- }
71
- });
72
-
73
- $(window).resize(function() {
74
- if ($(window).width() < 650) {
75
- doMobileLayout();
76
- } else {
77
- doDefaultLayout();
78
- }
79
- });
80
-
81
- })(jQuery);
82
- /*});*/
83
-
84
-
 
 
 
1
+ (function($) {
2
+
3
+ function doDefaultLayout()
4
+ {
5
+ $('.ecwid-shopping-cart-search .ecwid-SearchPanel-button').text('');
6
+
7
+ $('.ecwid-minicart-mini-rolloverContainer').show();
8
+ $('.ecwid-shopping-cart-minicart')
9
+ .css({
10
+ 'top': '2px'
11
+ })
12
+ .show();
13
+
14
+ var topElement = $('.ecwid-shopping-cart-categories');
15
+ if (topElement.length == 0) {
16
+ topElement = $('.ecwid-shopping-cart-product-browser')
17
+ }
18
+ if (topElement.length > 0) {
19
+ $('.ecwid-productBrowser-auth-mini').css({
20
+ 'position': 'absolute',
21
+ 'top': topElement.prop('offsetTop') - 50
22
+ });
23
+
24
+ $('.ecwid-shopping-cart-search').css({
25
+ 'position': 'absolute',
26
+ 'top': topElement.prop('offsetTop') - 50 + 8
27
+ });
28
+
29
+ if (navigator.userAgent.match(/firefox/i)) {
30
+ $('.ecwid-SearchPanel-button').css('right', '3px');
31
+ }
32
+ }
33
+
34
+ $('.ecwid-shopping-cart-minicart').css(
35
+ 'margin-right', $('.ecwid-minicart-mini-rolloverContainer').width() - $('.ecwid-shopping-cart-minicart').width()
36
+ );
37
+
38
+ if ($('.ecwid-shopping-cart-minicart').length > 0
39
+ && $('.ecwid-shopping-cart-minicart').closest('.ecwid-productBrowser-auth-mini').length == 0) {
40
+
41
+ if ($('.ecwid-search-placeholder').length == 0) {
42
+ $('.ecwid-shopping-cart .ecwid-shopping-cart-search .ecwid-SearchPanel').after('<div class="ecwid-search-placeholder"></div>');
43
+ }
44
+
45
+ $('.ecwid-search-placeholder').click(function() {
46
+ $('body').addClass('ecwid-search-open');
47
+ $('.ecwid-shopping-cart-search .ecwid-SearchPanel-field').focus();
48
+ });
49
+ }
50
+ }
51
+
52
+ $('body').click(function(e) {
53
+ if ($('.ecwid-shopping-cart-search').has(e.target).length == 0) {
54
+ $(this).removeClass('ecwid-search-open');
55
+ }
56
+ });
57
+
58
+ function doMobileLayout()
59
+ {
60
+ $('.ecwid-minicart-mini-rolloverContainer').hide();
61
+ $('.ecwid-shopping-cart-minicart').hide();
62
+ $('.ecwid-productBrowser-auth-mini').css({
63
+ 'position': 'inherit',
64
+ 'top': 'auto'
65
+ });
66
+ }
67
+
68
+ Ecwid.OnPageLoaded.add(function(args) {
69
+ if ($(window).width() < 650) {
70
+ doMobileLayout();
71
+ } else {
72
+ doDefaultLayout();
73
+ }
74
+ });
75
+
76
+ $(window).resize(function() {
77
+ if ($(window).width() < 650) {
78
+ doMobileLayout();
79
+ } else {
80
+ doDefaultLayout();
81
+ }
82
+ });
83
+
84
+ })(jQuery);
85
+ /*});*/
86
+
87
+
languages/ecwid-shopping-cart-de_DE.po CHANGED
@@ -1,174 +1,174 @@
1
- msgid "Ecwid Shopping Cart"
2
- msgstr ""
3
- 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."
4
- msgstr ""
5
- msgid "Ecwid Team"
6
- msgstr ""
7
- msgid "Get help"
8
- msgstr "Hilfe"
9
- msgid "Go to Ecwid site"
10
- msgstr "zur Ecwid-Website"
11
- msgid "Visit storefront"
12
- msgstr "zum Shop"
13
- msgid "Manage my store"
14
- msgstr "Shop verwalten"
15
- msgid "Manage plugin settings"
16
- msgstr "Plugin-Einstellungen verwalten"
17
- msgid "→ Sell on Facebook"
18
- msgstr "→ auf Facebook verkaufen"
19
- msgid "Online store powered by <a %s>Ecwid</a>"
20
- msgstr ""
21
- msgid "Store"
22
- msgstr "Shop"
23
- 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."
24
- msgstr "<strong>Ihr Ecwid-Onlineshop steht gleich bereit</strong>. Bitte rufen Sie die <a target=\"_blank\" href=\"%s\">erstellte Seite</a> auf, um Ihren Shop mit Demoartikeln anzuzeigen. Um die Installation abzuschließen, gehen Sie bitte zu den <a href=\"admin.php?page=ecwid\"><strong>Ecwid-Einstellungen</strong></a> und konfigurieren Sie das Plugin."
25
- 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)"
26
- msgstr ""
27
- msgid "Ecwid shopping cart settings"
28
- msgstr ""
29
- msgid "Ecwid Store"
30
- msgstr "Ecwid-Onlineshop"
31
- msgid "General settings"
32
- msgstr "Allgemeine Einstellungen"
33
- msgid "General"
34
- msgstr "Allgemein"
35
- msgid "Appearance settings"
36
- msgstr "Anzeigeneinstellungen"
37
- msgid "Appearance"
38
- msgstr "Anzeige"
39
- msgid "Advanced settings"
40
- msgstr "Erweiterte Einstellungen"
41
- msgid "Advanced"
42
- msgstr "Erweitert"
43
- msgid "Setup"
44
- msgstr ""
45
- msgid "Your store's minicart"
46
- msgstr "Miniwarenkorb Ihres Shops"
47
- msgid "Ecwid Shopping Bag (Normal)"
48
- msgstr "Ecwid-Warenkorb (normal)"
49
- msgid "Ecwid Shopping Bag (Mini view)"
50
- msgstr "Ecwid-Warenkorb (Miniansicht)"
51
- msgid "Your store's search box"
52
- msgstr "Suchfeld Ihres Shops"
53
- msgid "Ecwid Search Box"
54
- msgstr "Ecwid-Suchfeld"
55
- msgid "Vertical menu of categories"
56
- msgstr "Vertikale Kategoriennavigation"
57
- msgid "Ecwid Vertical Categories"
58
- msgstr "Ecwid vertikale Kategorien"
59
- msgid "Price"
60
- msgstr ""
61
- msgid "Ecwid Shopping Cart — Advanced settings"
62
- msgstr "Ecwid-Onlineshop — Erweiterte Einstellungen"
63
- msgid "Category shown by default"
64
- msgstr "standardmäßig angezeigte Kategorie"
65
- msgid "Store root category"
66
- msgstr "Shop-Grundkategorie"
67
- msgid "Default category ID"
68
- msgstr "Standardkategorien-ID"
69
- 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."
70
- msgstr "Standardmäßig zeigt der Shop eine Liste von Grundkategorien an. Sie können diese Einstellung überschreiben und eine andere Kategorie anzeigen, wenn Kunden Ihren Shop zum ersten Mal öffnen. Dies ist sinnvoll, wenn Sie nur eine Kategorie haben oder allen neuen Besuchern einen bestimmten Satz von Artikeln (z.B. \"Ausgewählte Produkte\") anzeigen möchten."
71
- msgid "In order to set this option, <a %s>find an ID of the necessary category</a> and save it here."
72
- msgstr "Zur Einstellung dieser Option <a %s>suchen Sie die ID der nötigen Kategorie</a> und speichern Sie diese hier."
73
- msgid "Single Sign-On Secret Key"
74
- msgstr "Single-Sign-on-Sicherheitsschlüssel"
75
- 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."
76
- msgstr "Diese optionale Funktion bietet Single-Sign-On: Wenn Kunden auf Ihrer Website eingeloggt sind, sind sie automatisch auch in Ihrem Ecwid-Onlineshop eingeloggt, selbst wenn sie bisher noch kein Konto für den Shop hatten. Die Aktivierung dieser Funktion ist sinnvoll, wenn Ihre Besucher eigentlich Konten auf Ihrer WordPress-Website erstellen."
77
- 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."
78
- msgstr "Zur Aktivierung dieser Funktion müssen Sie einen Sicherheitsschlüssel senden. Diesen Schlüssel finden Sie in Ihrem Ecwid-Steuermenü unter \"Systemeinstellungen > API > Single-Sign-on-API\". Diese Funktion ist nur bei <a href=\"http://www.ecwid.com/compare-plans.html\" target=\"_blank\">kostenpflichtigen Paketen</a> verfügbar."
79
- msgid "Save changes"
80
- msgstr "Änderungen speichern"
81
- msgid "Ecwid Shopping Cart — Appearance settings"
82
- msgstr "Ecwid-Onlineshop — Anzeigeneinstellungen"
83
- msgid "Display search box above products"
84
- msgstr "Suchfeld oberhalb der Artikel anzeigen"
85
- msgid "Or you can add search box to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
86
- msgstr "Oder fügen Sie der Toolbar Ihrer Website mit den <a href=\"%s\">vorhandenen WordPress-Widgets</a> ein Suchfeld hinzu"
87
- msgid "Display horizontal categories above products"
88
- msgstr "horizontale Kategorien oberhalb der Artikel anzeigen"
89
- msgid "Or you can add vertical categories to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
90
- msgstr "Oder fügen Sie der Toolbar Ihrer Website mit den <a href=\"%s\">vorhandenen WordPress-Widgets</a> vertikale Kategorien hinzu"
91
- msgid "Enable minicart attached to horizontal categories"
92
- msgstr "Miniwarenkorb Ihres Shops an horizontale Kategorien heften"
93
- msgid "You should disable this option, if you added minicart to your website's&nbsp;sidebar"
94
- msgstr "Diese Option sollten Sie deaktivieren, wenn Sie den Miniwarenkorb der Seitenleiste Ihrer Website hinzugefügt haben"
95
- msgid "Number of categories per row"
96
- msgstr "Anzahl Kategorien pro Zeile"
97
- msgid "Number of products per page"
98
- msgstr "Anzahl Kategorien pro Seite"
99
- msgid "Grid view"
100
- msgstr "Gitteransicht"
101
- msgid "List view"
102
- msgstr "Listenansicht"
103
- msgid "Table view"
104
- msgstr "Tabellenansicht"
105
- 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."
106
- msgstr "Hier können Sie einstellen, wie viele Artikel pro Seite angezeigt werden sollen. Diese Optionen legen Maximalwerte fest. Falls nicht ausreichend Platz ist, um alle Artikelspalten anzuzeigen, passt Ecwid zur Berücksichtigung aller Artikel die Anzahl der Spalten an."
107
- msgid "Default view mode on product pages"
108
- msgstr "Standardanzeigemodus auf Artikelseiten"
109
- msgid "Grid"
110
- msgstr "Gitter"
111
- msgid "List"
112
- msgstr "Liste"
113
- msgid "Table"
114
- msgstr "Tabelle"
115
- msgid "Default view mode on search results"
116
- msgstr "Standardanzeigemodus für Suchergebnisse"
117
- msgid "Store powered by Ecwid"
118
- msgstr ""
119
- msgid "Ecwid Shopping Cart — General settings"
120
- msgstr "Ecwid-Onlineshop — Allgemeine Einstellungen"
121
- msgid "Thank you for choosing Ecwid to build your online store"
122
- msgstr "Vielen Dank, dass Sie Ecwid zur Erstellung Ihres Onlineshops gewählt haben"
123
- 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."
124
- msgstr "Der erste Schritt auf dem Weg zur Eröffnung Ihres Onlineshops: <br />Legen Sie jetzt los und stellen Sie in <strong>3</strong> einfachen Schritten einen Onlineshop auf Ihre WordPress-Website."
125
- msgid "Register at Ecwid"
126
- msgstr "Bei Ecwid anmelden"
127
- msgid "Create a new Ecwid account which you will use to manage your store and inventory. The registration is free."
128
- msgstr "Erstellen Sie ein neues Ecwid-Konto, mit dem Sie Ihren Shop und Ihren Warenbestand verwalten. Die Anmeldung ist kostenlos."
129
- msgid "Create new Ecwid account"
130
- msgstr "Neues Ecwid-Konto erstellen"
131
- msgid "I already have Ecwid account, sign in"
132
- msgstr "Ich habe bereits ein Ecwid-Konto, bitte einloggen"
133
- msgid "You will be able to sign up through your existing Google, Facebook or PayPal profiles as well."
134
- msgstr "Sie können sich auch über Ihre vorhandenen Google-, Facebook- oder PayPal-Konten anmelden."
135
- msgid "Find your Store ID"
136
- msgstr "Shop-ID suchen"
137
- 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."
138
- msgstr "Die Shop-ID ist ein eindeutiges Kennzeichen jedes Ecwid-Onlineshops und besteht aus mehreren Ziffern. Sie finden sie im Hauptmenü des Ecwid-Steuermenüs. Die Shop-ID wird außerdem mit der Begrüßungs-E-Mail nach der Anmeldung versendet."
139
- msgid "Enter your Store ID"
140
- msgstr "Shop-ID eingeben"
141
- msgid "Enter your Store ID here:"
142
- msgstr "Geben Sie hier Ihre Shop-ID ein:"
143
- msgid "Store ID"
144
- msgstr "Shop-ID"
145
- msgid "Save and connect your Ecwid store to the site"
146
- msgstr "Speichern Sie und verbinden Sie Ihren Ecwid-Onlineshop mit Ihrer Website"
147
- msgid "Questions? Visit <a href=\"http://help.ecwid.com/?source=wporg\">Ecwid support center</a>"
148
- msgstr "Fragen? Wechseln Sie zum <a href=\"http://help.ecwid.com/?source=wporg\">Ecwid-Supportcenter</a>"
149
- msgid "Congratulations!"
150
- msgstr "Herzlichen Glückwunsch!"
151
- msgid "Your Ecwid store is now connected to your WordPress website"
152
- msgstr "Ihr Ecwid-Onlineshop ist jetzt mit Ihrer WordPress-Website verbunden"
153
- msgid "Greetings!"
154
- msgstr "Hallo!"
155
- msgid "Your Ecwid store is connected to your WordPress website"
156
- msgstr "Ihr Ecwid-Onlineshop ist mit Ihrer WordPress-Website verbunden"
157
- msgid "Control panel"
158
- msgstr "Steuermenü"
159
- msgid "Account status"
160
- msgstr "Kontostatus"
161
- msgid "Paid"
162
- msgstr "Bezahlpaket"
163
- msgid "Free"
164
- msgstr "Kostenloses Paket"
165
- msgid "Thank you for supporting Ecwid!"
166
- msgstr "Vielen Dank, dass Sie Ecwid nutzen!"
167
- msgid "Upgrade to get access to cool premium features."
168
- msgstr "Holen Sie sich jetzt tolle Premiumfunktionen mit einem Upgrade."
169
- msgid "Billing and plans"
170
- msgstr ""
171
- msgid "Upgrade"
172
- msgstr ""
173
- msgid "If you want to connect another Ecwid store, you can <a %s>disconnect the current one and change Store ID</a>."
174
- msgstr ""
1
+ msgid "Ecwid Shopping Cart"
2
+ msgstr ""
3
+ 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."
4
+ msgstr ""
5
+ msgid "Ecwid Team"
6
+ msgstr ""
7
+ msgid "Get help"
8
+ msgstr "Hilfe"
9
+ msgid "Go to Ecwid site"
10
+ msgstr "zur Ecwid-Website"
11
+ msgid "Visit storefront"
12
+ msgstr "zum Shop"
13
+ msgid "Manage my store"
14
+ msgstr "Shop verwalten"
15
+ msgid "Manage plugin settings"
16
+ msgstr "Plugin-Einstellungen verwalten"
17
+ msgid "→ Sell on Facebook"
18
+ msgstr "→ auf Facebook verkaufen"
19
+ msgid "Online store powered by <a %s>Ecwid</a>"
20
+ msgstr ""
21
+ msgid "Store"
22
+ msgstr "Shop"
23
+ 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."
24
+ msgstr "<strong>Ihr Ecwid-Onlineshop steht gleich bereit</strong>. Bitte rufen Sie die <a target=\"_blank\" href=\"%s\">erstellte Seite</a> auf, um Ihren Shop mit Demoartikeln anzuzeigen. Um die Installation abzuschließen, gehen Sie bitte zu den <a href=\"admin.php?page=ecwid\"><strong>Ecwid-Einstellungen</strong></a> und konfigurieren Sie das Plugin."
25
+ 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)"
26
+ msgstr ""
27
+ msgid "Ecwid shopping cart settings"
28
+ msgstr ""
29
+ msgid "Ecwid Store"
30
+ msgstr "Ecwid-Onlineshop"
31
+ msgid "General settings"
32
+ msgstr "Allgemeine Einstellungen"
33
+ msgid "General"
34
+ msgstr "Allgemein"
35
+ msgid "Appearance settings"
36
+ msgstr "Anzeigeneinstellungen"
37
+ msgid "Appearance"
38
+ msgstr "Anzeige"
39
+ msgid "Advanced settings"
40
+ msgstr "Erweiterte Einstellungen"
41
+ msgid "Advanced"
42
+ msgstr "Erweitert"
43
+ msgid "Setup"
44
+ msgstr ""
45
+ msgid "Your store's minicart"
46
+ msgstr "Miniwarenkorb Ihres Shops"
47
+ msgid "Ecwid Shopping Bag (Normal)"
48
+ msgstr "Ecwid-Warenkorb (normal)"
49
+ msgid "Ecwid Shopping Bag (Mini view)"
50
+ msgstr "Ecwid-Warenkorb (Miniansicht)"
51
+ msgid "Your store's search box"
52
+ msgstr "Suchfeld Ihres Shops"
53
+ msgid "Ecwid Search Box"
54
+ msgstr "Ecwid-Suchfeld"
55
+ msgid "Vertical menu of categories"
56
+ msgstr "Vertikale Kategoriennavigation"
57
+ msgid "Ecwid Vertical Categories"
58
+ msgstr "Ecwid vertikale Kategorien"
59
+ msgid "Price"
60
+ msgstr ""
61
+ msgid "Ecwid Shopping Cart — Advanced settings"
62
+ msgstr "Ecwid-Onlineshop — Erweiterte Einstellungen"
63
+ msgid "Category shown by default"
64
+ msgstr "standardmäßig angezeigte Kategorie"
65
+ msgid "Store root category"
66
+ msgstr "Shop-Grundkategorie"
67
+ msgid "Default category ID"
68
+ msgstr "Standardkategorien-ID"
69
+ 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."
70
+ msgstr "Standardmäßig zeigt der Shop eine Liste von Grundkategorien an. Sie können diese Einstellung überschreiben und eine andere Kategorie anzeigen, wenn Kunden Ihren Shop zum ersten Mal öffnen. Dies ist sinnvoll, wenn Sie nur eine Kategorie haben oder allen neuen Besuchern einen bestimmten Satz von Artikeln (z.B. \"Ausgewählte Produkte\") anzeigen möchten."
71
+ msgid "In order to set this option, <a %s>find an ID of the necessary category</a> and save it here."
72
+ msgstr "Zur Einstellung dieser Option <a %s>suchen Sie die ID der nötigen Kategorie</a> und speichern Sie diese hier."
73
+ msgid "Single Sign-On Secret Key"
74
+ msgstr "Single-Sign-on-Sicherheitsschlüssel"
75
+ 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."
76
+ msgstr "Diese optionale Funktion bietet Single-Sign-On: Wenn Kunden auf Ihrer Website eingeloggt sind, sind sie automatisch auch in Ihrem Ecwid-Onlineshop eingeloggt, selbst wenn sie bisher noch kein Konto für den Shop hatten. Die Aktivierung dieser Funktion ist sinnvoll, wenn Ihre Besucher eigentlich Konten auf Ihrer WordPress-Website erstellen."
77
+ 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."
78
+ msgstr "Zur Aktivierung dieser Funktion müssen Sie einen Sicherheitsschlüssel senden. Diesen Schlüssel finden Sie in Ihrem Ecwid-Steuermenü unter \"Systemeinstellungen > API > Single-Sign-on-API\". Diese Funktion ist nur bei <a href=\"http://www.ecwid.com/compare-plans.html\" target=\"_blank\">kostenpflichtigen Paketen</a> verfügbar."
79
+ msgid "Save changes"
80
+ msgstr "Änderungen speichern"
81
+ msgid "Ecwid Shopping Cart — Appearance settings"
82
+ msgstr "Ecwid-Onlineshop — Anzeigeneinstellungen"
83
+ msgid "Display search box above products"
84
+ msgstr "Suchfeld oberhalb der Artikel anzeigen"
85
+ msgid "Or you can add search box to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
86
+ msgstr "Oder fügen Sie der Toolbar Ihrer Website mit den <a href=\"%s\">vorhandenen WordPress-Widgets</a> ein Suchfeld hinzu"
87
+ msgid "Display horizontal categories above products"
88
+ msgstr "horizontale Kategorien oberhalb der Artikel anzeigen"
89
+ msgid "Or you can add vertical categories to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
90
+ msgstr "Oder fügen Sie der Toolbar Ihrer Website mit den <a href=\"%s\">vorhandenen WordPress-Widgets</a> vertikale Kategorien hinzu"
91
+ msgid "Enable minicart attached to horizontal categories"
92
+ msgstr "Miniwarenkorb Ihres Shops an horizontale Kategorien heften"
93
+ msgid "You should disable this option, if you added minicart to your website's&nbsp;sidebar"
94
+ msgstr "Diese Option sollten Sie deaktivieren, wenn Sie den Miniwarenkorb der Seitenleiste Ihrer Website hinzugefügt haben"
95
+ msgid "Number of categories per row"
96
+ msgstr "Anzahl Kategorien pro Zeile"
97
+ msgid "Number of products per page"
98
+ msgstr "Anzahl Kategorien pro Seite"
99
+ msgid "Grid view"
100
+ msgstr "Gitteransicht"
101
+ msgid "List view"
102
+ msgstr "Listenansicht"
103
+ msgid "Table view"
104
+ msgstr "Tabellenansicht"
105
+ 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."
106
+ msgstr "Hier können Sie einstellen, wie viele Artikel pro Seite angezeigt werden sollen. Diese Optionen legen Maximalwerte fest. Falls nicht ausreichend Platz ist, um alle Artikelspalten anzuzeigen, passt Ecwid zur Berücksichtigung aller Artikel die Anzahl der Spalten an."
107
+ msgid "Default view mode on product pages"
108
+ msgstr "Standardanzeigemodus auf Artikelseiten"
109
+ msgid "Grid"
110
+ msgstr "Gitter"
111
+ msgid "List"
112
+ msgstr "Liste"
113
+ msgid "Table"
114
+ msgstr "Tabelle"
115
+ msgid "Default view mode on search results"
116
+ msgstr "Standardanzeigemodus für Suchergebnisse"
117
+ msgid "Store powered by Ecwid"
118
+ msgstr ""
119
+ msgid "Ecwid Shopping Cart — General settings"
120
+ msgstr "Ecwid-Onlineshop — Allgemeine Einstellungen"
121
+ msgid "Thank you for choosing Ecwid to build your online store"
122
+ msgstr "Vielen Dank, dass Sie Ecwid zur Erstellung Ihres Onlineshops gewählt haben"
123
+ 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."
124
+ msgstr "Der erste Schritt auf dem Weg zur Eröffnung Ihres Onlineshops: <br />Legen Sie jetzt los und stellen Sie in <strong>3</strong> einfachen Schritten einen Onlineshop auf Ihre WordPress-Website."
125
+ msgid "Register at Ecwid"
126
+ msgstr "Bei Ecwid anmelden"
127
+ msgid "Create a new Ecwid account which you will use to manage your store and inventory. The registration is free."
128
+ msgstr "Erstellen Sie ein neues Ecwid-Konto, mit dem Sie Ihren Shop und Ihren Warenbestand verwalten. Die Anmeldung ist kostenlos."
129
+ msgid "Create new Ecwid account"
130
+ msgstr "Neues Ecwid-Konto erstellen"
131
+ msgid "I already have Ecwid account, sign in"
132
+ msgstr "Ich habe bereits ein Ecwid-Konto, bitte einloggen"
133
+ msgid "You will be able to sign up through your existing Google, Facebook or PayPal profiles as well."
134
+ msgstr "Sie können sich auch über Ihre vorhandenen Google-, Facebook- oder PayPal-Konten anmelden."
135
+ msgid "Find your Store ID"
136
+ msgstr "Shop-ID suchen"
137
+ 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."
138
+ msgstr "Die Shop-ID ist ein eindeutiges Kennzeichen jedes Ecwid-Onlineshops und besteht aus mehreren Ziffern. Sie finden sie im Hauptmenü des Ecwid-Steuermenüs. Die Shop-ID wird außerdem mit der Begrüßungs-E-Mail nach der Anmeldung versendet."
139
+ msgid "Enter your Store ID"
140
+ msgstr "Shop-ID eingeben"
141
+ msgid "Enter your Store ID here:"
142
+ msgstr "Geben Sie hier Ihre Shop-ID ein:"
143
+ msgid "Store ID"
144
+ msgstr "Shop-ID"
145
+ msgid "Save and connect your Ecwid store to the site"
146
+ msgstr "Speichern Sie und verbinden Sie Ihren Ecwid-Onlineshop mit Ihrer Website"
147
+ msgid "Questions? Visit <a href=\"http://help.ecwid.com/?source=wporg\">Ecwid support center</a>"
148
+ msgstr "Fragen? Wechseln Sie zum <a href=\"http://help.ecwid.com/?source=wporg\">Ecwid-Supportcenter</a>"
149
+ msgid "Congratulations!"
150
+ msgstr "Herzlichen Glückwunsch!"
151
+ msgid "Your Ecwid store is now connected to your WordPress website"
152
+ msgstr "Ihr Ecwid-Onlineshop ist jetzt mit Ihrer WordPress-Website verbunden"
153
+ msgid "Greetings!"
154
+ msgstr "Hallo!"
155
+ msgid "Your Ecwid store is connected to your WordPress website"
156
+ msgstr "Ihr Ecwid-Onlineshop ist mit Ihrer WordPress-Website verbunden"
157
+ msgid "Control panel"
158
+ msgstr "Steuermenü"
159
+ msgid "Account status"
160
+ msgstr "Kontostatus"
161
+ msgid "Paid"
162
+ msgstr "Bezahlpaket"
163
+ msgid "Free"
164
+ msgstr "Kostenloses Paket"
165
+ msgid "Thank you for supporting Ecwid!"
166
+ msgstr "Vielen Dank, dass Sie Ecwid nutzen!"
167
+ msgid "Upgrade to get access to cool premium features."
168
+ msgstr "Holen Sie sich jetzt tolle Premiumfunktionen mit einem Upgrade."
169
+ msgid "Billing and plans"
170
+ msgstr ""
171
+ msgid "Upgrade"
172
+ msgstr ""
173
+ msgid "If you want to connect another Ecwid store, you can <a %s>disconnect the current one and change Store ID</a>."
174
+ msgstr ""
languages/ecwid-shopping-cart-fr_FR.po CHANGED
@@ -1,174 +1,174 @@
1
- msgid "Ecwid Shopping Cart"
2
- msgstr ""
3
- 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."
4
- msgstr ""
5
- msgid "Ecwid Team"
6
- msgstr ""
7
- msgid "Get help"
8
- msgstr "Obtenir de l'assistance"
9
- msgid "Go to Ecwid site"
10
- msgstr "Aller au site Ecwid"
11
- msgid "Visit storefront"
12
- msgstr "Visiter la vitrine"
13
- msgid "Manage my store"
14
- msgstr "Gérer ma boutique"
15
- msgid "Manage plugin settings"
16
- msgstr "Gérer mes paramètres de plugin"
17
- msgid "→ Sell on Facebook"
18
- msgstr "→ Vendre sur Facebook"
19
- msgid "Online store powered by <a %s>Ecwid</a>"
20
- msgstr ""
21
- msgid "Store"
22
- msgstr "Boutique"
23
- 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."
24
- msgstr "<strong>Le panier virtuel Ecwid est quasiment prêt</strong>. Veuillez visiter <a target=\"_blank\" href=\"%s\">la page créée</a> pour voir votre boutique et des produits de démonstration. Afin de terminer l'installation, veuillez naviguer vers les <a href=\"admin.php?page=ecwid\"><strong>réglages Ecwid</strong></a> et configurer le plugin."
25
- 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)"
26
- msgstr ""
27
- msgid "Ecwid shopping cart settings"
28
- msgstr ""
29
- msgid "Ecwid Store"
30
- msgstr "Boutique Ecwid"
31
- msgid "General settings"
32
- msgstr "Réglages généraux"
33
- msgid "General"
34
- msgstr "Général"
35
- msgid "Appearance settings"
36
- msgstr "Réglages d'apparence"
37
- msgid "Appearance"
38
- msgstr "Apparence"
39
- msgid "Advanced settings"
40
- msgstr "Réglages avancés"
41
- msgid "Advanced"
42
- msgstr "Avancés"
43
- msgid "Setup"
44
- msgstr ""
45
- msgid "Your store's minicart"
46
- msgstr "Le mini-panier de votre boutique"
47
- msgid "Ecwid Shopping Bag (Normal)"
48
- msgstr "Le Panier Ecwid (Normal)"
49
- msgid "Ecwid Shopping Bag (Mini view)"
50
- msgstr "Le Panier Ecwid (Mini-vue)"
51
- msgid "Your store's search box"
52
- msgstr "La boîte de recherche de votre boutique"
53
- msgid "Ecwid Search Box"
54
- msgstr "Boîte de Recherche Ecwid"
55
- msgid "Vertical menu of categories"
56
- msgstr "Menu vertical de catégories"
57
- msgid "Ecwid Vertical Categories"
58
- msgstr "Catégories Verticales Ecwid"
59
- msgid "Price"
60
- msgstr ""
61
- msgid "Ecwid Shopping Cart — Advanced settings"
62
- msgstr "Panier Ecwid — Réglages avancés"
63
- msgid "Category shown by default"
64
- msgstr "Catégorie affichée par défaut"
65
- msgid "Store root category"
66
- msgstr "Catégorie racine de la boutique"
67
- msgid "Default category ID"
68
- msgstr "Numéro de la catégorie par défaut"
69
- 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."
70
- msgstr "Par défaut, la vitrine présente une liste de catégories racines. Vous pouvez changer ce comportement et afficher une catégorie différente lorsque les clients accèdent à votre boutique pour la première fois. Cette fonction est pratique lorsque vous n'avez qu'une seule catégorie ou si vous souhaitez afficher une gamme spécifique d'articles (par ex. \"Produits Phares\") à tous vos clients."
71
- msgid "In order to set this option, <a %s>find an ID of the necessary category</a> and save it here."
72
- msgstr "Afin de régler cette option, <a %s>trouvez le numéro de catégorie nécessaire</a> puis sauvegardez-le ici."
73
- msgid "Single Sign-On Secret Key"
74
- msgstr "Clé Secrète Single Sign-on"
75
- 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."
76
- msgstr "Cette fonction optionnelle permet d'activer Single Sign-on : lorsque les clients sont authentifiés sur votre site, ils sont automatiquement connectés à votre boutique Ecwid, même s'ils n'avaient pas auparavant de compte dans la boutique. Il est logique d'activer cette fonction lorsque vos visiteurs créent typiquement un compte sur votre site WordPress."
77
- 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."
78
- msgstr "Afin d'activer cette fonction vous devez soumettre une clé secrète. Vous trouverez cette clé dans votre panneau de contrôle Ecwid, sur la page \"Paramètres Système > API > Single Sign-on API\". Cette fonction n'est disponible que pour les <a href=\"http://www.ecwid.com/compare-plans.html\" target=\"_blank\">utilisateurs payants</a>."
79
- msgid "Save changes"
80
- msgstr "Sauvegarder les modifications"
81
- msgid "Ecwid Shopping Cart — Appearance settings"
82
- msgstr "Panier Ecwid — Réglages d'apparence"
83
- msgid "Display search box above products"
84
- msgstr "Afficher la boîte de recherche au-dessus des produits"
85
- msgid "Or you can add search box to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
86
- msgstr "Vous pouvez aussi ajouter une boîte de recherche à la barre d'outils de votre site via les <a href=\"%s\">widgets natifs de WordPress</a>"
87
- msgid "Display horizontal categories above products"
88
- msgstr "Afficher les catégories horizontales au-dessus des produits"
89
- msgid "Or you can add vertical categories to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
90
- msgstr "Vous pouvez aussi ajouter des catégories verticales à la barre d'outils de votre site via les <a href=\"%s\">widgets natifs de WordPress</a>"
91
- msgid "Enable minicart attached to horizontal categories"
92
- msgstr "Activer le mini-panier attaché aux catégories horizontales"
93
- msgid "You should disable this option, if you added minicart to your website's&nbsp;sidebar"
94
- msgstr "Cette option devrait être désactivée si vous avez ajouté un mini-panier à la barre latérale de votre site"
95
- msgid "Number of categories per row"
96
- msgstr "Nombre de catégories par rangée"
97
- msgid "Number of products per page"
98
- msgstr "Nombre de produits par page"
99
- msgid "Grid view"
100
- msgstr "Affichage Vignettes"
101
- msgid "List view"
102
- msgstr "Affichage Liste"
103
- msgid "Table view"
104
- msgstr "Affichage Tableau"
105
- 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."
106
- msgstr "Vous pouvez contrôler ici le nombre de produits affichés par page. Ces options définissent des valeurs maximales. S'il n'y pas assez de place pour afficher toutes les colonnes de produits, Ecwid modifiera le nombre de colonnes pour conserver tous les produits."
107
- msgid "Default view mode on product pages"
108
- msgstr "Mode d'affichage par défaut des pages de produits"
109
- msgid "Grid"
110
- msgstr "Vignettes"
111
- msgid "List"
112
- msgstr "Liste"
113
- msgid "Table"
114
- msgstr "Tableau"
115
- msgid "Default view mode on search results"
116
- msgstr "Mode d'affichage par défaut des résultats de recherche"
117
- msgid "Store powered by Ecwid"
118
- msgstr ""
119
- msgid "Ecwid Shopping Cart — General settings"
120
- msgstr "Panier Ecwid — Réglages généraux"
121
- msgid "Thank you for choosing Ecwid to build your online store"
122
- msgstr "Merci d'avoir choisi Ecwid pour construire votre boutique en ligne"
123
- 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."
124
- msgstr "La première étape vers l'ouverture de votre commerce en ligne : <br />Lançons-nous et ajoutons une boutique à votre site WordPress en <strong>3</strong> étapes faciles."
125
- msgid "Register at Ecwid"
126
- msgstr "Inscrivez-vous chez Ecwid"
127
- msgid "Create a new Ecwid account which you will use to manage your store and inventory. The registration is free."
128
- msgstr "Créez un nouveau compte Ecwid afin de pouvoir gérer votre boutique et votre inventaire. L'inscription est gratuite."
129
- msgid "Create new Ecwid account"
130
- msgstr "Créer un nouveau compte Ecwid"
131
- msgid "I already have Ecwid account, sign in"
132
- msgstr "J'ai déjà un compte Ecwid, se connecter"
133
- msgid "You will be able to sign up through your existing Google, Facebook or PayPal profiles as well."
134
- msgstr "Vous pourrez aussi vous connecter avec vos comptes Google, Facebook ou PayPal existants."
135
- msgid "Find your Store ID"
136
- msgstr "Trouver votre Numéro de Boutique."
137
- 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."
138
- msgstr "Le Numéro de Boutique est le code unique de votre boutique Ecwid, il est constitué de plusieurs chiffres. Vous pouvez le trouver sur la page \"Tableau de Bord\" du panneau de contrôle d'Ecwid. Le Numéro de Boutique sera aussi envoyé dans l'email de bienvenu après l'inscription."
139
- msgid "Enter your Store ID"
140
- msgstr "Entrer votre Numéro de Boutique"
141
- msgid "Enter your Store ID here:"
142
- msgstr "Entrez votre Numéro de Boutique ici :"
143
- msgid "Store ID"
144
- msgstr "Numéro de Boutique"
145
- msgid "Save and connect your Ecwid store to the site"
146
- msgstr "Sauvegardez et connectez votre boutique Ecwid au site."
147
- msgid "Questions? Visit <a href=\"http://help.ecwid.com/?source=wporg\">Ecwid support center</a>"
148
- msgstr "Des questions? Visitez le <a href=\"http://help.ecwid.com/?source=wporg\">centre d'assistance Ecwid</a>"
149
- msgid "Congratulations!"
150
- msgstr "Félicitations !"
151
- msgid "Your Ecwid store is now connected to your WordPress website"
152
- msgstr "Votre boutique Ecwid est maintenant connectée à votre site WordPress"
153
- msgid "Greetings!"
154
- msgstr "Salutations !"
155
- msgid "Your Ecwid store is connected to your WordPress website"
156
- msgstr "Votre boutique Ecwid est connectée à votre site WordPress"
157
- msgid "Control panel"
158
- msgstr "Panneau de contrôle"
159
- msgid "Account status"
160
- msgstr "Statut du compte"
161
- msgid "Paid"
162
- msgstr "Payant"
163
- msgid "Free"
164
- msgstr "Gratuit"
165
- msgid "Thank you for supporting Ecwid!"
166
- msgstr "Merci pour le soutien apporté à Ecwid !"
167
- msgid "Upgrade to get access to cool premium features."
168
- msgstr "Surclassez votre compte pour accéder à de super fonctionnalités premium."
169
- msgid "Billing and plans"
170
- msgstr ""
171
- msgid "Upgrade"
172
- msgstr ""
173
- msgid "If you want to connect another Ecwid store, you can <a %s>disconnect the current one and change Store ID</a>."
174
- msgstr ""
1
+ msgid "Ecwid Shopping Cart"
2
+ msgstr ""
3
+ 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."
4
+ msgstr ""
5
+ msgid "Ecwid Team"
6
+ msgstr ""
7
+ msgid "Get help"
8
+ msgstr "Obtenir de l'assistance"
9
+ msgid "Go to Ecwid site"
10
+ msgstr "Aller au site Ecwid"
11
+ msgid "Visit storefront"
12
+ msgstr "Visiter la vitrine"
13
+ msgid "Manage my store"
14
+ msgstr "Gérer ma boutique"
15
+ msgid "Manage plugin settings"
16
+ msgstr "Gérer mes paramètres de plugin"
17
+ msgid "→ Sell on Facebook"
18
+ msgstr "→ Vendre sur Facebook"
19
+ msgid "Online store powered by <a %s>Ecwid</a>"
20
+ msgstr ""
21
+ msgid "Store"
22
+ msgstr "Boutique"
23
+ 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."
24
+ msgstr "<strong>Le panier virtuel Ecwid est quasiment prêt</strong>. Veuillez visiter <a target=\"_blank\" href=\"%s\">la page créée</a> pour voir votre boutique et des produits de démonstration. Afin de terminer l'installation, veuillez naviguer vers les <a href=\"admin.php?page=ecwid\"><strong>réglages Ecwid</strong></a> et configurer le plugin."
25
+ 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)"
26
+ msgstr ""
27
+ msgid "Ecwid shopping cart settings"
28
+ msgstr ""
29
+ msgid "Ecwid Store"
30
+ msgstr "Boutique Ecwid"
31
+ msgid "General settings"
32
+ msgstr "Réglages généraux"
33
+ msgid "General"
34
+ msgstr "Général"
35
+ msgid "Appearance settings"
36
+ msgstr "Réglages d'apparence"
37
+ msgid "Appearance"
38
+ msgstr "Apparence"
39
+ msgid "Advanced settings"
40
+ msgstr "Réglages avancés"
41
+ msgid "Advanced"
42
+ msgstr "Avancés"
43
+ msgid "Setup"
44
+ msgstr ""
45
+ msgid "Your store's minicart"
46
+ msgstr "Le mini-panier de votre boutique"
47
+ msgid "Ecwid Shopping Bag (Normal)"
48
+ msgstr "Le Panier Ecwid (Normal)"
49
+ msgid "Ecwid Shopping Bag (Mini view)"
50
+ msgstr "Le Panier Ecwid (Mini-vue)"
51
+ msgid "Your store's search box"
52
+ msgstr "La boîte de recherche de votre boutique"
53
+ msgid "Ecwid Search Box"
54
+ msgstr "Boîte de Recherche Ecwid"
55
+ msgid "Vertical menu of categories"
56
+ msgstr "Menu vertical de catégories"
57
+ msgid "Ecwid Vertical Categories"
58
+ msgstr "Catégories Verticales Ecwid"
59
+ msgid "Price"
60
+ msgstr ""
61
+ msgid "Ecwid Shopping Cart — Advanced settings"
62
+ msgstr "Panier Ecwid — Réglages avancés"
63
+ msgid "Category shown by default"
64
+ msgstr "Catégorie affichée par défaut"
65
+ msgid "Store root category"
66
+ msgstr "Catégorie racine de la boutique"
67
+ msgid "Default category ID"
68
+ msgstr "Numéro de la catégorie par défaut"
69
+ 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."
70
+ msgstr "Par défaut, la vitrine présente une liste de catégories racines. Vous pouvez changer ce comportement et afficher une catégorie différente lorsque les clients accèdent à votre boutique pour la première fois. Cette fonction est pratique lorsque vous n'avez qu'une seule catégorie ou si vous souhaitez afficher une gamme spécifique d'articles (par ex. \"Produits Phares\") à tous vos clients."
71
+ msgid "In order to set this option, <a %s>find an ID of the necessary category</a> and save it here."
72
+ msgstr "Afin de régler cette option, <a %s>trouvez le numéro de catégorie nécessaire</a> puis sauvegardez-le ici."
73
+ msgid "Single Sign-On Secret Key"
74
+ msgstr "Clé Secrète Single Sign-on"
75
+ 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."
76
+ msgstr "Cette fonction optionnelle permet d'activer Single Sign-on : lorsque les clients sont authentifiés sur votre site, ils sont automatiquement connectés à votre boutique Ecwid, même s'ils n'avaient pas auparavant de compte dans la boutique. Il est logique d'activer cette fonction lorsque vos visiteurs créent typiquement un compte sur votre site WordPress."
77
+ 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."
78
+ msgstr "Afin d'activer cette fonction vous devez soumettre une clé secrète. Vous trouverez cette clé dans votre panneau de contrôle Ecwid, sur la page \"Paramètres Système > API > Single Sign-on API\". Cette fonction n'est disponible que pour les <a href=\"http://www.ecwid.com/compare-plans.html\" target=\"_blank\">utilisateurs payants</a>."
79
+ msgid "Save changes"
80
+ msgstr "Sauvegarder les modifications"
81
+ msgid "Ecwid Shopping Cart — Appearance settings"
82
+ msgstr "Panier Ecwid — Réglages d'apparence"
83
+ msgid "Display search box above products"
84
+ msgstr "Afficher la boîte de recherche au-dessus des produits"
85
+ msgid "Or you can add search box to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
86
+ msgstr "Vous pouvez aussi ajouter une boîte de recherche à la barre d'outils de votre site via les <a href=\"%s\">widgets natifs de WordPress</a>"
87
+ msgid "Display horizontal categories above products"
88
+ msgstr "Afficher les catégories horizontales au-dessus des produits"
89
+ msgid "Or you can add vertical categories to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
90
+ msgstr "Vous pouvez aussi ajouter des catégories verticales à la barre d'outils de votre site via les <a href=\"%s\">widgets natifs de WordPress</a>"
91
+ msgid "Enable minicart attached to horizontal categories"
92
+ msgstr "Activer le mini-panier attaché aux catégories horizontales"
93
+ msgid "You should disable this option, if you added minicart to your website's&nbsp;sidebar"
94
+ msgstr "Cette option devrait être désactivée si vous avez ajouté un mini-panier à la barre latérale de votre site"
95
+ msgid "Number of categories per row"
96
+ msgstr "Nombre de catégories par rangée"
97
+ msgid "Number of products per page"
98
+ msgstr "Nombre de produits par page"
99
+ msgid "Grid view"
100
+ msgstr "Affichage Vignettes"
101
+ msgid "List view"
102
+ msgstr "Affichage Liste"
103
+ msgid "Table view"
104
+ msgstr "Affichage Tableau"
105
+ 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."
106
+ msgstr "Vous pouvez contrôler ici le nombre de produits affichés par page. Ces options définissent des valeurs maximales. S'il n'y pas assez de place pour afficher toutes les colonnes de produits, Ecwid modifiera le nombre de colonnes pour conserver tous les produits."
107
+ msgid "Default view mode on product pages"
108
+ msgstr "Mode d'affichage par défaut des pages de produits"
109
+ msgid "Grid"
110
+ msgstr "Vignettes"
111
+ msgid "List"
112
+ msgstr "Liste"
113
+ msgid "Table"
114
+ msgstr "Tableau"
115
+ msgid "Default view mode on search results"
116
+ msgstr "Mode d'affichage par défaut des résultats de recherche"
117
+ msgid "Store powered by Ecwid"
118
+ msgstr ""
119
+ msgid "Ecwid Shopping Cart — General settings"
120
+ msgstr "Panier Ecwid — Réglages généraux"
121
+ msgid "Thank you for choosing Ecwid to build your online store"
122
+ msgstr "Merci d'avoir choisi Ecwid pour construire votre boutique en ligne"
123
+ 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."
124
+ msgstr "La première étape vers l'ouverture de votre commerce en ligne : <br />Lançons-nous et ajoutons une boutique à votre site WordPress en <strong>3</strong> étapes faciles."
125
+ msgid "Register at Ecwid"
126
+ msgstr "Inscrivez-vous chez Ecwid"
127
+ msgid "Create a new Ecwid account which you will use to manage your store and inventory. The registration is free."
128
+ msgstr "Créez un nouveau compte Ecwid afin de pouvoir gérer votre boutique et votre inventaire. L'inscription est gratuite."
129
+ msgid "Create new Ecwid account"
130
+ msgstr "Créer un nouveau compte Ecwid"
131
+ msgid "I already have Ecwid account, sign in"
132
+ msgstr "J'ai déjà un compte Ecwid, se connecter"
133
+ msgid "You will be able to sign up through your existing Google, Facebook or PayPal profiles as well."
134
+ msgstr "Vous pourrez aussi vous connecter avec vos comptes Google, Facebook ou PayPal existants."
135
+ msgid "Find your Store ID"
136
+ msgstr "Trouver votre Numéro de Boutique."
137
+ 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."
138
+ msgstr "Le Numéro de Boutique est le code unique de votre boutique Ecwid, il est constitué de plusieurs chiffres. Vous pouvez le trouver sur la page \"Tableau de Bord\" du panneau de contrôle d'Ecwid. Le Numéro de Boutique sera aussi envoyé dans l'email de bienvenu après l'inscription."
139
+ msgid "Enter your Store ID"
140
+ msgstr "Entrer votre Numéro de Boutique"
141
+ msgid "Enter your Store ID here:"
142
+ msgstr "Entrez votre Numéro de Boutique ici :"
143
+ msgid "Store ID"
144
+ msgstr "Numéro de Boutique"
145
+ msgid "Save and connect your Ecwid store to the site"
146
+ msgstr "Sauvegardez et connectez votre boutique Ecwid au site."
147
+ msgid "Questions? Visit <a href=\"http://help.ecwid.com/?source=wporg\">Ecwid support center</a>"
148
+ msgstr "Des questions? Visitez le <a href=\"http://help.ecwid.com/?source=wporg\">centre d'assistance Ecwid</a>"
149
+ msgid "Congratulations!"
150
+ msgstr "Félicitations !"
151
+ msgid "Your Ecwid store is now connected to your WordPress website"
152
+ msgstr "Votre boutique Ecwid est maintenant connectée à votre site WordPress"
153
+ msgid "Greetings!"
154
+ msgstr "Salutations !"
155
+ msgid "Your Ecwid store is connected to your WordPress website"
156
+ msgstr "Votre boutique Ecwid est connectée à votre site WordPress"
157
+ msgid "Control panel"
158
+ msgstr "Panneau de contrôle"
159
+ msgid "Account status"
160
+ msgstr "Statut du compte"
161
+ msgid "Paid"
162
+ msgstr "Payant"
163
+ msgid "Free"
164
+ msgstr "Gratuit"
165
+ msgid "Thank you for supporting Ecwid!"
166
+ msgstr "Merci pour le soutien apporté à Ecwid !"
167
+ msgid "Upgrade to get access to cool premium features."
168
+ msgstr "Surclassez votre compte pour accéder à de super fonctionnalités premium."
169
+ msgid "Billing and plans"
170
+ msgstr ""
171
+ msgid "Upgrade"
172
+ msgstr ""
173
+ msgid "If you want to connect another Ecwid store, you can <a %s>disconnect the current one and change Store ID</a>."
174
+ msgstr ""
languages/ecwid-shopping-cart-pt_BR.po CHANGED
@@ -1,182 +1,182 @@
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
- msgid "Ecwid Shopping Cart"
10
- msgstr ""
11
- 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."
12
- msgstr ""
13
- msgid "Ecwid Team"
14
- msgstr ""
15
- msgid "Get help"
16
- msgstr "Obter Ajuda"
17
- msgid "Go to Ecwid site"
18
- msgstr "Ir para o sítio Ecwid"
19
- msgid "Visit storefront"
20
- msgstr "Visitar frente da loja"
21
- msgid "Manage my store"
22
- msgstr "Gerir a minha loja"
23
- msgid "Manage plugin settings"
24
- msgstr "Gerir definições de plugin"
25
- msgid "→ Sell on Facebook"
26
- msgstr "→ Vender no Facebook"
27
- msgid "Online store powered by <a %s>Ecwid</a>"
28
- msgstr ""
29
- msgid "Store"
30
- msgstr "Loja"
31
- 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."
32
- 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."
33
- 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)"
34
- msgstr ""
35
- msgid "Ecwid shopping cart settings"
36
- msgstr ""
37
- msgid "Ecwid Store"
38
- msgstr "Loja Ecwid"
39
- msgid "General settings"
40
- msgstr "Definições Gerais"
41
- msgid "General"
42
- msgstr "Geral"
43
- msgid "Appearance settings"
44
- msgstr "Definições de Aparência"
45
- msgid "Appearance"
46
- msgstr "Aparência"
47
- msgid "Advanced settings"
48
- msgstr "Definições Avançadas"
49
- msgid "Advanced"
50
- msgstr "Avançadas"
51
- msgid "Setup"
52
- msgstr ""
53
- msgid "Your store's minicart"
54
- msgstr "O minicart da sua loja"
55
- msgid "Ecwid Shopping Bag (Normal)"
56
- msgstr "Saco de compras Ecwid (Normal)"
57
- msgid "Ecwid Shopping Bag (Mini view)"
58
- msgstr "Saco de compras Ecwid (Vista mini)"
59
- msgid "Your store's search box"
60
- msgstr "A barra de pesquisa da sua loja"
61
- msgid "Ecwid Search Box"
62
- msgstr "Barra de pesquisa Ecwid"
63
- msgid "Vertical menu of categories"
64
- msgstr "Menu vertical de categorias"
65
- msgid "Ecwid Vertical Categories"
66
- msgstr "Categorias verticais Ecwid"
67
- msgid "Price"
68
- msgstr ""
69
- msgid "Ecwid Shopping Cart — Advanced settings"
70
- msgstr "Carrinho de compras Ecwid — Definições Avançadas"
71
- msgid "Category shown by default"
72
- msgstr "Categoria mostrada por defeito"
73
- msgid "Store root category"
74
- msgstr "Categoria de raiz de loja"
75
- msgid "Default category ID"
76
- msgstr "Identificação de categoria por defeito"
77
- 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."
78
- 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."
79
- msgid "In order to set this option, <a %s>find an ID of the necessary category</a> and save it here."
80
- msgstr "De modo a configurar esta opção, <a %s> encontra um ID da categoria necessária</a>, salvando-a."
81
- msgid "Single Sign-On Secret Key"
82
- msgstr "Chave Secreta e Iniciar Sessão Único"
83
- 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."
84
- 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."
85
- 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."
86
- 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."
87
- msgid "Save changes"
88
- msgstr "Salvar alterações"
89
- msgid "Ecwid Shopping Cart — Appearance settings"
90
- msgstr "Carrinho de compras Ecwid — Definições Aparência"
91
- msgid "Display search box above products"
92
- msgstr "Mostrar barra de pesquisa acima dos produtos"
93
- msgid "Or you can add search box to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
94
- msgstr "Ou você pode adicionar uma barra de pesquisa no seu sítio usando <a href=\"%s\">widgets nativos do WordPress</a>"
95
- msgid "Display horizontal categories above products"
96
- msgstr "Mostrar categorias horizontais acima dos produtos"
97
- msgid "Or you can add vertical categories to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
98
- 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>"
99
- msgid "Enable minicart attached to horizontal categories"
100
- msgstr "Ativar minicart anexado às categorias horizontais"
101
- msgid "You should disable this option, if you added minicart to your website's&nbsp;sidebar"
102
- msgstr "Deverá desativar esta opção se você adicionou o minicart à barra lateral do seu sítio"
103
- msgid "Number of categories per row"
104
- msgstr "Número de categorias por fila"
105
- msgid "Number of products per page"
106
- msgstr "Número de produtos por página"
107
- msgid "Grid view"
108
- msgstr "Vista Grelha"
109
- msgid "List view"
110
- msgstr "Vista Lista"
111
- msgid "Table view"
112
- msgstr "Vista Tabela"
113
- 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."
114
- 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."
115
- msgid "Default view mode on product pages"
116
- msgstr "Vista padrão nas páginas de produtos"
117
- msgid "Grid"
118
- msgstr "Grelha"
119
- msgid "List"
120
- msgstr "Lista"
121
- msgid "Table"
122
- msgstr "Tabela"
123
- msgid "Default view mode on search results"
124
- msgstr "Vista Padrão nos resultados de pesquisa"
125
- msgid "Store powered by Ecwid"
126
- msgstr ""
127
- msgid "Ecwid Shopping Cart — General settings"
128
- msgstr "Carrinho de Compras Ecwid — Definições Gerais"
129
- msgid "Thank you for choosing Ecwid to build your online store"
130
- msgstr "Obrigado por escolher Ecwid para construir a sua loja online"
131
- 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."
132
- 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."
133
- msgid "Register at Ecwid"
134
- msgstr "Registe-se na Ecwid"
135
- msgid "Create a new Ecwid account which you will use to manage your store and inventory. The registration is free."
136
- msgstr "Crie uma nova conta Ecwid que você utilizará para gerir a sua loja e inventário. O registo é grátis."
137
- msgid "Create new Ecwid account"
138
- msgstr "Crie uma nova conta Ecwid"
139
- msgid "I already have Ecwid account, sign in"
140
- msgstr "Já tenho uma conta Ecwid, iniciar sessão"
141
- msgid "You will be able to sign up through your existing Google, Facebook or PayPal profiles as well."
142
- msgstr "Você conseguirá iniciar sessão atráves dos seus perfis existentes do Google, Facebook ou PayPal."
143
- msgid "Find your Store ID"
144
- msgstr "Obtenha a sua ID de loja"
145
- 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."
146
- 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. "
147
- msgid "Enter your Store ID"
148
- msgstr "Insira a sua ID de Loja"
149
- msgid "Enter your Store ID here:"
150
- msgstr "Insira a sua ID de Loja aqui:"
151
- msgid "Store ID"
152
- msgstr "ID de Loja "
153
- msgid "Save and connect your Ecwid store to the site"
154
- msgstr "Salve e conete a sua loja Ecwid ao sítio"
155
- msgid "Questions? Visit <a href=\"http://help.ecwid.com/?source=wporg\">Ecwid support center</a>"
156
- msgstr "Questões? Visite <a href=\"http://help.ecwid.com/?source=wporg\"> Centro de Apoio Ecwid</a>"
157
- msgid "Congratulations!"
158
- msgstr "Parabéns!"
159
- msgid "Your Ecwid store is now connected to your WordPress website"
160
- msgstr "A sua loja Ecwid está agora conetada ao seu sítio WorkPress"
161
- msgid "Greetings!"
162
- msgstr "Saudações!"
163
- msgid "Your Ecwid store is connected to your WordPress website"
164
- msgstr "A sua loja Ecwid está agora conetada ao seu sítio WorkPress"
165
- msgid "Control panel"
166
- msgstr "Painel de Controle"
167
- msgid "Account status"
168
- msgstr "Estado de Conta"
169
- msgid "Paid"
170
- msgstr "Pago"
171
- msgid "Free"
172
- msgstr "Grátis"
173
- msgid "Thank you for supporting Ecwid!"
174
- msgstr "Obrigado por apoiar Ecwid!"
175
- msgid "Upgrade to get access to cool premium features."
176
- msgstr "Atualize para ter acesso a características premium convenientes."
177
- msgid "Billing and plans"
178
- msgstr ""
179
- msgid "Upgrade"
180
- msgstr ""
181
- msgid "If you want to connect another Ecwid store, you can <a %s>disconnect the current one and change Store ID</a>."
182
  msgstr ""
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
+ msgid "Ecwid Shopping Cart"
10
+ msgstr ""
11
+ 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."
12
+ msgstr ""
13
+ msgid "Ecwid Team"
14
+ msgstr ""
15
+ msgid "Get help"
16
+ msgstr "Obter Ajuda"
17
+ msgid "Go to Ecwid site"
18
+ msgstr "Ir para o sítio Ecwid"
19
+ msgid "Visit storefront"
20
+ msgstr "Visitar frente da loja"
21
+ msgid "Manage my store"
22
+ msgstr "Gerir a minha loja"
23
+ msgid "Manage plugin settings"
24
+ msgstr "Gerir definições de plugin"
25
+ msgid "→ Sell on Facebook"
26
+ msgstr "→ Vender no Facebook"
27
+ msgid "Online store powered by <a %s>Ecwid</a>"
28
+ msgstr ""
29
+ msgid "Store"
30
+ msgstr "Loja"
31
+ 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."
32
+ 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."
33
+ 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)"
34
+ msgstr ""
35
+ msgid "Ecwid shopping cart settings"
36
+ msgstr ""
37
+ msgid "Ecwid Store"
38
+ msgstr "Loja Ecwid"
39
+ msgid "General settings"
40
+ msgstr "Definições Gerais"
41
+ msgid "General"
42
+ msgstr "Geral"
43
+ msgid "Appearance settings"
44
+ msgstr "Definições de Aparência"
45
+ msgid "Appearance"
46
+ msgstr "Aparência"
47
+ msgid "Advanced settings"
48
+ msgstr "Definições Avançadas"
49
+ msgid "Advanced"
50
+ msgstr "Avançadas"
51
+ msgid "Setup"
52
+ msgstr ""
53
+ msgid "Your store's minicart"
54
+ msgstr "O minicart da sua loja"
55
+ msgid "Ecwid Shopping Bag (Normal)"
56
+ msgstr "Saco de compras Ecwid (Normal)"
57
+ msgid "Ecwid Shopping Bag (Mini view)"
58
+ msgstr "Saco de compras Ecwid (Vista mini)"
59
+ msgid "Your store's search box"
60
+ msgstr "A barra de pesquisa da sua loja"
61
+ msgid "Ecwid Search Box"
62
+ msgstr "Barra de pesquisa Ecwid"
63
+ msgid "Vertical menu of categories"
64
+ msgstr "Menu vertical de categorias"
65
+ msgid "Ecwid Vertical Categories"
66
+ msgstr "Categorias verticais Ecwid"
67
+ msgid "Price"
68
+ msgstr ""
69
+ msgid "Ecwid Shopping Cart — Advanced settings"
70
+ msgstr "Carrinho de compras Ecwid — Definições Avançadas"
71
+ msgid "Category shown by default"
72
+ msgstr "Categoria mostrada por defeito"
73
+ msgid "Store root category"
74
+ msgstr "Categoria de raiz de loja"
75
+ msgid "Default category ID"
76
+ msgstr "Identificação de categoria por defeito"
77
+ 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."
78
+ 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."
79
+ msgid "In order to set this option, <a %s>find an ID of the necessary category</a> and save it here."
80
+ msgstr "De modo a configurar esta opção, <a %s> encontra um ID da categoria necessária</a>, salvando-a."
81
+ msgid "Single Sign-On Secret Key"
82
+ msgstr "Chave Secreta e Iniciar Sessão Único"
83
+ 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."
84
+ 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."
85
+ 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."
86
+ 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."
87
+ msgid "Save changes"
88
+ msgstr "Salvar alterações"
89
+ msgid "Ecwid Shopping Cart — Appearance settings"
90
+ msgstr "Carrinho de compras Ecwid — Definições Aparência"
91
+ msgid "Display search box above products"
92
+ msgstr "Mostrar barra de pesquisa acima dos produtos"
93
+ msgid "Or you can add search box to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
94
+ msgstr "Ou você pode adicionar uma barra de pesquisa no seu sítio usando <a href=\"%s\">widgets nativos do WordPress</a>"
95
+ msgid "Display horizontal categories above products"
96
+ msgstr "Mostrar categorias horizontais acima dos produtos"
97
+ msgid "Or you can add vertical categories to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
98
+ 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>"
99
+ msgid "Enable minicart attached to horizontal categories"
100
+ msgstr "Ativar minicart anexado às categorias horizontais"
101
+ msgid "You should disable this option, if you added minicart to your website's&nbsp;sidebar"
102
+ msgstr "Deverá desativar esta opção se você adicionou o minicart à barra lateral do seu sítio"
103
+ msgid "Number of categories per row"
104
+ msgstr "Número de categorias por fila"
105
+ msgid "Number of products per page"
106
+ msgstr "Número de produtos por página"
107
+ msgid "Grid view"
108
+ msgstr "Vista Grelha"
109
+ msgid "List view"
110
+ msgstr "Vista Lista"
111
+ msgid "Table view"
112
+ msgstr "Vista Tabela"
113
+ 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."
114
+ 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."
115
+ msgid "Default view mode on product pages"
116
+ msgstr "Vista padrão nas páginas de produtos"
117
+ msgid "Grid"
118
+ msgstr "Grelha"
119
+ msgid "List"
120
+ msgstr "Lista"
121
+ msgid "Table"
122
+ msgstr "Tabela"
123
+ msgid "Default view mode on search results"
124
+ msgstr "Vista Padrão nos resultados de pesquisa"
125
+ msgid "Store powered by Ecwid"
126
+ msgstr ""
127
+ msgid "Ecwid Shopping Cart — General settings"
128
+ msgstr "Carrinho de Compras Ecwid — Definições Gerais"
129
+ msgid "Thank you for choosing Ecwid to build your online store"
130
+ msgstr "Obrigado por escolher Ecwid para construir a sua loja online"
131
+ 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."
132
+ 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."
133
+ msgid "Register at Ecwid"
134
+ msgstr "Registe-se na Ecwid"
135
+ msgid "Create a new Ecwid account which you will use to manage your store and inventory. The registration is free."
136
+ msgstr "Crie uma nova conta Ecwid que você utilizará para gerir a sua loja e inventário. O registo é grátis."
137
+ msgid "Create new Ecwid account"
138
+ msgstr "Crie uma nova conta Ecwid"
139
+ msgid "I already have Ecwid account, sign in"
140
+ msgstr "Já tenho uma conta Ecwid, iniciar sessão"
141
+ msgid "You will be able to sign up through your existing Google, Facebook or PayPal profiles as well."
142
+ msgstr "Você conseguirá iniciar sessão atráves dos seus perfis existentes do Google, Facebook ou PayPal."
143
+ msgid "Find your Store ID"
144
+ msgstr "Obtenha a sua ID de loja"
145
+ 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."
146
+ 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. "
147
+ msgid "Enter your Store ID"
148
+ msgstr "Insira a sua ID de Loja"
149
+ msgid "Enter your Store ID here:"
150
+ msgstr "Insira a sua ID de Loja aqui:"
151
+ msgid "Store ID"
152
+ msgstr "ID de Loja "
153
+ msgid "Save and connect your Ecwid store to the site"
154
+ msgstr "Salve e conete a sua loja Ecwid ao sítio"
155
+ msgid "Questions? Visit <a href=\"http://help.ecwid.com/?source=wporg\">Ecwid support center</a>"
156
+ msgstr "Questões? Visite <a href=\"http://help.ecwid.com/?source=wporg\"> Centro de Apoio Ecwid</a>"
157
+ msgid "Congratulations!"
158
+ msgstr "Parabéns!"
159
+ msgid "Your Ecwid store is now connected to your WordPress website"
160
+ msgstr "A sua loja Ecwid está agora conetada ao seu sítio WorkPress"
161
+ msgid "Greetings!"
162
+ msgstr "Saudações!"
163
+ msgid "Your Ecwid store is connected to your WordPress website"
164
+ msgstr "A sua loja Ecwid está agora conetada ao seu sítio WorkPress"
165
+ msgid "Control panel"
166
+ msgstr "Painel de Controle"
167
+ msgid "Account status"
168
+ msgstr "Estado de Conta"
169
+ msgid "Paid"
170
+ msgstr "Pago"
171
+ msgid "Free"
172
+ msgstr "Grátis"
173
+ msgid "Thank you for supporting Ecwid!"
174
+ msgstr "Obrigado por apoiar Ecwid!"
175
+ msgid "Upgrade to get access to cool premium features."
176
+ msgstr "Atualize para ter acesso a características premium convenientes."
177
+ msgid "Billing and plans"
178
+ msgstr ""
179
+ msgid "Upgrade"
180
+ msgstr ""
181
+ msgid "If you want to connect another Ecwid store, you can <a %s>disconnect the current one and change Store ID</a>."
182
  msgstr ""
languages/ecwid-shopping-cart-ru_RU.mo CHANGED
Binary file
languages/ecwid-shopping-cart-ru_RU.po CHANGED
@@ -19,7 +19,7 @@ msgid "Get help"
19
  msgstr "Получить помощь"
20
 
21
  msgid "Go to Ecwid site"
22
- msgstr "Пройти на сайт Ecwid"
23
 
24
  msgid "Visit storefront"
25
  msgstr "Открыть страницу магазина"
@@ -34,13 +34,13 @@ msgid "→ Sell on Facebook"
34
  msgstr "→ Начать продавать на Facebook"
35
 
36
  msgid "<a %s>Online store powered by Ecwid</a>"
37
- msgstr "<a %s>Интернет магазин построен на Ecwid</a>"
38
 
39
  msgid "Store"
40
  msgstr "Магазин"
41
 
42
  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."
43
- msgstr "<strong>Магазин Ecwid почти готов к использованию</strong>. Пройдите по <a target=\"_blank\" href=\"%s\">ссылке</a>, чтобы посмотреть ваш магазин с демонстрационными продуктами. Чтобы закончить установку, пожалуйста, откройте страницу <a href=\"admin.php?page=ecwid\"><strong>настроек Ecwid</strong></a> и настройте плагин."
44
 
45
  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."
46
  msgstr "Вам нравится ваш Эквид-магазин? Будем благодарны, если вы оставите отзыв и проголосуете за Эквид на сайте WordPress."
@@ -79,43 +79,43 @@ msgid "Your store's minicart"
79
  msgstr "Корзина вашего магазина"
80
 
81
  msgid "Ecwid Shopping Bag (Normal)"
82
- msgstr "Корзина Ecwid (Основной режим)"
83
 
84
  msgid "Ecwid Shopping Bag (Mini view)"
85
- msgstr "Корзина Ecwid (Компактная)"
86
 
87
  msgid "Your store's search box"
88
  msgstr "Форма поиска по вашему магазину"
89
 
90
  msgid "Ecwid Search Box"
91
- msgstr "Поиск по магазину Ecwid"
92
 
93
  msgid "Vertical menu of categories"
94
  msgstr "Вертикальное меню категорий"
95
 
96
  msgid "Ecwid Vertical Categories"
97
- msgstr "Вертикальное меню категорий Ecwid"
98
 
99
  msgid "If you like Ecwid and want to help it grow and become the most popular e-commerce solution, you can now add a fancy 'Powered by Ecwid' badge on your site to show your visitors that you're a proud user of Ecwid."
100
- msgstr "Если вам нравится Ecwid и вы хотите помочь ему расти и стать самым популярным конструктором интернет-магазинов, вы можете добавить значок Ecwid на ваш сайт, чтобы показать посетителям, что вы пользуетесь Ecwid."
101
 
102
  msgid "Ecwid Badge"
103
- msgstr "Значок Ecwid"
104
 
105
  msgid "Ecwid shopping cart widget"
106
- msgstr "Виджет интернет-магазина Ecwid"
107
 
108
  msgid "Ecwid shopping cart"
109
- msgstr "Интернет-магазин Ecwid"
110
 
111
  msgid "Ecwid e-commerce widgets"
112
- msgstr "Виджеты для электронной коммерции Ecwid"
113
 
114
  msgid "Ecwid ecommerce solution"
115
- msgstr "Решение для электронной коммерции Ecwid"
116
 
117
  msgid "Ecwid free shopping cart"
118
- msgstr "Беспланный конструктов интернет-магазинов Ecwid"
119
 
120
  msgid "Price"
121
  msgstr "Цена"
@@ -142,10 +142,10 @@ msgid "Single Sign-On Secret Key"
142
  msgstr "Секретный ключ системы единой авторизации"
143
 
144
  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."
145
- msgstr "Эта функция позволяет включить систему единой авторизации: когда покупатели вошли в свой аккаунт на вашем сайте, они автоматически входят в свой аккаунт Ecwid, даже если раньше у них его не было. Эта функция может быть полезна в случае, если ваши посетители создают свои аккаунты на вашем сайте."
146
 
147
  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."
148
- msgstr "Чтобы включить эту функцию, вам необходимо ввести секретный ключ. Его можно найти в панели управления Ecwid в секции \"Настройки > API > Single Sign-on API\". Эта функция доступна только пользователям с <a href=\"http://www.ecwid.com/compare-plans.html\" target=\"_blank\">платным аккаунтом</a>."
149
 
150
  msgid "Save changes"
151
  msgstr "Сохранить изменения"
@@ -187,7 +187,7 @@ msgid "Table view"
187
  msgstr "Вид \"таблица\""
188
 
189
  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."
190
- msgstr "Здесь вы можете задать количество отображаемых продуктов на странице. Эти цифры определяют максимальные значения. Если на странице в сетке продуктов будет недостаточно места для отображения всех столбцов, Ecwid уменьшит их количество."
191
 
192
  msgid "Default view mode on product pages"
193
  msgstr "Вид страницы продуктов по умолчанию"
@@ -214,13 +214,13 @@ msgid "The first step towards opening your online business: <br />Let’s get st
214
  msgstr "Чтобы начать продавать онлайн, добавим магазин на вам сайт WordPress за <strong>3</strong> простых шага."
215
 
216
  msgid "Register at Ecwid"
217
- msgstr "Зарегистрируйтесь в Ecwid."
218
 
219
  msgid "Create a new Ecwid account which you will use to manage your store and inventory. The registration is free."
220
  msgstr "Создайте новый аккаунт Ecwid, которым вы будете пользоваться для управления своим магазином. Регистрация бесплатна."
221
 
222
  msgid "Create new Ecwid account"
223
- msgstr "Создать новый аккаунт Ecwid"
224
 
225
  msgid "I already have Ecwid account, sign in"
226
  msgstr "У меня уже есть аккаунт Ecwid, войти"
@@ -244,10 +244,10 @@ msgid "Store ID"
244
  msgstr "ID Магазина"
245
 
246
  msgid "Save and connect your Ecwid store to the site"
247
- msgstr "Сохранить и добавить магазин Ecwid на ваш сайт"
248
 
249
  msgid "Questions? Visit <a href=\"http://help.ecwid.com/?source=wporg\">Ecwid support center</a>"
250
- msgstr "Есть вопросы? Посетите <a href=\"http://help.ecwid.com/?source=wporg\">Центр поддержки Ecwid (англ)</a> или <a href=\"http://www.ecwid.com/forums/forumdisplay.php?f=10\"> русскоязычный раздел форума</a>"
251
 
252
  msgid "Congratulations!"
253
  msgstr "Поздравляем!"
@@ -274,7 +274,7 @@ msgid "Free"
274
  msgstr "Бесплатный"
275
 
276
  msgid "Thank you for supporting Ecwid!"
277
- msgstr "Спасибо вам за поддержку Ecwid!"
278
 
279
  msgid "Upgrade your account to get access to more Ecwid plugin features"
280
  msgstr "Расширенные возможности Эквида доступны на более дорогом тарифном плане"
@@ -286,7 +286,7 @@ msgid "Upgrade"
286
  msgstr "Апгрейд"
287
 
288
  msgid "If you want to connect another Ecwid store, you can <a %s>disconnect the current one and change Store ID</a>."
289
- msgstr "Если вы хотите подключить другой магазин Ecwid, вы можете <a %s>отключить этот и ввести другой ID Магазина</a>."
290
 
291
  msgid "Greetings! Your Ecwid store is now active."
292
  msgstr "Добро пожаловать в Эквид!"
19
  msgstr "Получить помощь"
20
 
21
  msgid "Go to Ecwid site"
22
+ msgstr "Пройти на сайт Эквида"
23
 
24
  msgid "Visit storefront"
25
  msgstr "Открыть страницу магазина"
34
  msgstr "→ Начать продавать на Facebook"
35
 
36
  msgid "<a %s>Online store powered by Ecwid</a>"
37
+ msgstr "<a %s>Интернет магазин построен на Эквиде</a>"
38
 
39
  msgid "Store"
40
  msgstr "Магазин"
41
 
42
  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."
43
+ msgstr "<strong>Эквид-магазин почти готов к использованию</strong>. Пройдите по <a target=\"_blank\" href=\"%s\">ссылке</a>, чтобы посмотреть ваш магазин с демонстрационными продуктами. Чтобы закончить установку, пожалуйста, откройте страницу <a href=\"admin.php?page=ecwid\"><strong>настроек Эквида</strong></a> и настройте плагин."
44
 
45
  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."
46
  msgstr "Вам нравится ваш Эквид-магазин? Будем благодарны, если вы оставите отзыв и проголосуете за Эквид на сайте WordPress."
79
  msgstr "Корзина вашего магазина"
80
 
81
  msgid "Ecwid Shopping Bag (Normal)"
82
+ msgstr "Корзина Эквида (Основной режим)"
83
 
84
  msgid "Ecwid Shopping Bag (Mini view)"
85
+ msgstr "Корзина Эквида (Компактная)"
86
 
87
  msgid "Your store's search box"
88
  msgstr "Форма поиска по вашему магазину"
89
 
90
  msgid "Ecwid Search Box"
91
+ msgstr "Поиск по Эквид-магазину"
92
 
93
  msgid "Vertical menu of categories"
94
  msgstr "Вертикальное меню категорий"
95
 
96
  msgid "Ecwid Vertical Categories"
97
+ msgstr "Вертикальное меню категорий Эквида"
98
 
99
  msgid "If you like Ecwid and want to help it grow and become the most popular e-commerce solution, you can now add a fancy 'Powered by Ecwid' badge on your site to show your visitors that you're a proud user of Ecwid."
100
+ msgstr "Если вам нравится Эквид и вы хотите помочь ему расти и стать самым популярным конструктором интернет-магазинов, вы можете добавить значок Эквида на ваш сайт, чтобы показать посетителям, что вы пользуетесь Эквидом."
101
 
102
  msgid "Ecwid Badge"
103
+ msgstr "Значок Эквида"
104
 
105
  msgid "Ecwid shopping cart widget"
106
+ msgstr "Виджет интернет-магазина Эквид"
107
 
108
  msgid "Ecwid shopping cart"
109
+ msgstr "Интернет-магазин Эквид"
110
 
111
  msgid "Ecwid e-commerce widgets"
112
+ msgstr "Виджеты для электронной коммерции Эквид"
113
 
114
  msgid "Ecwid ecommerce solution"
115
+ msgstr "Решение для электронной коммерции Эквид"
116
 
117
  msgid "Ecwid free shopping cart"
118
+ msgstr "Беспланный конструктов интернет-магазинов Эквид"
119
 
120
  msgid "Price"
121
  msgstr "Цена"
142
  msgstr "Секретный ключ системы единой авторизации"
143
 
144
  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."
145
+ msgstr "Эта функция позволяет включить систему единой авторизации: когда покупатели вошли в свой аккаунт на вашем сайте, они автоматически входят в свой Эквид-аккаунт, даже если раньше у них его не было. Эта функция может быть полезна в случае, если ваши посетители создают свои аккаунты на вашем сайте."
146
 
147
  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."
148
+ msgstr "Чтобы включить эту функцию, вам необходимо ввести секретный ключ. Его можно найти в панели управления Эквида в секции \"Настройки > API > Single Sign-on API\". Эта функция доступна только пользователям с <a href=\"http://www.ecwid.com/compare-plans.html\" target=\"_blank\">платным аккаунтом</a>."
149
 
150
  msgid "Save changes"
151
  msgstr "Сохранить изменения"
187
  msgstr "Вид \"таблица\""
188
 
189
  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."
190
+ msgstr "Здесь вы можете задать количество отображаемых продуктов на странице. Эти цифры определяют максимальные значения. Если на странице в сетке продуктов будет недостаточно места для отображения всех столбцов, Эквид уменьшит их количество."
191
 
192
  msgid "Default view mode on product pages"
193
  msgstr "Вид страницы продуктов по умолчанию"
214
  msgstr "Чтобы начать продавать онлайн, добавим магазин на вам сайт WordPress за <strong>3</strong> простых шага."
215
 
216
  msgid "Register at Ecwid"
217
+ msgstr "Зарегистрируйтесь в Эквиде."
218
 
219
  msgid "Create a new Ecwid account which you will use to manage your store and inventory. The registration is free."
220
  msgstr "Создайте новый аккаунт Ecwid, которым вы будете пользоваться для управления своим магазином. Регистрация бесплатна."
221
 
222
  msgid "Create new Ecwid account"
223
+ msgstr "Создать новый аккаунт в Эквиде"
224
 
225
  msgid "I already have Ecwid account, sign in"
226
  msgstr "У меня уже есть аккаунт Ecwid, войти"
244
  msgstr "ID Магазина"
245
 
246
  msgid "Save and connect your Ecwid store to the site"
247
+ msgstr "Сохранить и добавить магазин Эквид на ваш сайт"
248
 
249
  msgid "Questions? Visit <a href=\"http://help.ecwid.com/?source=wporg\">Ecwid support center</a>"
250
+ msgstr "Есть вопросы? Посетите <a href=\"http://help.ecwid.com/?source=wporg\">Центр поддержки Эквида (англ)</a> или <a href=\"http://www.ecwid.com/forums/forumdisplay.php?f=10\"> русскоязычный раздел форума</a>"
251
 
252
  msgid "Congratulations!"
253
  msgstr "Поздравляем!"
274
  msgstr "Бесплатный"
275
 
276
  msgid "Thank you for supporting Ecwid!"
277
+ msgstr "Спасибо вам за поддержку Эквида!"
278
 
279
  msgid "Upgrade your account to get access to more Ecwid plugin features"
280
  msgstr "Расширенные возможности Эквида доступны на более дорогом тарифном плане"
286
  msgstr "Апгрейд"
287
 
288
  msgid "If you want to connect another Ecwid store, you can <a %s>disconnect the current one and change Store ID</a>."
289
+ msgstr "Если вы хотите подключить другой Эквид-магазин, вы можете <a %s>отключить этот и ввести другой ID Магазина</a>."
290
 
291
  msgid "Greetings! Your Ecwid store is now active."
292
  msgstr "Добро пожаловать в Эквид!"
languages/ecwid-shopping-cart.pot CHANGED
@@ -25,7 +25,7 @@ msgstr ""
25
  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."
26
  msgstr ""
27
 
28
- 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)"
29
  msgstr ""
30
 
31
  msgid "Ecwid shopping cart settings"
@@ -55,6 +55,9 @@ msgstr ""
55
  msgid "Setup"
56
  msgstr ""
57
 
 
 
 
58
  msgid "Your store's minicart"
59
  msgstr ""
60
 
@@ -100,7 +103,7 @@ msgstr ""
100
  msgid "Price"
101
  msgstr ""
102
 
103
- msgid "Ecwid Shopping Cart - Advanced settings"
104
  msgstr ""
105
 
106
  msgid "Category shown by default"
@@ -130,25 +133,25 @@ msgstr ""
130
  msgid "Save changes"
131
  msgstr ""
132
 
133
- msgid "Ecwid Shopping Cart - Appearance settings"
134
  msgstr ""
135
 
136
  msgid "Display search box above products"
137
  msgstr ""
138
 
139
- msgid "Or you can add search box to your website's toolbar using <a href=\"widgets.php\">WordPress native widgets</a>."
140
  msgstr ""
141
 
142
  msgid "Display horizontal categories above products"
143
  msgstr ""
144
 
145
- msgid "Or you can add vertical categories to your website's toolbar using <a href=\"widgets.php\">WordPress native widgets</a>."
146
  msgstr ""
147
 
148
  msgid "Enable minicart attached to horizontal categories"
149
  msgstr ""
150
 
151
- msgid "You should disable this option, if you added minicart to your website's&nbsp;sidebar."
152
  msgstr ""
153
 
154
  msgid "Number of categories per row"
@@ -184,10 +187,10 @@ msgstr ""
184
  msgid "Default view mode on search results"
185
  msgstr ""
186
 
187
- msgid "Ecwid Shopping Cart - General settings"
188
  msgstr ""
189
 
190
- msgid "Thank you for choosing Ecwid to build your online store."
191
  msgstr ""
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."
@@ -205,7 +208,7 @@ msgstr ""
205
  msgid "I already have Ecwid account, sign in"
206
  msgstr ""
207
 
208
- msgid "You will be able to sign up through your exising Google, Facebook or PayPal profiles as well."
209
  msgstr ""
210
 
211
  msgid "Find your Store ID"
@@ -226,19 +229,19 @@ msgstr ""
226
  msgid "Save and connect your Ecwid store to the site"
227
  msgstr ""
228
 
229
- msgid "Questions? Visit <a href=\"http://help.ecwid.com/?source=wporg\">Ecwid support center</a>."
230
  msgstr ""
231
 
232
  msgid "Congratulations!"
233
  msgstr ""
234
 
235
- msgid "Your Ecwid store is now connected to your WordPress website."
236
  msgstr ""
237
 
238
  msgid "Greetings!"
239
  msgstr ""
240
 
241
- msgid "Your Ecwid store is connected to your WordPress website."
242
  msgstr ""
243
 
244
  msgid "Control panel"
@@ -256,7 +259,7 @@ msgstr ""
256
  msgid "Thank you for supporting Ecwid!"
257
  msgstr ""
258
 
259
- msgid "Upgrade to get access to cool premium features."
260
  msgstr ""
261
 
262
  msgid "Billing and plans"
@@ -268,3 +271,44 @@ msgstr ""
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 ""
270
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  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."
26
  msgstr ""
27
 
28
+ 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."
29
  msgstr ""
30
 
31
  msgid "Ecwid shopping cart settings"
55
  msgid "Setup"
56
  msgstr ""
57
 
58
+ msgid "Hidden category"
59
+ msgstr ""
60
+
61
  msgid "Your store's minicart"
62
  msgstr ""
63
 
103
  msgid "Price"
104
  msgstr ""
105
 
106
+ msgid "Ecwid Shopping Cart Advanced settings"
107
  msgstr ""
108
 
109
  msgid "Category shown by default"
133
  msgid "Save changes"
134
  msgstr ""
135
 
136
+ msgid "Ecwid Shopping Cart Appearance settings"
137
  msgstr ""
138
 
139
  msgid "Display search box above products"
140
  msgstr ""
141
 
142
+ msgid "Or you can add search box to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
143
  msgstr ""
144
 
145
  msgid "Display horizontal categories above products"
146
  msgstr ""
147
 
148
+ msgid "Or you can add vertical categories to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
149
  msgstr ""
150
 
151
  msgid "Enable minicart attached to horizontal categories"
152
  msgstr ""
153
 
154
+ msgid "You should disable this option, if you added minicart to your website's&nbsp;sidebar"
155
  msgstr ""
156
 
157
  msgid "Number of categories per row"
187
  msgid "Default view mode on search results"
188
  msgstr ""
189
 
190
+ msgid "Ecwid Shopping Cart General settings"
191
  msgstr ""
192
 
193
+ msgid "Thank you for choosing Ecwid to build your online store"
194
  msgstr ""
195
 
196
  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."
208
  msgid "I already have Ecwid account, sign in"
209
  msgstr ""
210
 
211
+ msgid "You will be able to sign up through your existing Google, Facebook or PayPal profiles as well."
212
  msgstr ""
213
 
214
  msgid "Find your Store ID"
229
  msgid "Save and connect your Ecwid store to the site"
230
  msgstr ""
231
 
232
+ msgid "Questions? Visit <a href=\"http://help.ecwid.com/?source=wporg\">Ecwid support center</a>"
233
  msgstr ""
234
 
235
  msgid "Congratulations!"
236
  msgstr ""
237
 
238
+ msgid "Your Ecwid store is now connected to your WordPress website"
239
  msgstr ""
240
 
241
  msgid "Greetings!"
242
  msgstr ""
243
 
244
+ msgid "Your Ecwid store is connected to your WordPress website"
245
  msgstr ""
246
 
247
  msgid "Control panel"
259
  msgid "Thank you for supporting Ecwid!"
260
  msgstr ""
261
 
262
+ msgid "Upgrade your account to get access to more Ecwid plugin features"
263
  msgstr ""
264
 
265
  msgid "Billing and plans"
271
  msgid "If you want to connect another Ecwid store, you can <a %s>disconnect the current one and change Store ID</a>."
272
  msgstr ""
273
 
274
+ msgid "Greetings! Your Ecwid store is now active."
275
+ msgstr ""
276
+
277
+ msgid "Take a few simple steps to complete store setup"
278
+ msgstr ""
279
+
280
+ msgid "Set up Ecwid Store"
281
+ msgstr ""
282
+
283
+ msgid "Never show this message again"
284
+ msgstr ""
285
+
286
+ msgid "Good job! Your store is set up and you're ready to sell."
287
+ msgstr ""
288
+
289
+ msgid "Now you can fine-tune your store's appearance"
290
+ msgstr ""
291
+
292
+ msgid "Visit Storefront"
293
+ msgstr ""
294
+
295
+ msgid "Configure Appearance"
296
+ msgstr ""
297
+
298
+ msgid "Your store is almost ready!"
299
+ msgstr ""
300
+
301
+ msgid "Connect your Ecwid account with this site to complete setup and start selling"
302
+ msgstr ""
303
+
304
+ msgid "Connect Your Ecwid Store"
305
+ msgstr ""
306
+
307
+ 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."
308
+ msgstr ""
309
+
310
+ msgid "Back to Store Settings"
311
+ msgstr ""
312
+
313
+ msgid "Rate Ecwid at WordPress.org"
314
+ msgstr ""
lib/class-ecwid-message-manager.php CHANGED
@@ -1,232 +1,236 @@
1
- <?php
2
-
3
- class Ecwid_Message_Manager
4
- {
5
- protected $messages = array();
6
-
7
- protected function Ecwid_Message_Manager()
8
- {
9
- $this->init_messages();
10
- }
11
-
12
- public static function show_messages()
13
- {
14
- $mm = self::get_instance();
15
-
16
- foreach ($mm->messages as $name => $message) {
17
- if ($mm->need_to_show_message($name)) {
18
- $mm->show_message($name);
19
- }
20
- }
21
- }
22
-
23
- public static function show_message($name, $params = array())
24
- {
25
- $mm = self::get_instance();
26
-
27
- $mm->need_to_show_message($name);
28
-
29
- if (!isset($mm->messages[$name]) && empty($params)) {
30
- trigger_error('Ecwid plugin error: unknown message ' . $name);
31
- return;
32
- }
33
-
34
- $params = $mm->get_message_params($name, $params);
35
-
36
- $type = $params['type'];
37
-
38
- $title = $params['title'];
39
- $message = $params['message'];
40
-
41
- $primary_button = isset($params['primary_title']);
42
- if ($primary_button) {
43
- $primary_title = $params['primary_title'];
44
- $primary_url = $params['primary_url'];
45
- $primary_blank = @$params['primary_blank'];
46
- }
47
- $secondary_button = isset($params['secondary_title']);
48
- if ($secondary_button) {
49
- $secondary_title = $params['secondary_title'];
50
- $secondary_url = $params['secondary_url'];
51
- $secondary_blank = $params['secondary_blank'];
52
- }
53
-
54
- $do_not_show_again = true == $params['hideable'];
55
-
56
- include ECWID_PLUGIN_DIR . '/templates/admin-message.php';
57
- }
58
-
59
- public static function disable_message($name)
60
- {
61
- $messages = get_option('ecwid_disabled_messages');
62
- $messages[$name] = true;
63
-
64
- update_option('ecwid_disabled_messages', $messages);
65
- }
66
-
67
- public static function enable_message($name)
68
- {
69
- $messages = get_option('ecwid_disabled_messages');
70
- if (isset($messages['name']))
71
- unset($messages['name']);
72
-
73
- update_option('ecwid_disabled_messages', $messages);
74
- }
75
-
76
- public static function reset_hidden_messages()
77
- {
78
- $hidden_messages = array();
79
-
80
- $messages = self::get_default_messages();
81
- foreach ($messages as $name => $message) {
82
- if (isset($message['default']) && $message['default'] == 'hidden') {
83
- $hidden_messages[$name] = true;
84
- }
85
- }
86
-
87
- update_option('ecwid_disabled_messages', array());
88
- }
89
-
90
- protected static function get_instance()
91
- {
92
- static $instance = null;
93
-
94
- if (is_null($instance)) {
95
- $instance = new Ecwid_Message_Manager();
96
- }
97
-
98
- return $instance;
99
- }
100
-
101
- protected function init_messages()
102
- {
103
- $this->messages = $this->get_default_messages();
104
-
105
- $hidden_messages = get_option('ecwid_disabled_messages');
106
-
107
- if ( !empty( $hidden_messages ) ) {
108
- foreach ($hidden_messages as $name => $message) {
109
- unset ($this->messages[$name]);
110
- }
111
- }
112
- }
113
-
114
- protected function get_message_params($name, $params)
115
- {
116
- if (is_array($name)) {
117
- $params = $name;
118
- $name = '';
119
- }
120
-
121
- if (isset($this->messages[$name])) {
122
- $params = array_merge(
123
- array('type' => 'info', 'title' => '', 'message' => '', 'hideable' => false),
124
- $this->messages[$name],
125
- $params
126
- );
127
- }
128
-
129
- if ($name == 'on_storeid_set') {
130
- $params['primary_url'] = ecwid_get_store_page_url();
131
- }
132
-
133
- $types_map = array(
134
- 'info' => 'updated',
135
- 'warning' => 'update-nag',
136
- 'error' => 'error'
137
- );
138
- $params['type'] = $types_map[$params['type']];
139
-
140
- return $params;
141
- }
142
-
143
- protected function get_default_messages()
144
- {
145
- return array(
146
- 'on_activate' => array(
147
- 'title' => __('Greetings! Your Ecwid store is now active.', 'ecwid-shopping-cart'),
148
- 'message' => __('Take a few simple steps to complete store setup', 'ecwid-shopping-cart'),
149
- 'primary_title' => __('Set up Ecwid Store', 'ecwid-shopping-cart'),
150
- 'primary_url' => 'admin.php?page=ecwid',
151
- 'hideable' => true,
152
- 'default' => 'disabled'
153
- ),
154
-
155
- 'on_storeid_set' => array(
156
- 'title' => __('Good job! Your store is set up and you\'re ready to sell.', 'ecwid-shopping-cart'),
157
- 'message' => __('Now you can fine-tune your store\'s appearance', 'ecwid-shopping-cart'),
158
- 'primary_title' => __('Visit Storefront', 'ecwid-shopping-cart'),
159
- 'primary_url' => '',
160
- 'primary_blank' => true,
161
- 'secondary_title' => __('Configure Appearance', 'ecwid-shopping-cart'),
162
- 'secondary_url' => 'admin.php?page=ecwid-appearance',
163
- 'hideable' => true
164
- ),
165
-
166
- 'no_storeid_on_setup_pages' => array(
167
- 'type' => 'warning',
168
- 'title' => __('Your store is almost ready!', 'ecwid-shopping-cart' ),
169
- 'message' => __('Connect your Ecwid account with this site to complete setup and start selling', 'ecwid-shopping-cart' ),
170
- 'primary_title' => __('Connect Your Ecwid Store', 'ecwid-shopping-cart' ),
171
- 'primary_url' => 'admin.php?page=ecwid',
172
- 'hideable' => true
173
- ),
174
-
175
- 'on_appearance_widgets' => array(
176
- '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' ),
177
- 'secondary_title' => __('Back to Store Settings', 'ecwid-shopping-cart'),
178
- 'secondary_url' => 'admin.php?page=ecwid-appearance',
179
- 'hideable' => true
180
- ),
181
-
182
- 'please_vote' => array(
183
- 'message' => sprintf(
184
- __('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'),
185
- 'target="_blank" href="http://wordpress.org/support/view/plugin-reviews/ecwid-shopping-cart"'
186
- ),
187
- 'primary_title' => __('Rate Ecwid at WordPress.org', 'ecwid-shopping-cart'),
188
- 'primary_url' => 'http://wordpress.org/support/view/plugin-reviews/ecwid-shopping-cart',
189
- 'hideable' => true
190
- )
191
- );
192
- }
193
-
194
- protected function need_to_show_message($name)
195
- {
196
- $screen = get_current_screen();
197
-
198
- switch ($name) {
199
- case 'on_activate':
200
- return $screen->base == 'plugins' && get_ecwid_store_id() == ECWID_DEMO_STORE_ID;
201
-
202
- case 'on_storeid_set':
203
- return get_ecwid_store_id() != ECWID_DEMO_STORE_ID && $_GET['settings-updated'] == 'true' && $screen->base == 'toplevel_page_ecwid';
204
-
205
- case 'no_storeid_on_setup_pages':
206
- return get_ecwid_store_id() == ECWID_DEMO_STORE_ID
207
- && in_array($screen->base, array('ecwid-store_page_ecwid-advanced', 'ecwid-store_page_ecwid-appearance'));
208
-
209
- case 'on_appearance_widgets':
210
- return isset($_GET['from-ecwid-appearance']) && $screen->base == 'widgets';
211
-
212
- case 'please_vote':
213
- $install_date = get_option('ecwid_installation_date');
214
-
215
- $result = false;
216
- if (!$install_date) {
217
- add_option('ecwid_installation_date', time());
218
- } else {
219
- $result = ecwid_is_paid_account() && $install_date + 60*60*24*30 < time();
220
- }
221
-
222
- foreach ($this->messages as $_name => $message) {
223
- if ($_name != $name && $this->need_to_show_message($_name)) {
224
- return false;
225
- }
226
- }
227
-
228
- return $result;
229
- }
230
- }
231
-
232
- }
 
 
 
 
1
+ <?php
2
+
3
+ class Ecwid_Message_Manager
4
+ {
5
+ protected $messages = array();
6
+
7
+ protected function Ecwid_Message_Manager()
8
+ {
9
+ $this->init_messages();
10
+ }
11
+
12
+ public static function show_messages()
13
+ {
14
+ $mm = self::get_instance();
15
+
16
+ foreach ($mm->messages as $name => $message) {
17
+ if ($mm->need_to_show_message($name)) {
18
+ $mm->show_message($name);
19
+ }
20
+ }
21
+ }
22
+
23
+ public static function show_message($name, $params = array())
24
+ {
25
+ $mm = self::get_instance();
26
+
27
+ $mm->need_to_show_message($name);
28
+
29
+ if (!isset($mm->messages[$name]) && empty($params)) {
30
+ trigger_error('Ecwid plugin error: unknown message ' . $name);
31
+ return;
32
+ }
33
+
34
+ $params = $mm->get_message_params($name, $params);
35
+
36
+ $type = $params['type'];
37
+
38
+ $title = $params['title'];
39
+ $message = $params['message'];
40
+
41
+ $primary_button = isset($params['primary_title']);
42
+ if ($primary_button) {
43
+ $primary_title = $params['primary_title'];
44
+ $primary_url = $params['primary_url'];
45
+ $primary_blank = @$params['primary_blank'];
46
+ }
47
+ $secondary_button = isset($params['secondary_title']);
48
+ if ($secondary_button) {
49
+ $secondary_title = $params['secondary_title'];
50
+ $secondary_url = $params['secondary_url'];
51
+ $secondary_blank = $params['secondary_blank'];
52
+ }
53
+
54
+ $do_not_show_again = true == $params['hideable'];
55
+
56
+ include ECWID_PLUGIN_DIR . '/templates/admin-message.php';
57
+ }
58
+
59
+ public static function disable_message($name)
60
+ {
61
+ $messages = get_option('ecwid_disabled_messages');
62
+ $messages[$name] = true;
63
+
64
+ update_option('ecwid_disabled_messages', $messages);
65
+ }
66
+
67
+ public static function enable_message($name)
68
+ {
69
+ $messages = get_option('ecwid_disabled_messages');
70
+ if (isset($messages['name']))
71
+ unset($messages['name']);
72
+
73
+ update_option('ecwid_disabled_messages', $messages);
74
+ }
75
+
76
+ public static function reset_hidden_messages()
77
+ {
78
+ $hidden_messages = array();
79
+
80
+ $messages = self::get_default_messages();
81
+ foreach ($messages as $name => $message) {
82
+ if (isset($message['default']) && $message['default'] == 'hidden') {
83
+ $hidden_messages[$name] = true;
84
+ }
85
+ }
86
+
87
+ update_option('ecwid_disabled_messages', array());
88
+ }
89
+
90
+ protected static function get_instance()
91
+ {
92
+ static $instance = null;
93
+
94
+ if (is_null($instance)) {
95
+ $instance = new Ecwid_Message_Manager();
96
+ }
97
+
98
+ return $instance;
99
+ }
100
+
101
+ protected function init_messages()
102
+ {
103
+ $this->messages = $this->get_default_messages();
104
+
105
+ $hidden_messages = get_option('ecwid_disabled_messages');
106
+
107
+ if ( !empty( $hidden_messages ) ) {
108
+ foreach ($hidden_messages as $name => $message) {
109
+ unset ($this->messages[$name]);
110
+ }
111
+ }
112
+ }
113
+
114
+ protected function get_message_params($name, $params)
115
+ {
116
+ if (is_array($name)) {
117
+ $params = $name;
118
+ $name = '';
119
+ }
120
+
121
+ if (isset($this->messages[$name])) {
122
+ $params = array_merge(
123
+ array('type' => 'info', 'title' => '', 'message' => '', 'hideable' => false),
124
+ $this->messages[$name],
125
+ $params
126
+ );
127
+ }
128
+
129
+ if ($name == 'on_storeid_set') {
130
+ $params['primary_url'] = ecwid_get_store_page_url();
131
+ }
132
+
133
+ $types_map = array(
134
+ 'info' => 'updated',
135
+ 'warning' => 'update-nag',
136
+ 'error' => 'error'
137
+ );
138
+ $params['type'] = $types_map[$params['type']];
139
+
140
+ return $params;
141
+ }
142
+
143
+ protected function get_default_messages()
144
+ {
145
+ return array(
146
+ 'on_activate' => array(
147
+ 'title' => __('Greetings! Your Ecwid store is now active.', 'ecwid-shopping-cart'),
148
+ 'message' => __('Take a few simple steps to complete store setup', 'ecwid-shopping-cart'),
149
+ 'primary_title' => __('Set up Ecwid Store', 'ecwid-shopping-cart'),
150
+ 'primary_url' => 'admin.php?page=ecwid',
151
+ 'hideable' => true,
152
+ 'default' => 'disabled'
153
+ ),
154
+
155
+ 'on_storeid_set' => array(
156
+ 'title' => __('Good job! Your store is set up and you\'re ready to sell.', 'ecwid-shopping-cart'),
157
+ 'message' => __('Now you can fine-tune your store\'s appearance', 'ecwid-shopping-cart'),
158
+ 'primary_title' => __('Visit Storefront', 'ecwid-shopping-cart'),
159
+ 'primary_url' => '',
160
+ 'primary_blank' => true,
161
+ 'secondary_title' => __('Configure Appearance', 'ecwid-shopping-cart'),
162
+ 'secondary_url' => 'admin.php?page=ecwid-appearance',
163
+ 'hideable' => true
164
+ ),
165
+
166
+ 'no_storeid_on_setup_pages' => array(
167
+ 'type' => 'warning',
168
+ 'title' => __('Your store is almost ready!', 'ecwid-shopping-cart' ),
169
+ 'message' => __('Connect your Ecwid account with this site to complete setup and start selling', 'ecwid-shopping-cart' ),
170
+ 'primary_title' => __('Connect Your Ecwid Store', 'ecwid-shopping-cart' ),
171
+ 'primary_url' => 'admin.php?page=ecwid',
172
+ 'hideable' => true
173
+ ),
174
+
175
+ 'on_appearance_widgets' => array(
176
+ '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' ),
177
+ 'secondary_title' => __('Back to Store Settings', 'ecwid-shopping-cart'),
178
+ 'secondary_url' => 'admin.php?page=ecwid-appearance',
179
+ 'hideable' => true
180
+ ),
181
+
182
+ 'please_vote' => array(
183
+ 'message' => sprintf(
184
+ __('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'),
185
+ 'target="_blank" href="http://wordpress.org/support/view/plugin-reviews/ecwid-shopping-cart"'
186
+ ),
187
+ 'primary_title' => __('Rate Ecwid at WordPress.org', 'ecwid-shopping-cart'),
188
+ 'primary_url' => 'http://wordpress.org/support/view/plugin-reviews/ecwid-shopping-cart',
189
+ 'hideable' => true
190
+ )
191
+ );
192
+ }
193
+
194
+ protected function need_to_show_message($name)
195
+ {
196
+ $admin_page = '';
197
+ if (function_exists('get_current_screen')) {
198
+ $screen = get_current_screen();
199
+ $admin_page = $screen->base;
200
+ }
201
+
202
+ switch ($name) {
203
+ case 'on_activate':
204
+ return $admin_page == 'plugins' && get_ecwid_store_id() == ECWID_DEMO_STORE_ID;
205
+
206
+ case 'on_storeid_set':
207
+ return get_ecwid_store_id() != ECWID_DEMO_STORE_ID && $_GET['settings-updated'] == 'true' && $admin_page == 'toplevel_page_ecwid';
208
+
209
+ case 'no_storeid_on_setup_pages':
210
+ return get_ecwid_store_id() == ECWID_DEMO_STORE_ID
211
+ && in_array($admin_page, array('ecwid-store_page_ecwid-advanced', 'ecwid-store_page_ecwid-appearance'));
212
+
213
+ case 'on_appearance_widgets':
214
+ return isset($_GET['from-ecwid-appearance']) && $admin_page == 'widgets';
215
+
216
+ case 'please_vote':
217
+ $install_date = get_option('ecwid_installation_date');
218
+
219
+ $result = false;
220
+ if (!$install_date) {
221
+ add_option('ecwid_installation_date', time());
222
+ } else {
223
+ $result = ecwid_is_paid_account() && $install_date + 60*60*24*30 < time();
224
+ }
225
+
226
+ foreach ($this->messages as $_name => $message) {
227
+ if ($_name != $name && $this->need_to_show_message($_name)) {
228
+ return false;
229
+ }
230
+ }
231
+
232
+ return $result;
233
+ }
234
+ }
235
+
236
+ }
lib/themes.php ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ define( 'ECWID_THEMES_DIR', ECWID_PLUGIN_DIR . '/lib/themes' );
4
+
5
+ add_action('after_switch_theme', 'ecwid_after_switch_theme');
6
+
7
+ function ecwid_get_theme_name()
8
+ {
9
+ $version = get_bloginfo('version');
10
+
11
+ if (version_compare( $version, '3.4' ) < 0) {
12
+ $theme_name = get_current_theme();
13
+ } else {
14
+ $theme = wp_get_theme();
15
+ $theme_name = $theme->get('Name');
16
+ }
17
+
18
+ return $theme_name;
19
+ }
20
+
21
+ function ecwid_apply_theme($theme_name = null)
22
+ {
23
+ $themes = array(
24
+ 'Bretheon' => 'bretheon',
25
+ 'Responsive' => 'responsive',
26
+ 'Twenty Fourteen' => '2014',
27
+ 'PageLines' => 'pagelines'
28
+ );
29
+
30
+ if (empty($theme_name)) {
31
+ $theme_name = ecwid_get_theme_name();
32
+ }
33
+
34
+ $theme_file = '';
35
+
36
+ if (array_key_exists($theme_name, $themes)) {
37
+
38
+ $theme_file = ECWID_THEMES_DIR . '/class-ecwid-theme-' . $themes[$theme_name] . '.php';
39
+ }
40
+
41
+ $theme_file = apply_filters( 'ecwid_get_theme_file', $theme_file );
42
+
43
+ if ( !empty( $theme_file ) && is_file( $theme_file ) && is_readable( $theme_file ) ) {
44
+ require_once( $theme_file );
45
+ }
46
+ }
47
+
48
+ function ecwid_after_switch_theme()
49
+ {
50
+ ecwid_apply_theme();
51
+
52
+ global $ecwid_current_theme;
53
+
54
+ update_option(
55
+ 'ecwid_advanced_theme_layout',
56
+ isset($ecwid_current_theme) && $ecwid_current_theme->has_advanced_layout ? 'Y' : 'N'
57
+ );
58
+ }
lib/themes/class-ecwid-theme-2014.php ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ require_once ECWID_THEMES_DIR . '/class-ecwid-theme-base.php';
4
+
5
+ class Ecwid_Theme_2014 extends Ecwid_Theme_Base
6
+ {
7
+ protected $name = 'Twenty Fourteen';
8
+
9
+ protected $adjust_pb_scroll = true;
10
+
11
+ public function __construct()
12
+ {
13
+ parent::__construct();
14
+
15
+ wp_enqueue_style( 'ecwid-theme', 'ecwid-shopping-cart/css/themes/2014.css', array('twentyfourteen-style') );
16
+ }
17
+ }
18
+
19
+ $ecwid_current_theme = new Ecwid_Theme_2014();
lib/themes/class-ecwid-theme-base.php ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Ecwid_Theme_Base {
4
+
5
+ public $has_advanced_layout = false;
6
+
7
+ protected $adjust_pb_scroll = false;
8
+
9
+ public function __construct()
10
+ {
11
+ if ( $this->adjust_pb_scroll ) {
12
+ wp_enqueue_script(
13
+ 'ecwid-scroller',
14
+ plugins_url( 'ecwid-shopping-cart/js/create_scroller.js' ),
15
+ array( 'jquery' )
16
+ );
17
+ }
18
+ }
19
+
20
+ protected function need_advanced_layout()
21
+ {
22
+ return get_option('ecwid_advanced_theme_layout') == 'Y';
23
+ }
24
+ }
lib/themes/class-ecwid-theme-bretheon.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ require_once ECWID_THEMES_DIR . '/class-ecwid-theme-base.php';
4
+
5
+ class Ecwid_Theme_Bretheon extends Ecwid_Theme_Base
6
+ {
7
+ protected $name = 'Bretheon';
8
+
9
+ public function __construct()
10
+ {
11
+ parent::__construct();
12
+
13
+ add_filter( 'ecwid_page_has_product_browser', array( $this, 'has_product_browser' ) );
14
+ }
15
+
16
+ public function has_product_browser( $value )
17
+ {
18
+ if ( $value ) {
19
+ return $value;
20
+ }
21
+
22
+ $meta = get_post_meta( get_the_ID(), 'mfn-page-items' );
23
+ if ( is_array( $meta ) ) {
24
+ $meta = base64_decode( $meta[0] );
25
+
26
+ // not exactly the intended usage, but quite simple and still works
27
+ // $meta is a serialized array that has the actual content
28
+ // a right way is to walk through the structure and run has_shortcode against all fields
29
+ $result = has_shortcode( $meta, 'ecwid_productbrowser' );
30
+ }
31
+
32
+ return $result;
33
+ }
34
+ }
35
+
36
+ $ecwid_current_theme = new Ecwid_Theme_Bretheon();
lib/themes/class-ecwid-theme-pagelines.php ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ require_once ECWID_THEMES_DIR . '/class-ecwid-theme-base.php';
4
+
5
+ class Ecwid_Theme_Pagelines extends Ecwid_Theme_Base
6
+ {
7
+ protected $name = 'Pagelines';
8
+
9
+ protected $adjust_pb_scroll = true;
10
+
11
+ public function __construct()
12
+ {
13
+ parent::__construct();
14
+
15
+ wp_enqueue_script( 'ecwid-theme-js', plugins_url( 'ecwid-shopping-cart/js/themes/pagelines.js' ), array( 'jquery' ), false, true );
16
+ }
17
+ }
18
+
19
+ $ecwid_current_theme = new Ecwid_Theme_Pagelines();
lib/themes/class-ecwid-theme-responsive.php ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ require_once ECWID_THEMES_DIR . '/class-ecwid-theme-base.php';
4
+
5
+ class Ecwid_Theme_Responsive extends Ecwid_Theme_Base
6
+ {
7
+ public $has_advanced_layout = true;
8
+
9
+ public function __construct()
10
+ {
11
+ parent::__construct();
12
+
13
+ if ( $this->need_advanced_layout() ) {
14
+ wp_enqueue_style( 'ecwid-theme-adjustments' , plugins_url( 'ecwid-shopping-cart/css/themes/responsive-adjustments.css' ), array(), false, 'all' );
15
+ wp_enqueue_script( 'ecwid-theme', plugins_url( 'ecwid-shopping-cart/js/themes/responsive.js' ), array( 'jquery' ), false, true );
16
+
17
+ add_filter( 'ecwid_minicart_shortcode_content', array( $this, 'minicart_shortcode_content' ) );
18
+ }
19
+
20
+ wp_enqueue_style( 'ecwid-open-sans' , 'http://fonts.googleapis.com/css?family=Open+Sans:400,700&subset=latin,cyrillic-ext,cyrillic,greek-ext,vietnamese,greek,latin-ext');
21
+ wp_enqueue_style( 'dashicons' );
22
+ wp_enqueue_style( 'ecwid-theme-fixes' , plugins_url( 'ecwid-shopping-cart/css/themes/responsive.css' ), array(), false, 'all' );
23
+
24
+ add_filter('body_class', array($this, 'body_class'));
25
+
26
+ add_action('ecwid_shop_page_created', array($this, 'on_create_store_page'));
27
+ add_action('switch_theme', array($this, 'switch_theme'));
28
+ }
29
+
30
+ public function minicart_shortcode_content( $content )
31
+ {
32
+
33
+ if ( get_the_ID() == get_option( 'ecwid_store_page_id' ) ) {
34
+ $content = '<script type="text/javascript"> xMinicart("style=","layout=Mini"); </script>';
35
+ }
36
+
37
+ return $content;
38
+ }
39
+
40
+ public function body_class($classes)
41
+ {
42
+ if (get_option('ecwid_show_search_box')) {
43
+ $classes[] = 'ecwid-with-search';
44
+ }
45
+
46
+ return $classes;
47
+ }
48
+
49
+ public function on_create_store_page($page_id)
50
+ {
51
+ update_post_meta($page_id, '_wp_page_template', 'full-width-page.php');
52
+ }
53
+ }
54
+
55
+ global $ecwid_current_theme;
56
+ $ecwid_current_theme = new Ecwid_Theme_Responsive();
readme.txt CHANGED
@@ -2,11 +2,10 @@
2
  Contributors: ecwid
3
  Tags: ecwid, shopping cart, ecommerce, wordpress ecommerce, wp e-commerce, paypal, e-commerce, online store, store, shop, cart, online shop, shopping, digital goods, downloadable products, product catalog, ecomerce, products, facebook, f-commerce
4
  Requires at least: 2.8
5
- Tested up to: 3.9.2
6
- Stable tag: 2.4.3.2
7
 
8
- Ecwid is a free full-featured shopping cart that can easily be added to any blog
9
- and takes less than 5 minutes to set up.
10
 
11
  == Description ==
12
  **Wordpress.com officially recommends Ecwid as an e-commerce solution to millions of its users!**
@@ -52,13 +51,12 @@ New-gen technologies make Ecwid much faster than usual shopping carts regardless
52
 
53
  = Free =
54
 
55
- Although Ecwid is packed with high-value features, [Free plan](http://www.ecwid.com/pricing?source=wporg-plugin-site "Ecwid plans and pricing") is always available with no setup charges and no transaction fees. Get your store up and running without paying anything.
56
-
57
 
58
  = See In Action =
59
 
60
- * [Demo](http://www.ecwid.com/demo?source=wporg-plugin-site "Ecwid demo")
61
- * [Backend](https://my.ecwid.com/?source=wporg-plugin-site "Ecwid Control Panel")
62
 
63
 
64
  = Ecwid Site =
@@ -112,13 +110,21 @@ http://codex.wordpress.org/Managing_Plugins#Installing_Plugins
112
  * [Ecwid site](http://www.ecwid.com/?source=wporg-plugin-site "Ecwid Site")
113
 
114
  == Changelog ==
 
 
 
 
 
 
 
 
115
  = 2.4.3.2 =
116
  - **Onboarding for the new plugin users.** Ecwid plugin now displays new helpful messages when you set up your store and configure the setting. The messages guide the new users through the setup process and provide helpful tips and recommendations.
117
  - **Improvements in the plugin settings pages and messages.** We updated the texts and styles of the messages displayed on the settings pages. They became clearer and more user-friendly.
118
  - **Minor optimizations for search engines** including tidying up of the product pages 'meta' descriptions tags and fixing potential issues in compatibility with Yoast SEO plugin. This is to ensure better indexation and appearing of your products in the search results.
119
  - **Several minor fixes and enhancements**
120
  - **Added in 2.4.3.1:** fixed incompatibility of the plugin v2.4.3 with the servers running PHP 5.2.x
121
- - **Added in 2.4.3.2:** additional fix for the outdated PHP versions (5.2.x)
122
 
123
  = 2.4.2 =
124
  - Minor issue is fixed on the plugin's "General settings" page
2
  Contributors: ecwid
3
  Tags: ecwid, shopping cart, ecommerce, wordpress ecommerce, wp e-commerce, paypal, e-commerce, online store, store, shop, cart, online shop, shopping, digital goods, downloadable products, product catalog, ecomerce, products, facebook, f-commerce
4
  Requires at least: 2.8
5
+ Tested up to: 4.0
6
+ Stable tag: 2.5
7
 
8
+ Ecwid is a full-featured shopping cart that can be added to any Wordpress site in less than 5 minutes. Start using Ecwid for free today.
 
9
 
10
  == Description ==
11
  **Wordpress.com officially recommends Ecwid as an e-commerce solution to millions of its users!**
51
 
52
  = Free =
53
 
54
+ Although Ecwid is packed with high-value features, Free plan is always available with no setup charges and no transaction fees. Get your store up and running without paying anything. As your business grows, you can consider upgrading to one of our premium plans to get more great features. See also: Ecwid plan and pricing (www.ecwid.com/pricing?source=wporg-plugin-site)
 
55
 
56
  = See In Action =
57
 
58
+ * [Demo Store](http://www.ecwid.com/demo?source=wporg-plugin-site "Ecwid demo")
59
+ * [Ecwid Control panel](https://my.ecwid.com/?source=wporg-plugin-site "Ecwid Control Panel") (you will be able to create a free Ecwid account)
60
 
61
 
62
  = Ecwid Site =
110
  * [Ecwid site](http://www.ecwid.com/?source=wporg-plugin-site "Ecwid Site")
111
 
112
  == Changelog ==
113
+ = 2.5 =
114
+ - **Extended compatibility with the "Responsive" WordPress theme.** Ecwid plugin is by design compatible with any theme and automatically adapts itself to any layout and screen size. This makes your store looks good on any device your customers use. One of the most popular free themes for Wordpress -- Responsive -- is also famous for its responsive design. In this update, we adjusted our plugin to better integrate with Responsive theme and Ecwid stores now look a way better on WordPress sites with Responsive themes to provide better user experience on any device and to generate more sales. If you're thinking which WP theme to choose for your site, you should definitely try the "Responsive" theme with Ecwid.
115
+ - **Added compatibility with WordPress 4.0.** WordPress 4.0 is just around the corner and we already prepared our plugin for it. We enhanced the plugin installation process to be compatible with the new plugins management coming with WordPress 4.0 and tested every plugin's function to make sure your stores are ready for the upcoming WordPress update.
116
+ - **Automatic store page recovery functionality.** Some Ecwid users previously faced issues when they deleted or replaced the plugin's generated store page on their Wordpress sites. We added a smart mechanism to Ecwid plugin to automatically detect such situations and prevent any possible troubles connected with them. Now, it you decide to move your store from one page to another within your Wordpress site or temporary hide your store page, the plugin will detect that, find an alternative store page on your site (if any) and keep the links and all the store functionality working OK regardless of whether you currently have a new store page or not. So, whatever update you're making on your site pages, you can rest assured your Ecwid store works fine, be it the product browser, single product snippet or a sidebar widget.
117
+ - **Fixed broken link in single product widgets.** We fixed a minor issue with broken links in single product widgets, that was reported to us recently. You can add a single product to any page of your site as usually by means of [ecwid_product] shortcode -- everything will work fine. All existing single product widget will continue working as well -- no actions is required from your side.
118
+ - **Fixed a few layout issues on the plugin's setting pages.** During the recent updates, we were improving the plugin setting pages interfaces. This update brought a few more fixes to the plugin settings pages to make them more user-friendly.
119
+ - **Several fixes for old WordPress versions.** WordPress is often updated with new features and bug fixes. Still, there are some merchants who use the old versions. While encouraging everyone to update their sites regularly, we want our plugin work great for all users. So, in this update, we added a few fixes addressing issues in the old Wordpress versions (2.8 - 3.1)
120
+
121
  = 2.4.3.2 =
122
  - **Onboarding for the new plugin users.** Ecwid plugin now displays new helpful messages when you set up your store and configure the setting. The messages guide the new users through the setup process and provide helpful tips and recommendations.
123
  - **Improvements in the plugin settings pages and messages.** We updated the texts and styles of the messages displayed on the settings pages. They became clearer and more user-friendly.
124
  - **Minor optimizations for search engines** including tidying up of the product pages 'meta' descriptions tags and fixing potential issues in compatibility with Yoast SEO plugin. This is to ensure better indexation and appearing of your products in the search results.
125
  - **Several minor fixes and enhancements**
126
  - **Added in 2.4.3.1:** fixed incompatibility of the plugin v2.4.3 with the servers running PHP 5.2.x
127
+ - **Added in 2.4.3.2:** additional fix for the outdated PHP versions (5.2.x)
128
 
129
  = 2.4.2 =
130
  - Minor issue is fixed on the plugin's "General settings" page
templates/advanced-settings.php CHANGED
@@ -79,25 +79,6 @@
79
  </div>
80
  </div>
81
 
82
- <?php if (Ecwid_Theme_Manager::get_instance()->has_advanced_layout()): ?>
83
- <hr />
84
-
85
- <div class="pure-control-group last">
86
- <label for="ecwid_enable_advanced_theme_layout">
87
- <?php _e('Improve layout for your theme', 'ecwid-shopping-cart'); ?>
88
- </label>
89
-
90
- <select name="ecwid_enable_advanced_theme_layout">
91
- <option value="Y"<?php if (get_option('ecwid_enable_advanced_theme_layout') == 'Y'): ?> selected="selected"<?php endif; ?>><?php _e('Yes'); ?></option>
92
- <option value="N"<?php if (get_option('ecwid_enable_advanced_theme_layout') != 'Y'): ?> selected="selected"<?php endif; ?>><?php _e('No'); ?></option>
93
- </select>
94
-
95
- <div class="note">
96
- <?php _e('Ecwid Shopping Cart plugin supports and advanced layout scheme for your "%s" theme. It can be enabled using this option.', 'ecwid-shopping-cart'); ?>
97
- </div>
98
- </div>
99
- <?php endif; ?>
100
-
101
  </fieldset>
102
 
103
  <fieldset>
79
  </div>
80
  </div>
81
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
  </fieldset>
83
 
84
  <fieldset>
templates/appearance-settings.php CHANGED
@@ -126,9 +126,9 @@ function ecwid_embed_svg($name) {
126
  <input
127
  type="text"
128
  size="2"
129
- name="ecwid_pb_productsperrow_grid"
130
  class="number"
131
- value="<?php echo esc_attr(get_option('ecwid_pb_productsperrow_grid')); ?>"
132
  />
133
  </div>
134
  <div class="bottom">
@@ -136,9 +136,9 @@ function ecwid_embed_svg($name) {
136
  <input
137
  type="text"
138
  size="2"
139
- name="ecwid_pb_productspercolumn_grid"
140
  class="number"
141
- value="<?php echo esc_attr(get_option('ecwid_pb_productspercolumn_grid')); ?>"
142
  />
143
  </div>
144
  </div>
126
  <input
127
  type="text"
128
  size="2"
129
+ name="ecwid_pb_productspercolumn_grid"
130
  class="number"
131
+ value="<?php echo esc_attr(get_option('ecwid_pb_productspercolumn_grid')); ?>"
132
  />
133
  </div>
134
  <div class="bottom">
136
  <input
137
  type="text"
138
  size="2"
139
+ name="ecwid_pb_productsperrow_grid"
140
  class="number"
141
+ value="<?php echo esc_attr(get_option('ecwid_pb_productsperrow_grid')); ?>"
142
  />
143
  </div>
144
  </div>