Ecwid Ecommerce Shopping Cart - Version 2.4.3

Version Description

  • 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.
  • 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.
  • 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.
  • Several minor fixes and enhancements
Download this release

Release Info

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

Code changes from version 2.4.2 to 2.4.3

css/2014adjustments.css CHANGED
@@ -1,3 +1,3 @@
1
- .site-content .entry-header, .site-content .entry-content, .site-content .entry-summary, .site-content .entry-meta {
2
- max-width: none;
3
- }
1
+ .site-content .entry-header, .site-content .entry-content, .site-content .entry-summary, .site-content .entry-meta {
2
+ max-width: none;
3
+ }
css/admin.3.8.css CHANGED
@@ -1,18 +1,20 @@
1
  @font-face {
2
- font-family: 'ecwid-logo';
3
- src: url('fonts/ecwid-logo.eot');
4
  }
 
 
5
  @font-face {
6
- font-family: 'ecwid-logo';
7
- src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg6wDYEAAAC8AAAAYGNtYXAAoABGAAABHAAAADxnYXNwAAAAEAAAAVgAAAAIZ2x5ZnWz5hcAAAFgAAADwGhlYWQAXU/JAAAFIAAAADZoaGVhB4YEAAAABVgAAAAkaG10eAYAADwAAAV8AAAADGxvY2EACgHgAAAFiAAAAAhtYXhwABABdwAABZAAAAAgbmFtZUPBEJcAAAWwAAABVHBvc3QAAwAAAAAHBAAAACAAAwQAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAABAACAAVwPA/8D/wAPAAEAAAAAAAAAAAAAAAAAAAAAgAAAAAAACAAAAA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CwWBBgoNCAgNCwUFCw0ICA0KBoEFCw0ICA0KBgYKDQgIDQsFgQYKDQgIDQsFBQsNCAgNCgaBBQsNCAgNCgYGCg0ICA0LBYEGCg0ICA0LBQULDQgIDQoG/mIMFBsQDxsVCwsVGw8QGxQMqQEBAQUIBQUHBgEBAQ0UGA0NXmhVBQUEAgEBCRAUDB0zLSUOEhUKAwEBAQIDAgUEBAIDAgEBAQEBAQIBAgQFBAMBAQEBAgIOEQ8EH1ZVRAwMEAkDBAQEAQECAgkLChISFAwLOENEFkFDHQGoCxQbEA8bFAwMFBsPEBsUCwAAAAABAAAAAQAAkKtPM18PPPUACwQAAAAAAM69BaYAAAAAzr0FpgAA//wDxAOEAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAPAPEAAEAAAAAAAAAAAAAAAAAAAADAAAAAAIAAAAEAAA8AAAAAAAKAeAAAQAAAAMBdQAMAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABABQAAAABAAAAAAACAA4AXAABAAAAAAADABQAKgABAAAAAAAEABQAagABAAAAAAAFABYAFAABAAAAAAAGAAoAPgABAAAAAAAKACgAfgADAAEECQABABQAAAADAAEECQACAA4AXAADAAEECQADABQAKgADAAEECQAEABQAagADAAEECQAFABYAFAADAAEECQAGABQASAADAAEECQAKACgAfgBlAGMAdwBpAGQALQBsAG8AZwBvAFYAZQByAHMAaQBvAG4AIAAwAC4AMABlAGMAdwBpAGQALQBsAG8AZwBvZWN3aWQtbG9nbwBlAGMAdwBpAGQALQBsAG8AZwBvAFIAZQBnAHUAbABhAHIAZQBjAHcAaQBkAC0AbABvAGcAbwBHAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4AAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==) format('truetype'),
8
- url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAAdwAAsAAAAAByQAAAAAAAAAAAAAAAAAAAAAAAAAA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ABBAkAAQAUAAAAAwABBAkAAgAOAFwAAwABBAkAAwAUACoAAwABBAkABAAUAGoAAwABBAkABQAWABQAAwABBAkABgAUAEgAAwABBAkACgAoAH4AZQBjAHcAaQBkAC0AbABvAGcAbwBWAGUAcgBzAGkAbwBuACAAMAAuADAAZQBjAHcAaQBkAC0AbABvAGcAb2Vjd2lkLWxvZ28AZQBjAHcAaQBkAC0AbABvAGcAbwBSAGUAZwB1AGwAYQByAGUAYwB3AGkAZAAtAGwAbwBnAG8ARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=) format('woff');
9
  font-weight: normal;
10
  font-style: normal;
11
  }
12
 
13
  #adminmenu #toplevel_page_ecwid div.wp-menu-image:before {
14
- font-family: 'ecwid-logo' !important;
15
- content: 'W';
16
  -webkit-font-smoothing: antialiased;
17
  -moz-osx-font-smoothing: grayscale;
18
  }
@@ -24,7 +26,7 @@
24
  }
25
 
26
  #wpadminbar>#wp-toolbar>#wp-admin-bar-root-default .ab-icon.ecwid-top-menu-item {
27
- font: 400 20px/1 'ecwid-logo' !important;
28
  -webkit-font-smoothing: antialiased;
29
  -moz-osx-font-smoothing: grayscale;
30
  background-image: none;
@@ -35,17 +37,17 @@
35
  }
36
 
37
  #wpadminbar #wp-admin-bar-ecwid-main .ab-icon.ecwid-top-menu-item:before {
38
- content: 'W';
39
  width: auto;
40
  margin-right: 0px;
41
  }
42
 
43
  @media screen and (max-width: 782px) {
44
  #wpadminbar>#wp-toolbar>#wp-admin-bar-root-default .ab-icon.ecwid-top-menu-item {
45
- font: 400 32px/46px 'ecwid-logo' !important;
46
  width: 46px;
47
  padding: 0px 2px;
48
  text-align: center;
49
  margin-top: 0px;
50
  }
51
- }
1
  @font-face {
2
+ font-family: 'ecwid-icons';
3
+ src: url('../fonts/ecwid-icons.eot');
4
  }
5
+
6
+
7
  @font-face {
8
+ font-family: 'ecwid-ic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AZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAABAAAAAWAPA/8D/wAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAACAAAAAwAAABQAAwABAAAAFAAEAFgAAAASABAAAwACAAEAIABFAEcATABUAFj//f//AAAAAAAgAEUARwBMAFQAWP/9//8AAf/j/7//vv+6/7P/sAADAAEAAAAAAAAAAAAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAWDgO618PPPUACwQAAAAAAM+lADwAAAAAz6UAPAAA/88F8QOxAAAACAACAAAAAAAAAAEAAAPA/8AAAAYAAAAAAAXxAAEAAAAAAAAAAAAAAAAAAAAJAAAAAAAAAAAAAAAAAgAAAAQAADwGAAAPBgAADwYAABcEAAEdAABQAAAJAAAAAAAOAK4AAQAAAAAAAQAUAAAAAQAAAAAAAgAOAFwAAQAAAAAAAwAUACoAAQAAAAAABAAUAGoAAQAAAAAABQAWABQAAQAAAAAABgAKAD4AAQAAAAAACgAoAH4AAwABBAkAAQAUAAAAAwABBAkAAgAOAFwAAwABBAkAAwAUACoAAwABBAkABAAUAGoAAwABBAkABQAWABQAAwABBAkABgAUAEgAAwABBAkACgAoAH4AZQBjAHcAaQBkAC0AbABvAGcAbwBWAGUAcgBzAGkAbwBuACAAMQAuADAAZQBjAHcAaQBkAC0AbABvAGcAb2Vjd2lkLWxvZ28AZQBjAHcAaQBkAC0AbABvAGcAbwBSAGUAZwB1AGwAYQByAGUAYwB3AGkAZAAtAGwAbwBnAG8ARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=) format('woff');
11
  font-weight: normal;
12
  font-style: normal;
13
  }
14
 
15
  #adminmenu #toplevel_page_ecwid div.wp-menu-image:before {
16
+ font-family: 'ecwid-icons' !important;
17
+ content: 'E';
18
  -webkit-font-smoothing: antialiased;
19
  -moz-osx-font-smoothing: grayscale;
20
  }
26
  }
27
 
28
  #wpadminbar>#wp-toolbar>#wp-admin-bar-root-default .ab-icon.ecwid-top-menu-item {
29
+ font: 400 20px/1 'ecwid-icons' !important;
30
  -webkit-font-smoothing: antialiased;
31
  -moz-osx-font-smoothing: grayscale;
32
  background-image: none;
37
  }
38
 
39
  #wpadminbar #wp-admin-bar-ecwid-main .ab-icon.ecwid-top-menu-item:before {
40
+ content: 'E';
41
  width: auto;
42
  margin-right: 0px;
43
  }
44
 
45
  @media screen and (max-width: 782px) {
46
  #wpadminbar>#wp-toolbar>#wp-admin-bar-root-default .ab-icon.ecwid-top-menu-item {
47
+ font: 400 32px/46px 'ecwid-icons' !important;
48
  width: 46px;
49
  padding: 0px 2px;
50
  text-align: center;
51
  margin-top: 0px;
52
  }
53
+ }
css/admin.css CHANGED
@@ -61,4 +61,85 @@
61
  }
62
  .ecwid-badge .image {
63
  text-align: center;
64
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  }
62
  .ecwid-badge .image {
63
  text-align: center;
64
+ }
65
+
66
+ div.ecwid-message {
67
+ padding: 27px 29px 20px 30px;
68
+ }
69
+
70
+ .ecwid-message a {
71
+ color: #0074A2;
72
+ }
73
+
74
+ .ecwid-message a:hover {
75
+ color: #2EA2CC;
76
+ }
77
+
78
+ .ecwid-message .ecwid-message-title {
79
+ font-size: 18px;
80
+ margin-bottom: 12px;
81
+ font-weight: bold;
82
+ }
83
+
84
+ .ecwid-message .ecwid-message-content {
85
+ line-height: 20px;
86
+ }
87
+
88
+ .ecwid-message .ecwid-message-buttons {
89
+ margin-top: 19px;
90
+ position: relative;
91
+ display: table;
92
+ width: 100%;
93
+ }
94
+
95
+ .ecwid-message .ecwid-message-buttons > div {
96
+ display: table-cell;
97
+ vertical-align: middle;
98
+ }
99
+
100
+ .ecwid-message .ecwid-message-buttons > div:not(:first-child) {
101
+ padding-left: 9px;
102
+ }
103
+
104
+ .ecwid-message .ecwid-message-buttons > div:last-child {
105
+ text-align: right;
106
+ width: 100%;
107
+ }
108
+
109
+
110
+ .ecwid-message .ecwid-message-hide:not(:hover) {
111
+ color: #bbb;
112
+ }
113
+
114
+ .ecwid-message .ecwid-message-hide {
115
+ font-size: 12px;
116
+ font-weight: 100;
117
+ cursor: pointer;
118
+ text-decoration: none;
119
+ }
120
+
121
+ .ecwid-message .ecwid-message-hide:before {
122
+ content: "X";
123
+ font-family: ecwid-icons;
124
+ font-size: 26px;
125
+ position: relative;
126
+ left: 1px;
127
+ top: 6px;
128
+ }
129
+
130
+ .ecwid-message.dev {
131
+ outline: 2px solid red;
132
+ width: 434px;
133
+ }
134
+
135
+ .ecwid-message.dev .ecwid-message-title {
136
+ letter-spacing: -0.4px;
137
+ }
138
+
139
+ .ecwid-message.dev .ecwid-message-content {
140
+ letter-spacing: -0.62px;
141
+ }
142
+
143
+ .ecwid-message.dev .ecwid-message-hide {
144
+ letter-spacing: -0.22px;
145
+ }
css/settings.css CHANGED
@@ -412,6 +412,7 @@ display: none;
412
  margin-bottom: 10px;
413
  }
414
 
 
415
  .general-settings .section .left {
416
  display: table-cell;
417
  vertical-align: middle;
412
  margin-bottom: 10px;
413
  }
414
 
415
+
416
  .general-settings .section .left {
417
  display: table-cell;
418
  vertical-align: middle;
css/themes/responsive-adjustments.css ADDED
@@ -0,0 +1,378 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Page Adjustments */
2
+ 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
+ }
9
+
10
+ .ecwid-shopping-cart .breadcrumb-list {
11
+ display: none;
12
+ }
13
+
14
+ body.ecwid-shopping-cart h1.entry-title {
15
+ padding-left: 1px;
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,
26
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-productBrowser-categoryPath-categoryLink a,
27
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-results-topPanel .ecwid-results-topPanel-viewAsPanel-link,
28
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-productBrowser-productsTable-addToBagLink
29
+ {
30
+ text-decoration: none;
31
+ }
32
+
33
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-productBrowser-auth a:hover,
34
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-minicart-mini-link:hover,
35
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-productBrowser-categoryPath-categoryLink a:hover,
36
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-results-topPanel .ecwid-results-topPanel-viewAsPanel-link:hover,
37
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-productBrowser-productsTable-addToBagLink:hover
38
+ {
39
+ text-decoration: underline;
40
+ }
41
+
42
+ html#ecwid_html body#ecwid_body #container .ecwid-categories-category {
43
+ font-family: Open Sans, Trebuchet MS, Helvetica, Verdana, sans-serif;
44
+ font-size: 22px;
45
+ }
46
+
47
+ /* Minicart */
48
+
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;
60
+ }
61
+ .ecwid-shopping-cart-minicart {
62
+ visibility: hidden;
63
+ }
64
+
65
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-minicart-mini-rolloverContainer {
66
+ display: block;
67
+ }
68
+
69
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-minicart {
70
+ margin-right: 5px;
71
+ height: 35px;
72
+ }
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 {
94
+ display: none;
95
+ width: 40px;
96
+ }
97
+
98
+ .ecwid-shopping-cart.ecwid-search-open .ecwid-search-placeholder {
99
+ display: none;
100
+ }
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 {
125
+ width: 1px;
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';
139
+ font-size: 18px;
140
+ color: #AAA;
141
+ position: relative;
142
+ }
143
+
144
+ .ecwid-shopping-cart .ecwid-search-placeholder:after
145
+ {
146
+ top: 7px;
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
+ {
160
+ border: 1px solid #D1D1D1;
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
+ }
176
+
177
+ /* Auth */
178
+ html#ecwid_html body#ecwid_body .ecwid-shopping-cart-categories {
179
+ margin-top: 60px;
180
+ }
181
+
182
+ html#ecwid_html body#ecwid_body .ecwid-shopping-cart-product-browser {
183
+ margin-top: 50px;
184
+ }
185
+
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 */
223
+
224
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart div.ecwid-productBrowser {
225
+ padding: 0;
226
+ }
227
+
228
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart div.ecwid-productBrowser-head {
229
+ font-size: 26px;
230
+ margin-top: 2px;
231
+ }
232
+
233
+ body.ecwid-shopping-cart h1,
234
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-productBrowser-auth a,
235
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-productBrowser-auth a:active,
236
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-productBrowser-head,
237
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-product-browser div.ecwid-productBrowser-productNameLink a,
238
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-product-browser div.ecwid-productBrowser-productNameLink a:active,
239
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-product-browser .ecwid-productBrowser-price,
240
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart div.ecwid-productBrowser-categoryPath a,
241
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-product-browser .ecwid-results-topPanel div
242
+ {
243
+ font-family: Open Sans, Trebuchet MS, Helvetica, Verdana, sans-serif;
244
+ }
245
+
246
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-productBrowser-categoryPath a,
247
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-productBrowser-categoryPath a:active
248
+ {
249
+ font-size: 14px;
250
+ }
251
+
252
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-productBrowser-categoryPath-categoryLabel
253
+ {
254
+ font-size: 13px;
255
+ }
256
+
257
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-productBrowser-categoryPath {
258
+ padding-top: 5px;
259
+ }
260
+
261
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-product-browser .ecwid-productBrowser-productsGrid-mainTable {
262
+ margin-top: 18px;
263
+ }
264
+
265
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-product-browser .ecwid-productBrowser-productsGrid div.ecwid-productBrowser-productNameLink {
266
+ text-align: center;
267
+ }
268
+
269
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-product-browser div.ecwid-productBrowser-productNameLink a,
270
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-product-browser div.ecwid-productBrowser-productNameLink a:active,
271
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-product-browser div.ecwid-productBrowser-productNameLink a:visited
272
+ {
273
+ text-decoration: none;
274
+ font-size: 20px;
275
+ }
276
+
277
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-product-browser .ecwid-productBrowser-productsGrid div.ecwid-productBrowser-sku {
278
+ display: none;
279
+ }
280
+
281
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-product-browser .ecwid-productBrowser-price {
282
+ margin-top: 0;
283
+ font-weight: 600;
284
+ }
285
+
286
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-product-browser td.ecwid-productBrowser-productsGrid-cellSpace {
287
+ height: 62px;
288
+ }
289
+
290
+ /* Product details */
291
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-product-browser div.ecwid-productBrowser-details-rightPanel {
292
+ margin-right: 4px;
293
+ }
294
+
295
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-product-browser .ecwid-productBrowser-details-inStockLabel,
296
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-product-browser .ecwid-fieldLabel,
297
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-product-browser .ecwid-productBrowser-details-qtyLabel
298
+ {
299
+ font-family: Open Sans, Trebuchet MS, Helvetica, Verdana, sans-serif;
300
+ }
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
+ }
311
+ body.ecwid-shopping-cart h1.entry-title {
312
+ display: none;
313
+ }
314
+
315
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart div.ecwid-productBrowser {
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 */
336
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-productBrowser-auth-mini {
337
+ top: -25px;
338
+ }
339
+
340
+ html#ecwid_html body#ecwid_body .ecwid-productBrowser-auth > div,
341
+ html#ecwid_html body#ecwid_body.ecwid-with-search .ecwid-productBrowser-auth > div,
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;
352
+ left: 31px;
353
+ top: -204px;
354
+ }
355
+
356
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-minicart,
357
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-minicart-mini-rolloverContainer
358
+ {
359
+ display: none;
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 {
368
+ }
369
+
370
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-productBrowser-categoryPath {
371
+ padding-top: 6px;
372
+ }
373
+
374
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-shopping-cart-product-browser .ecwid-productBrowser-productNameLink {
375
+ margin-top: 10px;
376
+ }
377
+
378
+ }
css/themes/responsive.css ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Mobile */
2
+ @media screen and (max-width: 400px) {
3
+
4
+ body.ecwid-shopping-cart #wrapper {
5
+ padding: 0 5px;
6
+ }
7
+ }
8
+
9
+ @media screen and (max-width: 650px) {
10
+
11
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart #select-State-Box,
12
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart #select-Country-Box,
13
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-AddressForm-state,
14
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-AddressForm-country,
15
+ html#ecwid_html body#ecwid_body.ecwid-shopping-cart .ecwid-fieldEnvelope {
16
+ width: 100%;
17
+ }
18
+ }
ecwid-shopping-cart.php CHANGED
@@ -5,16 +5,17 @@ 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.2
9
  Author URI: http://www.ecwid.com?source=wporg
10
  */
11
 
12
  register_activation_hook( __FILE__, 'ecwid_store_activate' );
13
  register_deactivation_hook( __FILE__, 'ecwid_store_deactivate' );
14
 
15
- define("APP_ECWID_COM", "app.ecwid.com");
16
  define("ECWID_DEMO_STORE_ID", 1003);
17
 
 
18
  if ( ! defined( 'ECWID_PLUGIN_DIR' ) ) {
19
  define( 'ECWID_PLUGIN_DIR', plugin_dir_path( realpath(__FILE__) ) );
20
  }
@@ -23,6 +24,8 @@ if ( ! defined( 'ECWID_PLUGIN_URL' ) ) {
23
  define( 'ECWID_PLUGIN_URL', plugin_dir_url( realpath(__FILE__) ) );
24
  }
25
 
 
 
26
  add_action('sm_buildmap', 'ecwid_build_sitemap_pages');
27
 
28
  if ( is_admin() ){
@@ -34,6 +37,7 @@ if ( is_admin() ){
34
  add_action('admin_enqueue_scripts', 'ecwid_register_admin_styles');
35
  add_action('admin_enqueue_scripts', 'ecwid_register_settings_styles');
36
  add_action('wp_ajax_ecwid_hide_vote_message', 'ecwid_hide_vote_message');
 
37
  add_filter('plugins_loaded', 'ecwid_load_textdomain');
38
  add_filter('plugin_action_links_ecwid-shopping-cart/ecwid-shopping-cart.php', 'ecwid_plugin_actions');
39
  add_action('admin_head', 'ecwid_ie8_fonts_inclusion');
@@ -47,6 +51,7 @@ if ( is_admin() ){
47
  add_shortcode('ecwid_product', 'ecwid_product_shortcode');
48
  add_action('init', 'ecwid_backward_compatibility');
49
  add_action('send_headers', 'ecwid_503_on_store_closed');
 
50
  add_action('template_redirect', 'ecwid_apply_theme_adjustments');
51
  add_action('template_redirect', 'ecwid_404_on_broken_escaped_fragment');
52
  add_action('wp_enqueue_scripts', 'ecwid_add_frontend_styles');
@@ -61,6 +66,7 @@ if ( is_admin() ){
61
  add_action('wp_head', 'ecwid_seo_compatibility_restore', 1000);
62
  add_filter( 'widget_meta_poweredby', 'ecwid_add_credits');
63
  add_filter('the_content', 'ecwid_content_started', 0);
 
64
  $ecwid_seo_title = '';
65
  }
66
  add_action('admin_bar_menu', 'add_ecwid_admin_bar_node', 1000);
@@ -68,6 +74,7 @@ add_action('admin_bar_menu', 'add_ecwid_admin_bar_node', 1000);
68
  $ecwid_script_rendered = false; // controls single script.js on page
69
 
70
  require_once plugin_dir_path(__FILE__) . '/lib/class-ecwid-theme-manager.php';
 
71
 
72
  $version = get_bloginfo('version');
73
 
@@ -129,11 +136,18 @@ if (is_admin()) {
129
  }
130
 
131
  function ecwid_apply_theme_adjustments()
 
 
 
 
 
 
132
  {
133
  if (ecwid_page_has_productbrowser()) {
134
- $ecwid_theme_manager = Ecwid_Theme_Manager::get_instance();
135
- $ecwid_theme_manager->apply_adjustments();
136
  }
 
 
137
  }
138
 
139
  function ecwid_ie8_fonts_inclusion()
@@ -211,14 +225,11 @@ function ecwid_503_on_store_closed() {
211
  function ecwid_backward_compatibility() {
212
  // Backward compatibility with 1.1.2 and earlier
213
  if (isset($_GET['ecwid_product_id']) || isset($_GET['ecwid_category_id'])) {
214
- $ecwid_page = get_option("ecwid_store_page_id");
215
- $ecwid_page = get_page_link($ecwid_page);
216
- $ecwid_page .= '#!/~/';
217
 
218
  if (isset($_GET['ecwid_product_id']))
219
- $redirect = $ecwid_page . 'product/id=' . $_GET['ecwid_product_id'];
220
  elseif (isset($_GET['ecwid_category_id']))
221
- $redirect = $ecwid_page . 'category/id=' . $_GET['ecwid_category_id'];
222
 
223
  wp_redirect($redirect, 301);
224
  exit();
@@ -230,7 +241,7 @@ function ecwid_build_sitemap_pages()
230
  {
231
  if (!ecwid_is_paid_account() || !ecwid_store_page_available()) return;
232
 
233
- $page_url = get_page_link(get_option("ecwid_store_page_id"));
234
 
235
  include ECWID_PLUGIN_DIR . '/lib/EcwidSitemapBuilder.php';
236
 
@@ -243,7 +254,7 @@ function build_sitemap_callback($url, $priority, $frequency)
243
  {
244
  static $generatorObject = null;
245
  if (is_null($generatorObject)) {
246
- $generatorObject = &GoogleSitemapGenerator::GetInstance(); //Please note the "&" sign!
247
  }
248
 
249
  if($generatorObject != null) {
@@ -295,6 +306,14 @@ function ecwid_seo_ultimate_compatibility()
295
  }
296
  }
297
 
 
 
 
 
 
 
 
 
298
  function ecwid_seo_compatibility_init($title)
299
  {
300
  if (!array_key_exists('_escaped_fragment_', $_GET) || !ecwid_page_has_productbrowser()) {
@@ -309,7 +328,7 @@ function ecwid_seo_compatibility_init($title)
309
  // Canonical
310
  remove_action( 'wpseo_head', array( $wpseo_front, 'canonical' ), 20);
311
  // Title
312
- remove_action( 'get_header', array( $wpseo_front, 'force_rewrite_output_buffer' ) );
313
  remove_action( 'wp_footer', array( $wpseo_front, 'flush_cache'));
314
  // Description
315
  remove_action( 'wpseo_head', array( $wpseo_front, 'metadesc' ), 10 );
@@ -438,8 +457,7 @@ function ecwid_meta() {
438
  echo '<link rel="dns-prefetch" href="//app.ecwid.com/">' . PHP_EOL;
439
 
440
  if (!ecwid_page_has_productbrowser()) {
441
- $ecwid_page_id = get_option("ecwid_store_page_id");
442
- $page_url = get_page_link($ecwid_page_id);
443
  echo '<link rel="prefetch" href="' . $page_url . '" />' . PHP_EOL;
444
  echo '<link rel="prerender" href="' . $page_url . '" />' . PHP_EOL;
445
  }
@@ -454,7 +472,17 @@ function ecwid_canonical() {
454
 
455
  if (!in_array($params['mode'], array('category', 'product')) || !isset($params['id'])) return;
456
 
457
- echo '<link rel="canonical" href="' . get_permalink() . '#!/~/' . $params['mode'] . '/id=' . $params['id'] . '" />' . PHP_EOL;
 
 
 
 
 
 
 
 
 
 
458
  }
459
 
460
  function ecwid_meta_description() {
@@ -479,7 +507,7 @@ function ecwid_meta_description() {
479
  $description = strip_tags($description);
480
  $description = html_entity_decode($description, ENT_NOQUOTES, 'UTF-8');
481
 
482
- $description = preg_replace("![\\s]+!", " ", $description);
483
  $description = trim($description, " \t\xA0\n\r"); // Space, tab, non-breaking space, newline, carriage return
484
  $description = mb_substr($description, 0, 160);
485
  $description = htmlspecialchars($description, ENT_COMPAT, 'UTF-8');
@@ -489,6 +517,13 @@ function ecwid_meta_description() {
489
  HTML;
490
  }
491
 
 
 
 
 
 
 
 
492
  function ecwid_hide_vote_message()
493
  {
494
  update_option('ecwid_show_vote_message', false);
@@ -556,6 +591,7 @@ function ecwid_seo_title($content) {
556
  $ecwid_seo_title = $ecwid_category['name'];
557
  }
558
  }
 
559
  if (!empty($ecwid_seo_title))
560
  return $ecwid_seo_title . " | " . $content;
561
  else
@@ -592,12 +628,12 @@ function ecwid_content_started($content)
592
  return $content;
593
  }
594
 
595
- function ecwid_wrap_shortcode_content($content)
596
  {
597
- return "<!-- Ecwid shopping cart plugin v 2.4.2 -->"
598
  . ecwid_get_scriptjs_code()
599
- . "<div>$content</div>"
600
- . "<!-- END Ecwid Shopping Cart v 2.4.2 -->";
601
  }
602
 
603
  function ecwid_get_scriptjs_code($force_lang = null) {
@@ -628,44 +664,66 @@ function ecwid_script_shortcode($params) {
628
  $content = ecwid_get_scriptjs_code($attributes['lang']);
629
  }
630
 
631
- return ecwid_wrap_shortcode_content($content);
632
  }
633
 
634
- function ecwid_minicart_shortcode() {
635
 
636
  $ecwid_enable_minicart = get_option('ecwid_enable_minicart');
637
  $ecwid_show_categories = get_option('ecwid_show_categories');
 
 
638
  if (!empty($ecwid_enable_minicart) && !empty($ecwid_show_categories)) {
639
- $s = <<<EOT
640
  <script type="text/javascript"> xMinicart("style=","layout=attachToCategories"); </script>
641
  EOT;
642
- return ecwid_wrap_shortcode_content($s);
643
- } else {
644
- return "";
645
  }
 
 
 
 
 
 
 
 
646
  }
 
647
  function ecwid_searchbox_shortcode() {
648
- $ecwid_show_search_box = get_option('ecwid_show_search_box');
 
649
  if (!empty($ecwid_show_search_box)) {
650
- $s = <<<EOT
651
  <script type="text/javascript"> xSearchPanel("style="); </script>
652
  EOT;
653
- return ecwid_wrap_shortcode_content($s);
654
- } else {
655
- return "";
656
  }
 
 
 
 
 
 
 
 
657
  }
658
 
659
  function ecwid_categories_shortcode() {
 
660
  $ecwid_show_categories = get_option('ecwid_show_categories');
 
 
661
  if (!empty($ecwid_show_categories)) {
662
- $s = <<<EOT
663
  <script type="text/javascript"> xCategories("style="); </script>
664
  EOT;
665
- return ecwid_wrap_shortcode_content($s);
666
- } else {
667
- return "";
668
  }
 
 
 
 
 
 
 
 
669
  }
670
 
671
  function ecwid_product_shortcode($shortcode_attributes) {
@@ -710,8 +768,7 @@ function ecwid_product_shortcode($shortcode_attributes) {
710
  if (is_array($items) && count($items) > 0) foreach ($items as $item) {
711
  if (array_key_exists($item, $display_items)) {
712
  if ($attributes['link'] == 'yes' && in_array($item, array('title', 'picture'))) {
713
- $page_url = get_page_link(get_option("ecwid_store_page_id"));
714
- $product_link = $page_url . '#!/~/product/id=' . $id;
715
  $result .= '<a href="' . esc_url($product_link) . '">' . $display_items[$item] . '</a>';
716
  } else {
717
  $result .= $display_items[$item];
@@ -723,7 +780,9 @@ function ecwid_product_shortcode($shortcode_attributes) {
723
 
724
  $result .= '<script type="text/javascript">xSingleProduct()</script>';
725
 
726
- return ecwid_wrap_shortcode_content($result);
 
 
727
  }
728
 
729
  function ecwid_parse_escaped_fragment($escaped_fragment) {
@@ -733,8 +792,16 @@ function ecwid_parse_escaped_fragment($escaped_fragment) {
733
  if (preg_match('/^(\/~\/)([a-z]+)\/(.*)$/', $fragment, $matches)) {
734
  parse_str($matches[3], $return);
735
  $return['mode'] = $matches[2];
736
- }
737
- return $return;
 
 
 
 
 
 
 
 
738
  }
739
 
740
  function ecwid_productbrowser_shortcode($shortcode_params) {
@@ -804,17 +871,25 @@ function ecwid_productbrowser_shortcode($shortcode_params) {
804
  if (isset($params['mode']) && !empty($params['mode'])) {
805
  if ($params['mode'] == 'product') {
806
  $plain_content = $catalog->get_product($params['id']);
807
- $plain_content .= '<script type="text/javascript"> if (!document.location.hash) document.location.hash = "!/~/product/id='. intval($params['id']) .'";</script>';
808
  } elseif ($params['mode'] == 'category') {
809
  $plain_content = $catalog->get_category($params['id']);
810
  $ecwid_default_category_str = ',"defaultCategoryId=' . $params['id'] . '"';
 
811
  }
812
 
813
  } else {
814
  $plain_content = $catalog->get_category(intval($ecwid_default_category_id));
 
 
 
 
 
 
 
 
 
815
  }
816
- } else {
817
- $plain_content = '<noscript>Your browser does not support JavaScript.<a href="' . $ecwid_mobile_catalog_link .'">HTML version of this store</a></noscript>';
818
  }
819
 
820
  $s = '';
@@ -825,14 +900,17 @@ function ecwid_productbrowser_shortcode($shortcode_params) {
825
  </div>
826
  <script type="text/javascript"> xProductBrowser("categoriesPerRow=$ecwid_pb_categoriesperrow","views=grid($ecwid_pb_productspercolumn_grid,$ecwid_pb_productsperrow_grid) list($ecwid_pb_productsperpage_list) table($ecwid_pb_productsperpage_table)","categoryView=$ecwid_pb_defaultview","searchView=$ecwid_pb_searchview","style="$ecwid_default_category_str, "id=ecwid-store-$store_id");</script>
827
  EOT;
828
- return ecwid_wrap_shortcode_content($s);
829
  }
830
 
831
  function ecwid_store_page_available()
832
  {
833
- $status = get_post_status(get_option('ecwid_store_page_id'));
834
 
835
- return $status == 'publish';
 
 
 
836
 
837
  }
838
 
@@ -870,6 +948,8 @@ EOT;
870
 
871
  add_option("ecwid_installation_date", time());
872
 
 
 
873
  $id = get_option("ecwid_store_page_id");
874
  $_tmp_page = null;
875
  if (!empty($id) and ($id > 0)) {
@@ -890,37 +970,27 @@ EOT;
890
  $my_post['comment_status'] = 'closed';
891
  $id = wp_insert_post( $my_post );
892
  update_option('ecwid_store_page_id', $id);
 
 
 
 
 
 
 
893
  }
894
 
 
 
895
  }
896
 
897
  function ecwid_show_admin_messages() {
898
- if (get_ecwid_store_id() == ECWID_DEMO_STORE_ID && isset($_GET['page']) && $_GET['page'] != 'ecwid') {
899
-
900
- $ecwid_page_id = get_option("ecwid_store_page_id");
901
- $page_url = get_page_link($ecwid_page_id);
902
-
903
- $message = sprintf(
904
- __('<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.', 'ecwid-shopping-cart'),
905
- $page_url
906
- );
907
-
908
- ecwid_show_admin_message($message);
909
- }
910
- $install_date = get_option('ecwid_installation_date');
911
- if (!$install_date) {
912
- add_option('ecwid_installation_date', time());
913
- } else if (ecwid_is_paid_account() && $install_date + 60*60*24*30 < time() && get_option('ecwid_show_vote_message')) {
914
- $message = sprintf(
915
- __('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)', 'ecwid-shopping-cart'),
916
- 'target="_blank" href="http://wordpress.org/support/view/plugin-reviews/ecwid-shopping-cart"'
917
- );
918
-
919
- ecwid_show_admin_message($message);
920
  }
921
  }
922
 
923
  function ecwid_show_admin_message($message) {
 
924
  $class = version_compare(get_bloginfo('version'), '3.0') < 0 ? "updated fade" : "update-nag";
925
  echo sprintf('<div class="%s" style="margin-top: 5px">%s</div>', $class, $message);
926
  }
@@ -940,6 +1010,7 @@ function ecwid_store_deactivate() {
940
  }
941
  }
942
 
 
943
  }
944
 
945
  function ecwid_abs_intval($value) {
@@ -1037,14 +1108,18 @@ function ecwid_settings_api_init() {
1037
 
1038
  case 'general':
1039
  register_setting('ecwid_options_page', 'ecwid_store_id','ecwid_abs_intval' );
 
 
 
1040
  break;
1041
 
1042
  case 'advanced':
1043
  register_setting('ecwid_options_page', 'ecwid_default_category_id', 'ecwid_abs_intval');
1044
  register_setting('ecwid_options_page', 'ecwid_sso_secret_key');
 
1045
  break;
1046
-
1047
  }
 
1048
  if (isset($_POST['ecwid_store_id'])) {
1049
  update_option('ecwid_is_api_enabled', 'off');
1050
  update_option('ecwid_api_check_time', 0);
@@ -1114,7 +1189,7 @@ function ecwid_advanced_settings_do_page() {
1114
 
1115
  function ecwid_appearance_settings_do_page() {
1116
 
1117
- wp_register_script('ecwid-appearance-js', plugins_url('ecwid-shopping-cart/js/appearance.js'), array(), '', '');
1118
  wp_enqueue_script('ecwid-appearance-js');
1119
 
1120
  $disabled = false;
@@ -1132,7 +1207,7 @@ function ecwid_appearance_settings_do_page() {
1132
 
1133
  require_once ECWID_PLUGIN_DIR . 'templates/appearance-settings.php';
1134
  }
1135
-
1136
  function get_ecwid_store_id() {
1137
  static $store_id = null;
1138
  if (is_null($store_id)) {
@@ -1154,6 +1229,40 @@ function ecwid_add_dashboard_widgets() {
1154
  }
1155
  }
1156
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1157
 
1158
  class EcwidBadgeWidget extends WP_Widget {
1159
 
@@ -1357,7 +1466,7 @@ class EcwidMinicartMiniViewWidget extends WP_Widget {
1357
  echo ecwid_get_scriptjs_code();
1358
 
1359
  $ecwid_page_id = get_option("ecwid_store_page_id");
1360
- $page_url = get_page_link($ecwid_page_id);
1361
  $_tmp_page = get_page($ecwid_page_id);
1362
  if (!empty($page_url) && $_tmp_page != null)
1363
  echo "<script type=\"text/javascript\">var ecwid_ProductBrowserURL = \"$page_url\";</script>";
@@ -1507,7 +1616,7 @@ function ecwid_send_stats()
1507
 
1508
  $link = '';
1509
  if (ecwid_store_page_available()) {
1510
- $link = get_page_link(get_option('ecwid_store_page_id'));
1511
  } else {
1512
  $link = get_bloginfo('url');
1513
  }
@@ -1541,7 +1650,8 @@ function ecwid_gather_stats()
1541
  'sso_enabled',
1542
  'default_category',
1543
  'google_xml_sitemaps_used',
1544
- 'ecwid_product_advisor_used'
 
1545
  );
1546
 
1547
  $usage_stats = array();
@@ -1558,6 +1668,7 @@ function ecwid_gather_stats()
1558
  $usage_stats['default_category'] = (bool) get_option('ecwid_default_category_id');
1559
  $usage_stats['google_xml_sitemaps_used'] = (bool) is_plugin_active('google-sitemap-generator/sitemap.php');
1560
  $usage_stats['ecwid_product_advisor_used'] = (bool) is_plugin_active('ecwid-useful-tools/ecwid-product-advisor.php');
 
1561
 
1562
  $stats['usage'] = '';
1563
 
@@ -1673,11 +1784,12 @@ function ecwid_is_api_enabled()
1673
  {
1674
  $ecwid_is_api_enabled = get_option('ecwid_is_api_enabled');
1675
  $ecwid_api_check_time = get_option('ecwid_api_check_time');
1676
- $now = time();
1677
 
1678
  if ($now > ($ecwid_api_check_time + 60 * 60 * 3)) {
1679
  // check whether API is available once in 3 hours
1680
  $ecwid = ecwid_new_product_api();
 
1681
  $ecwid_is_api_enabled = ($ecwid->is_api_enabled() ? 'on' : 'off');
1682
  update_option('ecwid_is_api_enabled', $ecwid_is_api_enabled);
1683
  update_option('ecwid_api_check_time', $now);
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
9
  Author URI: http://www.ecwid.com?source=wporg
10
  */
11
 
12
  register_activation_hook( __FILE__, 'ecwid_store_activate' );
13
  register_deactivation_hook( __FILE__, 'ecwid_store_deactivate' );
14
 
15
+ define("APP_ECWID_COM", 'app.ecwid.com');
16
  define("ECWID_DEMO_STORE_ID", 1003);
17
 
18
+
19
  if ( ! defined( 'ECWID_PLUGIN_DIR' ) ) {
20
  define( 'ECWID_PLUGIN_DIR', plugin_dir_path( realpath(__FILE__) ) );
21
  }
24
  define( 'ECWID_PLUGIN_URL', plugin_dir_url( realpath(__FILE__) ) );
25
  }
26
 
27
+
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() ){
37
  add_action('admin_enqueue_scripts', 'ecwid_register_admin_styles');
38
  add_action('admin_enqueue_scripts', 'ecwid_register_settings_styles');
39
  add_action('wp_ajax_ecwid_hide_vote_message', 'ecwid_hide_vote_message');
40
+ add_action('wp_ajax_ecwid_hide_message', 'ecwid_ajax_hide_message');
41
  add_filter('plugins_loaded', 'ecwid_load_textdomain');
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');
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');
66
  add_action('wp_head', 'ecwid_seo_compatibility_restore', 1000);
67
  add_filter( 'widget_meta_poweredby', 'ecwid_add_credits');
68
  add_filter('the_content', 'ecwid_content_started', 0);
69
+ add_filter('body_class', 'ecwid_body_class');
70
  $ecwid_seo_title = '';
71
  }
72
  add_action('admin_bar_menu', 'add_ecwid_admin_bar_node', 1000);
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');
80
 
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()) {
147
+ $classes[] = 'ecwid-shopping-cart';
 
148
  }
149
+
150
+ return $classes;
151
  }
152
 
153
  function ecwid_ie8_fonts_inclusion()
225
  function ecwid_backward_compatibility() {
226
  // Backward compatibility with 1.1.2 and earlier
227
  if (isset($_GET['ecwid_product_id']) || isset($_GET['ecwid_category_id'])) {
 
 
 
228
 
229
  if (isset($_GET['ecwid_product_id']))
230
+ $redirect = ecwid_get_product_url(intval($_GET['ecwid_product_id']));
231
  elseif (isset($_GET['ecwid_category_id']))
232
+ $redirect = ecwid_get_category_url(intval($_GET['ecwid_category_id']));
233
 
234
  wp_redirect($redirect, 301);
235
  exit();
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
 
254
  {
255
  static $generatorObject = null;
256
  if (is_null($generatorObject)) {
257
+ $generatorObject = GoogleSitemapGenerator::GetInstance(); //Please note the "&" sign!
258
  }
259
 
260
  if($generatorObject != null) {
306
  }
307
  }
308
 
309
+ function ecwid_seo_compatibility_template_redirect()
310
+ {
311
+ global $wpseo_front;
312
+
313
+ // Newer versions of Wordpress SEO assign their rewrite on this stage
314
+ remove_action( 'template_redirect', array( $wpseo_front, 'force_rewrite_output_buffer' ), 99999 );
315
+ }
316
+
317
  function ecwid_seo_compatibility_init($title)
318
  {
319
  if (!array_key_exists('_escaped_fragment_', $_GET) || !ecwid_page_has_productbrowser()) {
328
  // Canonical
329
  remove_action( 'wpseo_head', array( $wpseo_front, 'canonical' ), 20);
330
  // Title
331
+ remove_action( 'get_header', array( $wpseo_front, 'force_rewrite_output_buffer' ) ); // Older versions of plugin
332
  remove_action( 'wp_footer', array( $wpseo_front, 'flush_cache'));
333
  // Description
334
  remove_action( 'wpseo_head', array( $wpseo_front, 'metadesc' ), 10 );
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;
463
  }
472
 
473
  if (!in_array($params['mode'], array('category', 'product')) || !isset($params['id'])) return;
474
 
475
+ $api = ecwid_new_product_api();
476
+
477
+ if ($params['mode'] == 'product') {
478
+ $product = $api->get_product($params['id']);
479
+ $link = ecwid_get_product_url($product);
480
+ } else if ($params['mode'] == 'category') {
481
+ $category = $api->get_category($params['id']);
482
+ $link = ecwid_get_category_url($category);
483
+ }
484
+
485
+ echo '<link rel="canonical" href="' . esc_attr($link) . '" />' . PHP_EOL;
486
  }
487
 
488
  function ecwid_meta_description() {
507
  $description = strip_tags($description);
508
  $description = html_entity_decode($description, ENT_NOQUOTES, 'UTF-8');
509
 
510
+ $description = preg_replace('![\p{Z}\s]{2,}!u', ' ', $description);
511
  $description = trim($description, " \t\xA0\n\r"); // Space, tab, non-breaking space, newline, carriage return
512
  $description = mb_substr($description, 0, 160);
513
  $description = htmlspecialchars($description, ENT_COMPAT, 'UTF-8');
517
  HTML;
518
  }
519
 
520
+ function ecwid_ajax_hide_message($params)
521
+ {
522
+ if (Ecwid_Message_Manager::disable_message($_GET['message'])) {
523
+ wp_send_json(array('status' => 'success'));
524
+ }
525
+ }
526
+
527
  function ecwid_hide_vote_message()
528
  {
529
  update_option('ecwid_show_vote_message', false);
591
  $ecwid_seo_title = $ecwid_category['name'];
592
  }
593
  }
594
+
595
  if (!empty($ecwid_seo_title))
596
  return $ecwid_seo_title . " | " . $content;
597
  else
628
  return $content;
629
  }
630
 
631
+ function ecwid_wrap_shortcode_content($content, $name)
632
  {
633
+ return "<!-- Ecwid shopping cart plugin v 2.4.3 -->"
634
  . ecwid_get_scriptjs_code()
635
+ . "<div class=\"ecwid-shopping-cart-$name\">$content</div>"
636
+ . "<!-- END Ecwid Shopping Cart v 2.4.3 -->";
637
  }
638
 
639
  function ecwid_get_scriptjs_code($force_lang = null) {
664
  $content = ecwid_get_scriptjs_code($attributes['lang']);
665
  }
666
 
667
+ return ecwid_wrap_shortcode_content($content, 'script');
668
  }
669
 
670
+ function ecwid_minicart_shortcode($params) {
671
 
672
  $ecwid_enable_minicart = get_option('ecwid_enable_minicart');
673
  $ecwid_show_categories = get_option('ecwid_show_categories');
674
+
675
+ $result = '';
676
  if (!empty($ecwid_enable_minicart) && !empty($ecwid_show_categories)) {
677
+ $result = <<<EOT
678
  <script type="text/javascript"> xMinicart("style=","layout=attachToCategories"); </script>
679
  EOT;
 
 
 
680
  }
681
+
682
+ $result = apply_filters('ecwid_minicart_shortcode_content', $result);
683
+
684
+ if (!empty($result)) {
685
+ $result = ecwid_wrap_shortcode_content($result, 'minicart');
686
+ }
687
+
688
+ return $result;
689
  }
690
+
691
  function ecwid_searchbox_shortcode() {
692
+
693
+ $ecwid_show_search_box = get_option('ecwid_show_search_box');
694
  if (!empty($ecwid_show_search_box)) {
695
+ $result = <<<EOT
696
  <script type="text/javascript"> xSearchPanel("style="); </script>
697
  EOT;
 
 
 
698
  }
699
+
700
+ $result = apply_filters('ecwid_search_shortcode_content', $result);
701
+
702
+ if (!empty($result)) {
703
+ $result = ecwid_wrap_shortcode_content($result, 'search');
704
+ }
705
+
706
+ return $result;
707
  }
708
 
709
  function ecwid_categories_shortcode() {
710
+
711
  $ecwid_show_categories = get_option('ecwid_show_categories');
712
+
713
+ $result = '';
714
  if (!empty($ecwid_show_categories)) {
715
+ $result = <<<EOT
716
  <script type="text/javascript"> xCategories("style="); </script>
717
  EOT;
 
 
 
718
  }
719
+
720
+ $result = apply_filters('ecwid_categories_shortcode_content', $result);
721
+
722
+ if (!empty($result)) {
723
+ $result = ecwid_wrap_shortcode_content($result, 'categories');
724
+ }
725
+
726
+ return $result;
727
  }
728
 
729
  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];
780
 
781
  $result .= '<script type="text/javascript">xSingleProduct()</script>';
782
 
783
+ update_option('ecwid_single_product_used', time());
784
+
785
+ return ecwid_wrap_shortcode_content($result, 'product');
786
  }
787
 
788
  function ecwid_parse_escaped_fragment($escaped_fragment) {
792
  if (preg_match('/^(\/~\/)([a-z]+)\/(.*)$/', $fragment, $matches)) {
793
  parse_str($matches[3], $return);
794
  $return['mode'] = $matches[2];
795
+ } elseif (preg_match('!.*/(p|c)/([0-9]*)!', $fragment, $matches)) {
796
+ if (count($matches) == 3 && in_array($matches[1], array('p', 'c'))) {
797
+ $return = array(
798
+ 'mode' => 'p' == $matches[1] ? 'product' : 'category',
799
+ 'id' => $matches[2]
800
+ );
801
+ }
802
+ }
803
+
804
+ return $return;
805
  }
806
 
807
  function ecwid_productbrowser_shortcode($shortcode_params) {
871
  if (isset($params['mode']) && !empty($params['mode'])) {
872
  if ($params['mode'] == 'product') {
873
  $plain_content = $catalog->get_product($params['id']);
874
+ $url = ecwid_get_product_url(ecwid_new_product_api()->get_product($params['id']));
875
  } elseif ($params['mode'] == 'category') {
876
  $plain_content = $catalog->get_category($params['id']);
877
  $ecwid_default_category_str = ',"defaultCategoryId=' . $params['id'] . '"';
878
+ $url = ecwid_get_category_url(ecwid_new_product_api()->get_category($params['id']));
879
  }
880
 
881
  } else {
882
  $plain_content = $catalog->get_category(intval($ecwid_default_category_id));
883
+ if (empty($plain_content)) {
884
+ $plain_content = $catalog->get_category(0);
885
+ } else {
886
+ $url = ecwid_get_category_url(ecwid_new_product_api()->get_category($params['id']));
887
+ }
888
+ }
889
+ if ($url) {
890
+ $parsed = parse_url($url);
891
+ $plain_content .= '<script type="text/javascript"> if (!document.location.hash) document.location.hash = "'. $parsed['fragment'] . '";</script>';
892
  }
 
 
893
  }
894
 
895
  $s = '';
900
  </div>
901
  <script type="text/javascript"> xProductBrowser("categoriesPerRow=$ecwid_pb_categoriesperrow","views=grid($ecwid_pb_productspercolumn_grid,$ecwid_pb_productsperrow_grid) list($ecwid_pb_productsperpage_list) table($ecwid_pb_productsperpage_table)","categoryView=$ecwid_pb_defaultview","searchView=$ecwid_pb_searchview","style="$ecwid_default_category_str, "id=ecwid-store-$store_id");</script>
902
  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
 
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;
955
  if (!empty($id) and ($id > 0)) {
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');
983
+
984
  }
985
 
986
  function ecwid_show_admin_messages() {
987
+ if (is_admin()) {
988
+ Ecwid_Message_Manager::show_messages();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
989
  }
990
  }
991
 
992
  function ecwid_show_admin_message($message) {
993
+
994
  $class = version_compare(get_bloginfo('version'), '3.0') < 0 ? "updated fade" : "update-nag";
995
  echo sprintf('<div class="%s" style="margin-top: 5px">%s</div>', $class, $message);
996
  }
1010
  }
1011
  }
1012
 
1013
+ Ecwid_Message_Manager::reset_hidden_messages();
1014
  }
1015
 
1016
  function ecwid_abs_intval($value) {
1108
 
1109
  case 'general':
1110
  register_setting('ecwid_options_page', 'ecwid_store_id','ecwid_abs_intval' );
1111
+ if (intval($_POST['ecwid_store_id']) == 0) {
1112
+ Ecwid_Message_Manager::reset_hidden_messages();
1113
+ }
1114
  break;
1115
 
1116
  case 'advanced':
1117
  register_setting('ecwid_options_page', 'ecwid_default_category_id', 'ecwid_abs_intval');
1118
  register_setting('ecwid_options_page', 'ecwid_sso_secret_key');
1119
+ register_setting('ecwid_options_page', 'ecwid_enable_advanced_theme_layout');
1120
  break;
 
1121
  }
1122
+
1123
  if (isset($_POST['ecwid_store_id'])) {
1124
  update_option('ecwid_is_api_enabled', 'off');
1125
  update_option('ecwid_api_check_time', 0);
1189
 
1190
  function ecwid_appearance_settings_do_page() {
1191
 
1192
+ wp_register_script('ecwid-appearance-js', plugins_url('ecwid-shopping-cart/js/appearance.js'), array(), '', true);
1193
  wp_enqueue_script('ecwid-appearance-js');
1194
 
1195
  $disabled = false;
1207
 
1208
  require_once ECWID_PLUGIN_DIR . 'templates/appearance-settings.php';
1209
  }
1210
+
1211
  function get_ecwid_store_id() {
1212
  static $store_id = null;
1213
  if (is_null($store_id)) {
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');
1246
+ }
1247
+
1248
+ function ecwid_get_category_url($category)
1249
+ {
1250
+ return ecwid_get_entity_url($category, 'c');
1251
+ }
1252
+
1253
+ 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'], '#'));
1261
+ }
1262
+
1263
+ return $link;
1264
+
1265
+ }
1266
 
1267
  class EcwidBadgeWidget extends WP_Widget {
1268
 
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>";
1616
 
1617
  $link = '';
1618
  if (ecwid_store_page_available()) {
1619
+ $link = ecwid_get_store_page_url();
1620
  } else {
1621
  $link = get_bloginfo('url');
1622
  }
1650
  'sso_enabled',
1651
  'default_category',
1652
  'google_xml_sitemaps_used',
1653
+ 'ecwid_product_advisor_used',
1654
+ 'ecwid_single_product_used'
1655
  );
1656
 
1657
  $usage_stats = array();
1668
  $usage_stats['default_category'] = (bool) get_option('ecwid_default_category_id');
1669
  $usage_stats['google_xml_sitemaps_used'] = (bool) is_plugin_active('google-sitemap-generator/sitemap.php');
1670
  $usage_stats['ecwid_product_advisor_used'] = (bool) is_plugin_active('ecwid-useful-tools/ecwid-product-advisor.php');
1671
+ $usage_stats['ecwid_single_product_used'] = (bool) (get_option('ecwid_single_product_used') + 60*60*24*14 > time());
1672
 
1673
  $stats['usage'] = '';
1674
 
1784
  {
1785
  $ecwid_is_api_enabled = get_option('ecwid_is_api_enabled');
1786
  $ecwid_api_check_time = get_option('ecwid_api_check_time');
1787
+ $now = time() + 60*60*24;
1788
 
1789
  if ($now > ($ecwid_api_check_time + 60 * 60 * 3)) {
1790
  // check whether API is available once in 3 hours
1791
  $ecwid = ecwid_new_product_api();
1792
+
1793
  $ecwid_is_api_enabled = ($ecwid->is_api_enabled() ? 'on' : 'off');
1794
  update_option('ecwid_is_api_enabled', $ecwid_is_api_enabled);
1795
  update_option('ecwid_api_check_time', $now);
fonts/ecwid-icons.eot ADDED
Binary file
js/admin.js CHANGED
@@ -10,4 +10,20 @@ jQuery(document).ready(function() {
10
  }
11
  );
12
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  });
10
  }
11
  );
12
  });
13
+
14
+ jQuery('a.ecwid-message-hide').click(function() {
15
+
16
+ var a = this;
17
+ jQuery(a).css('cursor', 'wait');
18
+ jQuery.getJSON(
19
+ 'admin-ajax.php',
20
+ {
21
+ action: 'ecwid_hide_message',
22
+ message: a.name
23
+ },
24
+ function(data) {
25
+ jQuery(a).closest('.ecwid-message').fadeOut();
26
+ }
27
+ );
28
+ });
29
  });
js/appearance.js CHANGED
@@ -1,6 +1,6 @@
1
  if (!Modernizr.svg) {
2
  for (var i in {grid:1,list:1,table:1}) {
3
- var parent = jQuery('.' + i + ' svg').parent();
4
  parent.find('svg').remove();
5
  parent.append('<div class="fallback-image ' + i + '-image"></div>');
6
  }
1
  if (!Modernizr.svg) {
2
  for (var i in {grid:1,list:1,table:1}) {
3
+ var parent = jQuery('.' + i + '.ecwid-pb-view-size .main-area');
4
  parent.find('svg').remove();
5
  parent.append('<div class="fallback-image ' + i + '-image"></div>');
6
  }
js/themes/responsive.js ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+
languages/ecwid-shopping-cart-de_DE.mo CHANGED
Binary file
languages/ecwid-shopping-cart-de_DE.po CHANGED
@@ -58,8 +58,8 @@ 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"
@@ -78,20 +78,20 @@ msgid "In order to enable this feature, opt to use a secret key. You will find t
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=\"widgets.php\">WordPress native widgets</a>."
86
- msgstr "Oder fügen Sie der Toolbar Ihrer Website mit den <a href=\"widgets.php\">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=\"widgets.php\">WordPress native widgets</a>."
90
- msgstr "Oder fügen Sie der Toolbar Ihrer Website mit den <a href=\"widgets.php\">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"
@@ -116,10 +116,10 @@ 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"
@@ -130,7 +130,7 @@ 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 exising 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"
@@ -144,16 +144,16 @@ 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"
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"
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"
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"
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"
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"
languages/ecwid-shopping-cart-es_ES.mo CHANGED
Binary file
languages/ecwid-shopping-cart-es_ES.po CHANGED
@@ -58,8 +58,8 @@ msgid "Ecwid Vertical Categories"
58
  msgstr "Categorías verticales Ecwid"
59
  msgid "Price"
60
  msgstr ""
61
- msgid "Ecwid Shopping Cart - Advanced settings"
62
- msgstr "Carro de compras Ecwid - Opciones avanzadas"
63
  msgid "Category shown by default"
64
  msgstr "Categoría mostrada por defecto"
65
  msgid "Store root category"
@@ -78,20 +78,20 @@ msgid "In order to enable this feature, opt to use a secret key. You will find t
78
  msgstr "Para activar esta característica usted debería enviar una clave secreta. Encontrará esta clave en su panel de control Ecwid, en la página \"Configurac​ión del sistema > API > Single Sign-on API\" . Esta característica está disponible sólo para <a href=\"http://www.ecwid.com/compare-plans.html\" target=\"_blank\">utilizadores de pago</a>."
79
  msgid "Save changes"
80
  msgstr "Guardar los cambios"
81
- msgid "Ecwid Shopping Cart - Appearance settings"
82
- msgstr "Tarjeta de Compras Ecwid - Ajustes de apariencia"
83
  msgid "Display search box above products"
84
  msgstr "Mostrar caja de búsqueda de productos de arriba"
85
- msgid "Or you can add search box to your website's toolbar using <a href=\"widgets.php\">WordPress native widgets</a>."
86
- msgstr "O puede añadir una caja de búsqueda a la barra de herramientas de su página web utilizando <a href=\"widgets.php\">WordPress native widgets</a>."
87
  msgid "Display horizontal categories above products"
88
  msgstr "Mostrar categorías horizontales sobre los productos"
89
- msgid "Or you can add vertical categories to your website's toolbar using <a href=\"widgets.php\">WordPress native widgets</a>."
90
- msgstr "O puede añadir categorías verticales a la barra de herramientas de su página utilizando <a href=\"widgets.php\">WordPress native widgets</a>."
91
  msgid "Enable minicart attached to horizontal categories"
92
  msgstr "Active minicarrito unido a las categorías horizontales "
93
- msgid "You should disable this option, if you added minicart to your website's&nbsp;sidebar."
94
- msgstr "Debería desabilitar esta opción, si añade un minicarro a su página web&nbsp;barra lateral."
95
  msgid "Number of categories per row"
96
  msgstr "Número de categorías por fila"
97
  msgid "Number of products per page"
@@ -116,10 +116,10 @@ msgid "Default view mode on search results"
116
  msgstr "Vista del modo predefinido en búsqueda de resultados"
117
  msgid "Store powered by Ecwid"
118
  msgstr ""
119
- msgid "Ecwid Shopping Cart - General settings"
120
- msgstr "Carro de Compras Ecwid- Configuración general"
121
- msgid "Thank you for choosing Ecwid to build your online store."
122
- msgstr "Gracias por elegir Ecwid para cosntruir su tienda online."
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 "El primer paso para abrir su negocio online: <br /> Vamos a empezar y añadir una tienda a su página web WordPress en <strong>3</strong> simples pasos."
125
  msgid "Register at Ecwid"
@@ -130,7 +130,7 @@ msgid "Create new Ecwid account"
130
  msgstr "Crear una nueva cuenta Ecwid"
131
  msgid "I already have Ecwid account, sign in"
132
  msgstr "Ya tengo una cuenta Ecwid, registrar"
133
- msgid "You will be able to sign up through your exising Google, Facebook or PayPal profiles as well."
134
  msgstr "Será además capaz de inscribirse a través de su perfil Google, Facebook o PayPal."
135
  msgid "Find your Store ID"
136
  msgstr "Encuentre la Identificación de su tienda"
@@ -144,16 +144,16 @@ msgid "Store ID"
144
  msgstr "Identificación de tienda"
145
  msgid "Save and connect your Ecwid store to the site"
146
  msgstr "Guarde y conecte su tienda Ecwid al site"
147
- msgid "Questions? Visit <a href=\"http://help.ecwid.com/?source=wporg\">Ecwid support center</a>."
148
- msgstr "Preguntas? Visite <a href=\"http://help.ecwid.com/?source=wporg\">el centro de ayuda Ecwid</a>."
149
  msgid "Congratulations!"
150
  msgstr "Enhorabuena!"
151
- msgid "Your Ecwid store is now connected to your WordPress website."
152
- msgstr "Su tienda Ecwid está conectada a su página web WordPress."
153
  msgid "Greetings!"
154
  msgstr "Saludos!"
155
- msgid "Your Ecwid store is connected to your WordPress website."
156
- msgstr "Su tienda Ecwid está conectadaa su página web WordPress."
157
  msgid "Control panel"
158
  msgstr "Panel de control"
159
  msgid "Account status"
58
  msgstr "Categorías verticales Ecwid"
59
  msgid "Price"
60
  msgstr ""
61
+ msgid "Ecwid Shopping Cart Advanced settings"
62
+ msgstr "Carro de compras Ecwid Opciones avanzadas"
63
  msgid "Category shown by default"
64
  msgstr "Categoría mostrada por defecto"
65
  msgid "Store root category"
78
  msgstr "Para activar esta característica usted debería enviar una clave secreta. Encontrará esta clave en su panel de control Ecwid, en la página \"Configurac​ión del sistema > API > Single Sign-on API\" . Esta característica está disponible sólo para <a href=\"http://www.ecwid.com/compare-plans.html\" target=\"_blank\">utilizadores de pago</a>."
79
  msgid "Save changes"
80
  msgstr "Guardar los cambios"
81
+ msgid "Ecwid Shopping Cart Appearance settings"
82
+ msgstr "Tarjeta de Compras Ecwid Ajustes de apariencia"
83
  msgid "Display search box above products"
84
  msgstr "Mostrar caja de búsqueda de productos de arriba"
85
+ msgid "Or you can add search box to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
86
+ msgstr "O puede añadir una caja de búsqueda a la barra de herramientas de su página web utilizando <a href=\"%s\">WordPress native widgets</a>"
87
  msgid "Display horizontal categories above products"
88
  msgstr "Mostrar categorías horizontales sobre los productos"
89
+ msgid "Or you can add vertical categories to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
90
+ msgstr "O puede añadir categorías verticales a la barra de herramientas de su página utilizando <a href=\"%s\">WordPress native widgets</a>"
91
  msgid "Enable minicart attached to horizontal categories"
92
  msgstr "Active minicarrito unido a las categorías horizontales "
93
+ msgid "You should disable this option, if you added minicart to your website's&nbsp;sidebar"
94
+ msgstr "Debería desabilitar esta opción, si añade un minicarro a su página web&nbsp;barra lateral"
95
  msgid "Number of categories per row"
96
  msgstr "Número de categorías por fila"
97
  msgid "Number of products per page"
116
  msgstr "Vista del modo predefinido en búsqueda de resultados"
117
  msgid "Store powered by Ecwid"
118
  msgstr ""
119
+ msgid "Ecwid Shopping Cart General settings"
120
+ msgstr "Carro de Compras Ecwid Configuración general"
121
+ msgid "Thank you for choosing Ecwid to build your online store"
122
+ msgstr "Gracias por elegir Ecwid para cosntruir su tienda online"
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 "El primer paso para abrir su negocio online: <br /> Vamos a empezar y añadir una tienda a su página web WordPress en <strong>3</strong> simples pasos."
125
  msgid "Register at Ecwid"
130
  msgstr "Crear una nueva cuenta Ecwid"
131
  msgid "I already have Ecwid account, sign in"
132
  msgstr "Ya tengo una cuenta Ecwid, registrar"
133
+ msgid "You will be able to sign up through your existing Google, Facebook or PayPal profiles as well."
134
  msgstr "Será además capaz de inscribirse a través de su perfil Google, Facebook o PayPal."
135
  msgid "Find your Store ID"
136
  msgstr "Encuentre la Identificación de su tienda"
144
  msgstr "Identificación de tienda"
145
  msgid "Save and connect your Ecwid store to the site"
146
  msgstr "Guarde y conecte su tienda Ecwid al site"
147
+ msgid "Questions? Visit <a href=\"http://help.ecwid.com/?source=wporg\">Ecwid support center</a>"
148
+ msgstr "Preguntas? Visite <a href=\"http://help.ecwid.com/?source=wporg\">el centro de ayuda Ecwid</a>"
149
  msgid "Congratulations!"
150
  msgstr "Enhorabuena!"
151
+ msgid "Your Ecwid store is now connected to your WordPress website"
152
+ msgstr "Su tienda Ecwid está conectada a su página web WordPress"
153
  msgid "Greetings!"
154
  msgstr "Saludos!"
155
+ msgid "Your Ecwid store is connected to your WordPress website"
156
+ msgstr "Su tienda Ecwid está conectadaa su página web WordPress"
157
  msgid "Control panel"
158
  msgstr "Panel de control"
159
  msgid "Account status"
languages/ecwid-shopping-cart-fr_FR.mo CHANGED
Binary file
languages/ecwid-shopping-cart-fr_FR.po CHANGED
@@ -58,8 +58,8 @@ 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"
@@ -78,20 +78,20 @@ msgid "In order to enable this feature, opt to use a secret key. You will find t
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=\"widgets.php\">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=\"widgets.php\">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=\"widgets.php\">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=\"widgets.php\">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"
@@ -116,10 +116,10 @@ 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"
@@ -130,7 +130,7 @@ 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 exising 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."
@@ -144,16 +144,16 @@ 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"
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"
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"
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"
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."
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"
languages/ecwid-shopping-cart-it_IT.mo CHANGED
Binary file
languages/ecwid-shopping-cart-it_IT.po ADDED
@@ -0,0 +1,250 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Ecwid Shopping Cart 2.0\n"
4
+ "PO-Revision-Date: 2013-10-28 20:42+0100\n"
5
+ "Last-Translator: Luciano Del Fico <info@myweb2.it>\n"
6
+ "MIME-Version: 1.0\n"
7
+ "Content-Type: text/plain; charset=UTF-8\n"
8
+ "Content-Transfer-Encoding: 8bit\n"
9
+ "POT-Creation-Date: \n"
10
+ "Language-Team: Luciano Del Fico <luciano@myweb2.it>\n"
11
+ "X-Generator: Poedit 1.5.7\n"
12
+ "Language: it_IT\n"
13
+ "X-Poedit-SourceCharset: UTF-8\n"
14
+
15
+ 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."
16
+ msgstr "<strong>Ecwid shopping cart è pronto</strong>. Visita <a target=\"_blank\" href=\"%s\">la pagina creata</a> per vedere il tuo negozio con alcuni prodotti dimostrativi. Per completare l'installazione, vai alle <a href=\"admin.php?page=ecwid\"><strong>impostazioni Ecwid</strong></a> e configura il plugin."
17
+
18
+ msgid "Account status"
19
+ msgstr "Tipo account"
20
+
21
+ msgid "Advanced"
22
+ msgstr "Avanzate"
23
+
24
+ msgid "Advanced settings"
25
+ msgstr "Impostazioni avanzate"
26
+
27
+ msgid "Appearance"
28
+ msgstr "Visualizzazione"
29
+
30
+ msgid "Appearance settings"
31
+ msgstr "Impostazioni visualizzazione"
32
+
33
+ msgid "Billing and plans"
34
+ msgstr "Fatturazione e Piani"
35
+
36
+ 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."
37
+ msgstr "Per impostazione predefinita, la vetrina mostra un elenco di categorie principali. È possibile ignorare questo comportamento e mostrare una categoria diversa quando i clienti aprono il negozio per la prima volta. E 'utile se si dispone di una sola categoria o si desidera visualizzare uno specifico insieme di elementi (es. \"Prodotti in evidenza\") a tutti i nuovi visitatori."
38
+
39
+ msgid "Category shown by default"
40
+ msgstr "Categoria visualizzata come predefinita"
41
+
42
+ msgid "Congratulations!"
43
+ msgstr "Congratulazioni!"
44
+
45
+ msgid "Control panel"
46
+ msgstr "Pannello di Controllo"
47
+
48
+ msgid "Create a new Ecwid account which you will use to manage your store and inventory. The registration is free."
49
+ msgstr "Crea un nuovo account su Ecwid che verrà utilizzato per gestire il tuo negozio e magazzino. La registrazione è gratuita."
50
+
51
+ msgid "Create new Ecwid account"
52
+ msgstr "Crea un nuovo account Ecwid"
53
+
54
+ msgid "Default category ID"
55
+ msgstr "ID categoria predefinita"
56
+
57
+ msgid "Default view mode on product pages"
58
+ msgstr "Modalità di visualizzazione predefinita sulle pagine prodotti"
59
+
60
+ msgid "Default view mode on search results"
61
+ msgstr "Modalità di visualizzazione predefinita nei risultati di ricerca"
62
+
63
+ msgid "Display horizontal categories above products"
64
+ msgstr "Visualizza le categorie orizzontali sopra i prodotti"
65
+
66
+ msgid "Display search box above products"
67
+ msgstr "Mostra casella di ricerca sopra prodotti"
68
+
69
+ msgid "Ecwid Search Box"
70
+ msgstr "Casella di ricerca negozio"
71
+
72
+ msgid "Ecwid Shopping Bag (Mini view)"
73
+ msgstr "Carrello Ecwid Shopping (Mini)"
74
+
75
+ msgid "Ecwid Shopping Bag (Normal)"
76
+ msgstr "Carrello Ecwid Shopping Bag (Normale)"
77
+
78
+ msgid "Ecwid Shopping Cart — Advanced settings"
79
+ msgstr "Ecwid Shopping Cart — Impostazioni Avanzate"
80
+
81
+ msgid "Ecwid Shopping Cart — Appearance settings"
82
+ msgstr "Ecwid Shopping Cart — Impostazioni di visualizzazione"
83
+
84
+ msgid "Ecwid Shopping Cart — General settings"
85
+ msgstr "Ecwid Shopping Cart — Impostazioni Generali"
86
+
87
+ msgid "Ecwid Store"
88
+ msgstr "Negozio Ecwid"
89
+
90
+ msgid "Ecwid Vertical Categories"
91
+ msgstr "Categorie Verticali Ecwid "
92
+
93
+ msgid "Ecwid shopping cart settings"
94
+ msgstr "Impostazioni Ecwid shopping cart"
95
+
96
+ msgid "Enable minicart attached to horizontal categories"
97
+ msgstr "Abilita carrello attaccato alle categorie orizzontali"
98
+
99
+ msgid "Enter your Store ID"
100
+ msgstr "Aggiungi il tuo ID Negozio"
101
+
102
+ msgid "Enter your Store ID here:"
103
+ msgstr "Aggiungi qui il tuo ID Negozio:"
104
+
105
+ msgid "Find your Store ID"
106
+ msgstr "Cerca id tuo ID Negozio"
107
+
108
+ msgid "Free"
109
+ msgstr "Gratuito"
110
+
111
+ msgid "General"
112
+ msgstr "Generale"
113
+
114
+ msgid "General settings"
115
+ msgstr "Impostazioni Generali"
116
+
117
+ msgid "Get help"
118
+ msgstr "Chiedi aiuto"
119
+
120
+ msgid "Go to Ecwid site"
121
+ msgstr "Vai al sito Ecwid"
122
+
123
+ msgid "Greetings!"
124
+ msgstr "Auguri!"
125
+
126
+ msgid "Grid"
127
+ msgstr "Griglia"
128
+
129
+ msgid "Grid view"
130
+ msgstr "Visualizza come griglia"
131
+
132
+ 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."
133
+ msgstr "Qui è possibile controllare il numero di prodotti da visualizzare per pagina. Queste opzioni definiscono valori massimi. Se non c'è abbastanza spazio per mostrare tutte le colonne dei prodotto, Ecwid adatterà il numero di colonne a tutti i prodotti."
134
+
135
+ msgid "I already have Ecwid account, sign in"
136
+ msgstr "Ho già un account Ecwid"
137
+
138
+ msgid "If you want to connect another Ecwid store, you can <a %s>disconnect the current one and change Store ID</a>."
139
+ msgstr "Se desideri collegare un altro negozio Ecwid, è possibile <a %s>scollegare e modificare il tuo attuale ID</a>."
140
+
141
+ 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."
142
+ msgstr "Per abilitare questa funzione è necessario essere in possesso di una chiave segreta. Troverete questo tasto nel pannello di controllo Ecwid, in \"Impostazioni di sistema > API > Single Sign-on API\" . Questa funzione è disponibile per tutti gli <a href=\"http://www.ecwid.com/compare-plans.html\" target=\"_blank\">utenti paganti</a>."
143
+
144
+ msgid "In order to set this option, <a %s>find an ID of the necessary category</a> and save it here."
145
+ msgstr "Per attivare questa opzione, <a %s> cerca un ID della categoria necessaria</a> e salvalo qui."
146
+
147
+ msgid "List"
148
+ msgstr "Elenco"
149
+
150
+ msgid "List view"
151
+ msgstr "Visualizza come elenco"
152
+
153
+ msgid "Manage my store"
154
+ msgstr "Gestione negozio"
155
+
156
+ msgid "Manage plugin settings"
157
+ msgstr "Impostazioni plugin"
158
+
159
+ msgid "Number of categories per row"
160
+ msgstr "Numero di categorie per riga"
161
+
162
+ msgid "Number of products per page"
163
+ msgstr "Numero di prodotti per pagina"
164
+
165
+ msgid "Or you can add search box to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
166
+ msgstr "Puoi anche aggiungere alla barra degli strumenti la casella di ricerca del tuo sito web utilizzando i <a href=\"%s\">widgets nativi di WordPress</a>"
167
+
168
+ msgid "Or you can add vertical categories to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
169
+ msgstr "Puoi anche aggiungere alla barra degli strumenti le categorie verticali utilizzando i <a href=\"%s\">widgets nativi di WordPress</a>"
170
+
171
+ msgid "Paid"
172
+ msgstr "Pagante"
173
+
174
+ msgid "Questions? Visit <a href=\"http://help.ecwid.com/?source=wporg\">Ecwid support center</a>"
175
+ msgstr "Domande? Visita il <a href=\"http://help.ecwid.com/?source=wporg\">Centro di Supporto Ecwid</a>"
176
+
177
+ msgid "Register at Ecwid"
178
+ msgstr "Registrati a Ecwid"
179
+
180
+ msgid "Save and connect your Ecwid store to the site"
181
+ msgstr "Salva e collega il tuo negozio Ecwid al sito"
182
+
183
+ msgid "Save changes"
184
+ msgstr "Salva modifiche"
185
+
186
+ msgid "Single Sign-On Secret Key"
187
+ msgstr "Registrazione Sign-On Secret Key"
188
+
189
+ msgid "Store"
190
+ msgstr "Negozio"
191
+
192
+ msgid "Store ID"
193
+ msgstr "ID Negozio"
194
+
195
+ 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."
196
+ msgstr "L'ID è un identificatore univoco di un qualsiasi negozio Ecwid, si compone di più cifre. Lo si può trovare sulla \"Scrivania\" di Ecwid. L'ID del Negozio sarà inviato dopo la registrazione anche nella email di benvenuto."
197
+
198
+ msgid "Store root category"
199
+ msgstr "Categoria principale negozio"
200
+
201
+ msgid "Table"
202
+ msgstr "Tabella"
203
+
204
+ msgid "Table view"
205
+ msgstr "Visualizza come tabella"
206
+
207
+ msgid "Thank you for choosing Ecwid to build your online store"
208
+ msgstr "Grazie per aver scelto Ecwid per costruire il tuo negozio online"
209
+
210
+ msgid "Thank you for supporting Ecwid!"
211
+ msgstr "Grazie per il supporto Ecwid!"
212
+
213
+ 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."
214
+ msgstr "Il primo passo verso l'apertura tuo business online: <br />Comincia ad aggiungere un negozio al tuo sito WordPress in <strong>3</strong> semplici steps."
215
+
216
+ 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."
217
+ msgstr "Questa funzione opzionale consente di abilitare la Sign-on Secret Key, quando i clienti sono registrati al sito, si accede automaticamente al tuo negozio Ecwid, anche se non dispongono di un account del negozio . Ha senso attivare questa funzione, se i visitatori effettivamente hanno creato un account nel tuo sito WordPress."
218
+
219
+ msgid "Upgrade"
220
+ msgstr "Aggiorna"
221
+
222
+ msgid "Upgrade to get access to cool premium features."
223
+ msgstr "Aggiorna per accedere agli strumenti premium."
224
+
225
+ msgid "Vertical menu of categories"
226
+ msgstr "Menu verticale categorie"
227
+
228
+ msgid "Visit storefront"
229
+ msgstr "Visita la vetrina del negozio"
230
+
231
+ msgid "You should disable this option, if you added minicart to your website's&nbsp;sidebar"
232
+ msgstr "È necessario disattivare questa opzione, se hai aggiunto il carrello al tuo sito web&nbsp;sidebar"
233
+
234
+ msgid "You will be able to sign up through your existing Google, Facebook or PayPal profiles as well."
235
+ msgstr "Sarai in grado di iscriverti tramite il tuo accont esistente di Google, Facebook e PayPal."
236
+
237
+ msgid "Your Ecwid store is connected to your WordPress website"
238
+ msgstr "Il tuo Negozio Ecwid è ora connesso al tuo sito web WordPress"
239
+
240
+ msgid "Your Ecwid store is now connected to your WordPress website"
241
+ msgstr "Il tuo Negozio Ecwid è ora connesso al tuo sito web WordPress"
242
+
243
+ msgid "Your store's minicart"
244
+ msgstr "Carrello del tuo negozio"
245
+
246
+ msgid "Your store's search box"
247
+ msgstr "La casella di ricerca del tuo negozio"
248
+
249
+ msgid "→ Sell on Facebook"
250
+ msgstr "→ Vendi su Facebook"
languages/ecwid-shopping-cart-pt_BR.mo CHANGED
Binary file
languages/ecwid-shopping-cart-pt_BR.po CHANGED
@@ -66,8 +66,8 @@ 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"
@@ -86,20 +86,20 @@ msgid "In order to enable this feature, opt to use a secret key. You will find t
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=\"widgets.php\">WordPress native widgets</a>."
94
- msgstr "Ou você pode adicionar uma barra de pesquisa no seu sítio usando <a href=\"widgets.php\">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=\"widgets.php\">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=\"widgets.php\">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"
@@ -124,9 +124,9 @@ 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."
@@ -138,7 +138,7 @@ 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 exising 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"
@@ -152,16 +152,16 @@ 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"
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"
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"
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."
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"
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"
languages/ecwid-shopping-cart-ru_RU.mo CHANGED
Binary file
languages/ecwid-shopping-cart-ru_RU.po CHANGED
@@ -42,8 +42,8 @@ msgstr "Магазин"
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 <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)"
46
- msgstr "Вам нравится ваш магазин Ecwid? Будем благодарны, если вы <a %s>оставите отзыв и проголосуете</a> за этот плагин на сайте WordPress. (<a id=\"hide-vote-message\">Закрыть</a> и больше не показывать это сообщение)"
47
 
48
  msgid "Ecwid shopping cart settings"
49
  msgstr "Настройки Ecwid"
@@ -72,6 +72,9 @@ msgstr "Дополнительные"
72
  msgid "Setup"
73
  msgstr "Настройки"
74
 
 
 
 
75
  msgid "Your store's minicart"
76
  msgstr "Корзина вашего магазина"
77
 
@@ -117,8 +120,8 @@ msgstr "Беспланный конструктов интернет-магаз
117
  msgid "Price"
118
  msgstr "Цена"
119
 
120
- msgid "Ecwid Shopping Cart - Advanced settings"
121
- msgstr "Магазин Ecwid - Дополнительные настройки"
122
 
123
  msgid "Category shown by default"
124
  msgstr "Категория, показываемая по умолчанию"
@@ -147,26 +150,26 @@ msgstr "Чтобы включить эту функцию, вам необход
147
  msgid "Save changes"
148
  msgstr "Сохранить изменения"
149
 
150
- msgid "Ecwid Shopping Cart - Appearance settings"
151
- msgstr "Магазин Ecwid - Настройки внешнего вида"
152
 
153
  msgid "Display search box above products"
154
  msgstr "Показывать форму поиска над списком продуктов"
155
 
156
- msgid "Or you can add search box to your website's toolbar using <a href=\"widgets.php\">WordPress native widgets</a>."
157
- msgstr "Или вы можете добавить форму поиска на ваш сайт с помощью <a href=\"widgets.php\">виджетов WordPress</a>."
158
 
159
  msgid "Display horizontal categories above products"
160
  msgstr "Показывать горизонтальное меню категорий над списком продуктов"
161
 
162
- msgid "Or you can add vertical categories to your website's toolbar using <a href=\"widgets.php\">WordPress native widgets</a>."
163
- msgstr "Или вы можете добавить вертикальное меню категорий на ваш сайт с помощью <a href=\"widgets.php\">виджетов WordPress</a>."
164
 
165
  msgid "Enable minicart attached to horizontal categories"
166
  msgstr "Показывать корзину у горизонтального меню категорий"
167
 
168
- msgid "You should disable this option, if you added minicart to your website's&nbsp;sidebar."
169
- msgstr "Если вы добавили виджет корзины в боковое меню, следует отключить эту настройку."
170
 
171
  msgid "Number of categories per row"
172
  msgstr "Количество категорий в ряд"
@@ -201,11 +204,11 @@ msgstr "Таблица"
201
  msgid "Default view mode on search results"
202
  msgstr "Вид страницы результатов поиска по умолчанию"
203
 
204
- msgid "Ecwid Shopping Cart - General settings"
205
- msgstr "Магазин Ecwid - Основные настройки"
206
 
207
- msgid "Thank you for choosing Ecwid to build your online store."
208
- msgstr "Спасибо вам за то, что выбрали Ecwid для своего интернет-магазина."
209
 
210
  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."
211
  msgstr "Чтобы начать продавать онлайн, добавим магазин на вам сайт WordPress за <strong>3</strong> простых шага."
@@ -222,14 +225,14 @@ msgstr "Создать новый аккаунт Ecwid"
222
  msgid "I already have Ecwid account, sign in"
223
  msgstr "У меня уже есть аккаунт Ecwid, войти"
224
 
225
- msgid "You will be able to sign up through your exising Google, Facebook or PayPal profiles as well."
226
  msgstr "Также вы сможете зарегистрироваться с помощью вашего существующего аккаунта Google, Facebook или PayPal."
227
 
228
  msgid "Find your Store ID"
229
  msgstr "Найдите ваш ID Магазина"
230
 
231
  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."
232
- msgstr "ID Магазина - это уникальный идентификатор, состоящий из нескольких цифр, который есть у любого магазина Ecwid. Вы можете найти его на странице \"Консоль\" панели управления Ecwid. Также ID Магазина будет выслан по электронной почте после регистрации."
233
 
234
  msgid "Enter your Store ID"
235
  msgstr "Введите ваш ID Магазина"
@@ -243,20 +246,20 @@ msgstr "ID Магазина"
243
  msgid "Save and connect your Ecwid store to the site"
244
  msgstr "Сохранить и добавить магазин Ecwid на ваш сайт"
245
 
246
- msgid "Questions? Visit <a href=\"http://help.ecwid.com/?source=wporg\">Ecwid support center</a>."
247
- msgstr "Есть вопросы? Посетите <a href=\"http://help.ecwid.com/?source=wporg\">Центр поддержки Ecwid (англ)</a> или <a href=\"http://www.ecwid.com/forums/forumdisplay.php?f=10\"> русскоязычный раздел форума</a>."
248
 
249
  msgid "Congratulations!"
250
  msgstr "Поздравляем!"
251
 
252
- msgid "Your Ecwid store is now connected to your WordPress website."
253
- msgstr "Теперь ваш магазин подключен к вашему сайту WordPress."
254
 
255
  msgid "Greetings!"
256
  msgstr "Приветствуем!"
257
 
258
- msgid "Your Ecwid store is connected to your WordPress website."
259
- msgstr "Ваш магазин подключен к вашему сайту WordPress."
260
 
261
  msgid "Control panel"
262
  msgstr "Панель управления"
@@ -274,7 +277,7 @@ msgid "Thank you for supporting Ecwid!"
274
  msgstr "Спасибо вам за поддержку Ecwid!"
275
 
276
  msgid "Upgrade your account to get access to more Ecwid plugin features"
277
- msgstr " Расширенные возможности Эквида доступны на более дорогом тарифном плане"
278
 
279
  msgid "Billing and plans"
280
  msgstr "Оплата и тарифы"
@@ -285,3 +288,44 @@ msgstr "Апгрейд"
285
  msgid "If you want to connect another Ecwid store, you can <a %s>disconnect the current one and change Store ID</a>."
286
  msgstr "Если вы хотите подключить другой магазин Ecwid, вы можете <a %s>отключить этот и ввести другой ID Магазина</a>."
287
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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."
47
 
48
  msgid "Ecwid shopping cart settings"
49
  msgstr "Настройки Ecwid"
72
  msgid "Setup"
73
  msgstr "Настройки"
74
 
75
+ msgid "Hidden category"
76
+ msgstr "Скрытая категория"
77
+
78
  msgid "Your store's minicart"
79
  msgstr "Корзина вашего магазина"
80
 
120
  msgid "Price"
121
  msgstr "Цена"
122
 
123
+ msgid "Ecwid Shopping Cart Advanced settings"
124
+ msgstr "Магазин Ecwid Дополнительные настройки"
125
 
126
  msgid "Category shown by default"
127
  msgstr "Категория, показываемая по умолчанию"
150
  msgid "Save changes"
151
  msgstr "Сохранить изменения"
152
 
153
+ msgid "Ecwid Shopping Cart Appearance settings"
154
+ msgstr "Магазин Ecwid Настройки внешнего вида"
155
 
156
  msgid "Display search box above products"
157
  msgstr "Показывать форму поиска над списком продуктов"
158
 
159
+ msgid "Or you can add search box to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
160
+ msgstr "Или вы можете добавить форму поиска на ваш сайт с помощью <a href=\"%s\">виджетов WordPress</a>"
161
 
162
  msgid "Display horizontal categories above products"
163
  msgstr "Показывать горизонтальное меню категорий над списком продуктов"
164
 
165
+ msgid "Or you can add vertical categories to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
166
+ msgstr "Или вы можете добавить вертикальное меню категорий на ваш сайт с помощью <a href=\"%s\">виджетов WordPress</a>"
167
 
168
  msgid "Enable minicart attached to horizontal categories"
169
  msgstr "Показывать корзину у горизонтального меню категорий"
170
 
171
+ msgid "You should disable this option, if you added minicart to your website's&nbsp;sidebar"
172
+ msgstr "Если вы добавили виджет корзины в боковое меню, следует отключить эту настройку"
173
 
174
  msgid "Number of categories per row"
175
  msgstr "Количество категорий в ряд"
204
  msgid "Default view mode on search results"
205
  msgstr "Вид страницы результатов поиска по умолчанию"
206
 
207
+ msgid "Ecwid Shopping Cart General settings"
208
+ msgstr "Магазин Ecwid Основные настройки"
209
 
210
+ msgid "Thank you for choosing Ecwid to build your online store"
211
+ msgstr "Спасибо вам за то, что выбрали Ecwid для своего интернет-магазина"
212
 
213
  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."
214
  msgstr "Чтобы начать продавать онлайн, добавим магазин на вам сайт WordPress за <strong>3</strong> простых шага."
225
  msgid "I already have Ecwid account, sign in"
226
  msgstr "У меня уже есть аккаунт Ecwid, войти"
227
 
228
+ msgid "You will be able to sign up through your existing Google, Facebook or PayPal profiles as well."
229
  msgstr "Также вы сможете зарегистрироваться с помощью вашего существующего аккаунта Google, Facebook или PayPal."
230
 
231
  msgid "Find your Store ID"
232
  msgstr "Найдите ваш ID Магазина"
233
 
234
  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."
235
+ msgstr "ID Магазина это уникальный идентификатор, состоящий из нескольких цифр, который есть у любого магазина Ecwid. Вы можете найти его на странице \"Консоль\" панели управления Ecwid. Также ID Магазина будет выслан по электронной почте после регистрации."
236
 
237
  msgid "Enter your Store ID"
238
  msgstr "Введите ваш ID Магазина"
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 "Поздравляем!"
254
 
255
+ msgid "Your Ecwid store is now connected to your WordPress website"
256
+ msgstr "Теперь ваш магазин подключен к вашему сайту WordPress"
257
 
258
  msgid "Greetings!"
259
  msgstr "Приветствуем!"
260
 
261
+ msgid "Your Ecwid store is connected to your WordPress website"
262
+ msgstr "Ваш магазин подключен к вашему сайту WordPress"
263
 
264
  msgid "Control panel"
265
  msgstr "Панель управления"
277
  msgstr "Спасибо вам за поддержку Ecwid!"
278
 
279
  msgid "Upgrade your account to get access to more Ecwid plugin features"
280
+ msgstr "Расширенные возможности Эквида доступны на более дорогом тарифном плане"
281
 
282
  msgid "Billing and plans"
283
  msgstr "Оплата и тарифы"
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 "Добро пожаловать в Эквид!"
293
+
294
+ msgid "Take a few simple steps to complete store setup"
295
+ msgstr "Магазин почти готов — осталось несколько простых шагов"
296
+
297
+ msgid "Set up Ecwid Store"
298
+ msgstr "Настроить магазин"
299
+
300
+ msgid "Never show this message again"
301
+ msgstr "Больше не показывать это сообщение"
302
+
303
+ msgid "Good job! Your store is set up and you're ready to sell."
304
+ msgstr "Отлично! Магазин установлен и готов к продажам."
305
+
306
+ msgid "Now you can fine-tune your store's appearance"
307
+ msgstr "Теперь вы можете настроить внешний вид витрины"
308
+
309
+ msgid "Visit Storefront"
310
+ msgstr "Открыть витрину"
311
+
312
+ msgid "Configure Appearance"
313
+ msgstr "Настроить внешний вид"
314
+
315
+ msgid "Your store is almost ready!"
316
+ msgstr "Магазин почти готов!"
317
+
318
+ msgid "Connect your Ecwid account with this site to complete setup and start selling"
319
+ msgstr "Привяжите Эквид-аккаунт к сайту, чтобы завершить установку и начать продавать"
320
+
321
+ msgid "Connect Your Ecwid Store"
322
+ msgstr "Привязать Эквид-аккаунт"
323
+
324
+ 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."
325
+ msgstr "Добавьте дополнительные элементы магазина, перетащив виджеты Эквида в нужное место сайта. После установки виджетов можете вернуться к настройкам магазина."
326
+
327
+ msgid "Back to Store Settings"
328
+ msgstr "Вернуться к настройкам"
329
+
330
+ msgid "Rate Ecwid at WordPress.org"
331
+ msgstr "Оценить Эквид на WordPress.org"
lib/EcwidCatalog.php CHANGED
@@ -202,7 +202,7 @@ class EcwidCatalog
202
  {
203
  foreach ($categories as $category)
204
  {
205
- $category_url = $this->build_url($this->store_base_url . "#!/~/category/id=" . $category["id"]);
206
 
207
  $category_name = $category["name"];
208
  $return .= sprintf(
@@ -217,8 +217,9 @@ class EcwidCatalog
217
  {
218
  foreach ($products as $product)
219
  {
220
- $product_url = $this->store_base_url . "#!/~/product/id=" . $product["id"];
221
- $this->build_url($product["url"]);
 
222
  $product_name = $product["name"];
223
  $product_price = $product["price"] . "&nbsp;" . $profile["currency"];
224
  $return .= "<div>";
202
  {
203
  foreach ($categories as $category)
204
  {
205
+ $category_url = ecwid_get_category_url($category);
206
 
207
  $category_name = $category["name"];
208
  $return .= sprintf(
217
  {
218
  foreach ($products as $product)
219
  {
220
+
221
+ $product_url = ecwid_get_product_url($product);
222
+
223
  $product_name = $product["name"];
224
  $product_price = $product["price"] . "&nbsp;" . $profile["currency"];
225
  $return .= "<div>";
lib/EcwidSitemapBuilder.php CHANGED
@@ -54,11 +54,13 @@ class EcwidSitemapBuilder implements JsonStreamingParser_Listener {
54
  }
55
 
56
  public function end_object() {
 
57
  $obj = array_pop($this->_stack);
58
- if (is_array($obj) && array_key_exists('id', $obj)) {
59
  $callback = $this->callback;
 
60
  $callback(
61
- $this->base_url . '#!/~/' . ($this->type == 'products' ? 'product' : 'category') . '/id=' . $obj['id'],
62
  $this->type == 'products' ? 0.6 : 0.5,
63
  'weekly'
64
  );
@@ -76,8 +78,8 @@ class EcwidSitemapBuilder implements JsonStreamingParser_Listener {
76
  }
77
 
78
  public function value($value) {
79
- if ($this->_key == 'id') {
80
- array_push($this->_stack, array('id' => $value));
81
  }
82
  }
83
  }
54
  }
55
 
56
  public function end_object() {
57
+
58
  $obj = array_pop($this->_stack);
59
+ if (is_array($obj) && array_key_exists('url', $obj)) {
60
  $callback = $this->callback;
61
+
62
  $callback(
63
+ ecwid_get_entity_url($obj, $this->type == 'products' ? 'p' : 'c'),
64
  $this->type == 'products' ? 0.6 : 0.5,
65
  'weekly'
66
  );
78
  }
79
 
80
  public function value($value) {
81
+ if ($this->_key == 'url') {
82
+ $this->_stack[0]['url'] = $value;
83
  }
84
  }
85
  }
lib/class-ecwid-message-manager.php ADDED
@@ -0,0 +1,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 = static::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 = static::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 = static::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
+ }
lib/class-ecwid-theme-manager.php CHANGED
@@ -12,6 +12,10 @@ class Ecwid_Theme_Manager
12
  {
13
  $this->init_themes_map();
14
  $this->detect_current_theme();
 
 
 
 
15
  }
16
 
17
  public static function get_instance()
@@ -50,10 +54,15 @@ class Ecwid_Theme_Manager
50
 
51
  $theme_data = $this->themes[$this->current_theme];
52
 
 
 
 
 
 
53
  wp_enqueue_style(
54
  'ecwid-theme-css',
55
  plugins_url( 'ecwid-shopping-cart/css/themes/' . $this->current_theme . '.css' ),
56
- array( $theme_data['base_css'] ),
57
  false,
58
  'all'
59
  );
@@ -67,6 +76,32 @@ class Ecwid_Theme_Manager
67
  }
68
  }
69
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  protected function detect_current_theme()
71
  {
72
  $version = get_bloginfo('version');
@@ -99,6 +134,9 @@ class Ecwid_Theme_Manager
99
  'name' => 'PageLines',
100
  'base_css' => '',
101
  'js' => true,
 
 
 
102
  )
103
  );
104
  }
@@ -106,4 +144,30 @@ class Ecwid_Theme_Manager
106
  protected function theme_needs_scrolling_adjustment() {
107
  return in_array( $this->current_theme, array( '2014', 'pagelines' ) );
108
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
  }
12
  {
13
  $this->init_themes_map();
14
  $this->detect_current_theme();
15
+
16
+ add_filter('ecwid_minicart_shortcode_content', array($this, 'minicart_shortcode_content'));
17
+ add_filter('ecwid_categories_shortcode_content', array($this, 'categories_shortcode_content'));
18
+ add_filter('ecwid_search_shortcode_content', array($this, 'search_shortcode_content'));
19
  }
20
 
21
  public static function get_instance()
54
 
55
  $theme_data = $this->themes[$this->current_theme];
56
 
57
+ if ( $theme_data['callback'] ) {
58
+ $method = 'apply_theme_' . $this->current_theme;
59
+ return $this->$method();
60
+ }
61
+
62
  wp_enqueue_style(
63
  'ecwid-theme-css',
64
  plugins_url( 'ecwid-shopping-cart/css/themes/' . $this->current_theme . '.css' ),
65
+ isset( $theme_data['base_css'] ) ? array( $theme_data['base_css'] ) : array(),
66
  false,
67
  'all'
68
  );
76
  }
77
  }
78
 
79
+ public function minicart_shortcode_content($content)
80
+ {
81
+ return $content;
82
+
83
+ if ($this->current_theme == 'responsive' && get_option('ecwid_enable_advanced_theme_layout') == 'Y' && get_the_ID() == get_option('ecwid_store_page_id')) {
84
+ $content = '<script type="text/javascript"> xMinicart("style=","layout=Mini"); </script>';
85
+ }
86
+ }
87
+
88
+ public function categories_shortcode_content($content)
89
+ {
90
+ return $content;
91
+ }
92
+
93
+ public function search_shortcode_content($content)
94
+ {
95
+ return $content;
96
+ }
97
+
98
+ public function has_advanced_layout()
99
+ {
100
+ return false;
101
+
102
+ return $this->current_theme == 'responsive';
103
+ }
104
+
105
  protected function detect_current_theme()
106
  {
107
  $version = get_bloginfo('version');
134
  'name' => 'PageLines',
135
  'base_css' => '',
136
  'js' => true,
137
+ ),
138
+ 'responsive' => array(
139
+ 'name' => 'Responsive'
140
  )
141
  );
142
  }
144
  protected function theme_needs_scrolling_adjustment() {
145
  return in_array( $this->current_theme, array( '2014', 'pagelines' ) );
146
  }
147
+
148
+ protected function __apply_theme_responsive()
149
+ {
150
+ wp_enqueue_style( 'ecwid-open-sans-css' , 'http://fonts.googleapis.com/css?family=Open+Sans:400,700&subset=latin,cyrillic-ext,cyrillic,greek-ext,vietnamese,greek,latin-ext');
151
+ wp_enqueue_style( 'dashicons' );
152
+ wp_enqueue_style( 'ecwid-theme-fixes-css' , plugins_url( 'ecwid-shopping-cart/css/themes/responsive-fixes.css' ), array(), false, 'all' );
153
+ if (get_option('ecwid_enable_advanced_theme_layout') == 'Y') {
154
+ wp_enqueue_style( 'ecwid-theme-adjustments-css' , plugins_url( 'ecwid-shopping-cart/css/themes/responsive-adjustments.css' ), array(), false, 'all' );
155
+ wp_enqueue_script( 'ecwid-theme-js', plugins_url( 'ecwid-shopping-cart/js/themes/responsive.js' ), array( 'jquery' ), false, true );
156
+ }
157
+
158
+ add_filter('body_class', array($this, 'body_class_responsive'));
159
+ }
160
+
161
+ public function body_class_responsive($classes)
162
+ {
163
+ if (get_option('ecwid_enable_minicart')) {
164
+ $classes[] = 'ecwid-with-minicart';
165
+ }
166
+
167
+ if (get_option('ecwid_show_search_box')) {
168
+ $classes[] = 'ecwid-with-search';
169
+ }
170
+
171
+ return $classes;
172
+ }
173
  }
lib/ecwid_product_api.php CHANGED
@@ -7,9 +7,10 @@ class EcwidProductApi {
7
 
8
  var $error_code = '';
9
 
10
- var $ECWID_PRODUCT_API_ENDPOINT = "http://app.ecwid.com/api/v1";
11
-
12
  function __construct($store_id) {
 
 
13
  $this->store_id = intval($store_id);
14
  }
15
 
@@ -180,6 +181,7 @@ class EcwidProductApi {
180
  function is_api_enabled() {
181
  // quick and lightweight request
182
  $api_url = $this->ECWID_PRODUCT_API_ENDPOINT . "/" . $this->store_id . "/profile";
 
183
  $this->process_request($api_url);
184
  if ($this->error_code === '') {
185
  return true;
7
 
8
  var $error_code = '';
9
 
10
+ var $ECWID_PRODUCT_API_ENDPOINT = '';
 
11
  function __construct($store_id) {
12
+ $this->ECWID_PRODUCT_API_ENDPOINT = 'http://app.ecwid.com/api/v1';
13
+
14
  $this->store_id = intval($store_id);
15
  }
16
 
181
  function is_api_enabled() {
182
  // quick and lightweight request
183
  $api_url = $this->ECWID_PRODUCT_API_ENDPOINT . "/" . $this->store_id . "/profile";
184
+
185
  $this->process_request($api_url);
186
  if ($this->error_code === '') {
187
  return true;
readme.txt CHANGED
@@ -2,16 +2,16 @@
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
6
- Stable tag: 2.4.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 a e-commerce solution to millions of its users!**
13
 
14
- [Ecwid](http://www.ecwid.com?wporg-plugin-site "Ecwid site") is a powerful and easy-to-use shopping cart solution that seamlessly integrates with your Wordpress website. Join over *450,000* sellers in *175* countries and sell globally with over *30* international payment options, real-time shipping integrations and support of *45* languages.
15
 
16
 
17
  = Full-featured Shopping Cart =
@@ -112,6 +112,12 @@ 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.2 =
116
  - Minor issue is fixed on the plugin's "General settings" page
117
 
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.1
6
+ Stable tag: 2.4.3
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!**
13
 
14
+ [Ecwid](http://www.ecwid.com?wporg-plugin-site "Ecwid site") is a powerful and easy-to-use shopping cart solution that seamlessly integrates with your Wordpress website. Join over *500,000* sellers in *175* countries and sell globally with over *40* international payment options, real-time shipping integrations and support of *45* languages.
15
 
16
 
17
  = Full-featured Shopping Cart =
112
  * [Ecwid site](http://www.ecwid.com/?source=wporg-plugin-site "Ecwid Site")
113
 
114
  == Changelog ==
115
+ = 2.4.3 =
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
+
121
  = 2.4.2 =
122
  - Minor issue is fixed on the plugin's "General settings" page
123
 
templates/admin-message.php ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="ecwid-message <?php echo esc_attr($type); ?>">
2
+ <?php if ($title): ?>
3
+ <div class="ecwid-message-title">
4
+ <?php echo esc_html($title); ?>
5
+ </div>
6
+ <?php endif; ?>
7
+
8
+ <div class="ecwid-message-content">
9
+ <?php echo $message; ?>
10
+ </div>
11
+
12
+ <?php if ($primary_button || $secondary_button || $do_not_show_again): ?>
13
+ <div class="ecwid-message-buttons">
14
+ <?php if ($primary_button): ?>
15
+ <div>
16
+ <a
17
+ class="button button-primary"
18
+ href="<?php echo esc_attr($primary_url); ?>"
19
+ <?php if ($primary_blank): ?>
20
+ target="_blank"
21
+ <?php endif; ?>
22
+ >
23
+ <?php echo esc_html($primary_title); ?>
24
+ </a>
25
+ </div>
26
+ <?php endif; ?>
27
+
28
+ <?php if ($secondary_button): ?>
29
+ <div>
30
+ <a
31
+ class="button"
32
+ href="<?php echo esc_attr($secondary_url); ?>"
33
+ <?php if ($secondary_blank): ?>
34
+ target="_blank"
35
+ <?php endif; ?>
36
+ >
37
+ <?php echo esc_html($secondary_title); ?>
38
+ </a>
39
+ </div>
40
+ <?php endif; ?>
41
+
42
+ <?php if ($do_not_show_again): ?>
43
+ <div>
44
+ <a class="ecwid-message-hide" name="<?php echo $name; ?>" href="javascript: void(0);">
45
+ <?php _e('Never show this message again', 'ecwid-shopping-cart'); ?>
46
+ </a>
47
+ </div>
48
+ <?php endif; ?>
49
+ </div>
50
+ <?php endif; ?>
51
+ </div>
templates/advanced-settings.php CHANGED
@@ -1,7 +1,7 @@
1
  <div class="wrap">
2
  <form class="pure-form pure-form-aligned ecwid-settings advanced-settings" method="POST" action="options.php">
3
 
4
- <h2><?php _e('Ecwid Shopping Cart - Advanced settings', 'ecwid-shopping-cart'); ?></h2>
5
 
6
  <?php settings_fields('ecwid_options_page'); ?>
7
  <input type="hidden" name="settings_section" value="advanced" />
@@ -79,6 +79,25 @@
79
  </div>
80
  </div>
81
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
  </fieldset>
83
 
84
  <fieldset>
1
  <div class="wrap">
2
  <form class="pure-form pure-form-aligned ecwid-settings advanced-settings" method="POST" action="options.php">
3
 
4
+ <h2><?php _e('Ecwid Shopping Cart Advanced settings', 'ecwid-shopping-cart'); ?></h2>
5
 
6
  <?php settings_fields('ecwid_options_page'); ?>
7
  <input type="hidden" name="settings_section" value="advanced" />
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>
templates/appearance-settings.php CHANGED
@@ -9,7 +9,7 @@ function ecwid_embed_svg($name) {
9
  <div class="wrap">
10
  <form class="pure-form pure-form-aligned ecwid-settings appearance-settings" method="POST" action="options.php">
11
 
12
- <h2><?php _e('Ecwid Shopping Cart - Appearance settings', 'ecwid-shopping-cart'); ?></h2>
13
 
14
  <?php settings_fields('ecwid_options_page'); ?>
15
  <input type="hidden" name="settings_section" value="appearance" />
@@ -36,7 +36,7 @@ function ecwid_embed_svg($name) {
36
  </label>
37
  </div>
38
  <div class="note">
39
- <?php _e('Or you can add search box to your website\'s toolbar using <a href="widgets.php">WordPress native widgets</a>.', 'ecwid-shopping-cart'); ?>
40
  </div>
41
  </div>
42
 
@@ -60,7 +60,7 @@ function ecwid_embed_svg($name) {
60
  </label>
61
  </div>
62
  <div class="note">
63
- <?php _e('Or you can add vertical categories to your website\'s toolbar using <a href="widgets.php">WordPress native widgets</a>.', 'ecwid-shopping-cart'); ?>
64
  </div>
65
  </div>
66
 
@@ -85,7 +85,7 @@ function ecwid_embed_svg($name) {
85
  </label>
86
  </div>
87
  <div class="note">
88
- <?php _e("You should disable this option, if you added minicart to your website's&nbsp;sidebar.", 'ecwid-shopping-cart'); ?>
89
  </div>
90
  </div>
91
 
9
  <div class="wrap">
10
  <form class="pure-form pure-form-aligned ecwid-settings appearance-settings" method="POST" action="options.php">
11
 
12
+ <h2><?php _e('Ecwid Shopping Cart Appearance settings', 'ecwid-shopping-cart'); ?></h2>
13
 
14
  <?php settings_fields('ecwid_options_page'); ?>
15
  <input type="hidden" name="settings_section" value="appearance" />
36
  </label>
37
  </div>
38
  <div class="note">
39
+ <?php echo sprintf(__('Or you can add search box to your website\'s toolbar using <a href="%s">WordPress native widgets</a>', 'ecwid-shopping-cart'), 'widgets.php?from-ecwid-appearance'); ?>
40
  </div>
41
  </div>
42
 
60
  </label>
61
  </div>
62
  <div class="note">
63
+ <?php echo sprintf(__('Or you can add vertical categories to your website\'s toolbar using <a href="%s">WordPress native widgets</a>', 'ecwid-shopping-cart'), 'widgets.php?from-ecwid-appearance'); ?>
64
  </div>
65
  </div>
66
 
85
  </label>
86
  </div>
87
  <div class="note">
88
+ <?php _e("You should disable this option, if you added minicart to your website's&nbsp;sidebar", 'ecwid-shopping-cart'); ?>
89
  </div>
90
  </div>
91
 
templates/general-settings-initial.php CHANGED
@@ -1,7 +1,7 @@
1
  <div class="wrap">
2
 
3
  <form method="POST" action="options.php" class="pure-form ecwid-settings general-settings">
4
- <h2><?php _e('Ecwid Shopping Cart - General settings', 'ecwid-shopping-cart'); ?></h2>
5
  <?php settings_fields('ecwid_options_page'); ?>
6
  <fieldset>
7
 
@@ -16,7 +16,7 @@
16
  <div class="messages-container">
17
  <div class="main-message">
18
 
19
- <?php _e('Thank you for choosing Ecwid to build your online store.', 'ecwid-shopping-cart'); ?>
20
  </div>
21
  <div class="secondary-message">
22
  <?php _e('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.', 'ecwid-shopping-cart'); ?>
@@ -69,7 +69,7 @@
69
  </li>
70
  </ol>
71
  <hr />
72
- <p><?php _e('Questions? Visit <a href="http://help.ecwid.com/?source=wporg">Ecwid support center</a>.', 'ecwid-shopping-cart'); ?></p>
73
  </fieldset>
74
  </form>
75
  </div>
1
  <div class="wrap">
2
 
3
  <form method="POST" action="options.php" class="pure-form ecwid-settings general-settings">
4
+ <h2><?php _e('Ecwid Shopping Cart General settings', 'ecwid-shopping-cart'); ?></h2>
5
  <?php settings_fields('ecwid_options_page'); ?>
6
  <fieldset>
7
 
16
  <div class="messages-container">
17
  <div class="main-message">
18
 
19
+ <?php _e('Thank you for choosing Ecwid to build your online store', 'ecwid-shopping-cart'); ?>
20
  </div>
21
  <div class="secondary-message">
22
  <?php _e('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.', 'ecwid-shopping-cart'); ?>
69
  </li>
70
  </ol>
71
  <hr />
72
+ <p><?php _e('Questions? Visit <a href="http://help.ecwid.com/?source=wporg">Ecwid support center</a>', 'ecwid-shopping-cart'); ?></p>
73
  </fieldset>
74
  </form>
75
  </div>
templates/general-settings.php CHANGED
@@ -1,7 +1,7 @@
1
  <div class="wrap">
2
 
3
  <form method="POST" action="options.php" class="pure-form ecwid-settings general-settings" name="settings">
4
- <h2><?php _e('Ecwid Shopping Cart - General settings', 'ecwid-shopping-cart'); ?></h2>
5
  <?php settings_fields('ecwid_options_page'); ?>
6
  <fieldset>
7
 
@@ -16,12 +16,12 @@
16
  <?php if (array_key_exists('settings-updated', $_GET)): ?>
17
 
18
  <div class="main-message"><?php _e('Congratulations!', 'ecwid-shopping-cart'); ?></div>
19
- <div class="secondary-message"?><?php _e('Your Ecwid store is now connected to your WordPress website.', 'ecwid-shopping-cart'); ?></div>
20
 
21
  <?php else: ?>
22
 
23
  <div class="main-message"><?php _e('Greetings!', 'ecwid-shopping-cart'); ?></div>
24
- <div class="secondary-message"?><?php _e('Your Ecwid store is connected to your WordPress website.', 'ecwid-shopping-cart'); ?></div>
25
  <?php endif; ?>
26
  </div>
27
  </div>
@@ -44,18 +44,18 @@
44
 
45
  <?php if (!ecwid_is_paid_account()): ?>
46
  <div class="section account-section">
47
- <div class="left">
48
- <div class="secondary-info">
49
  <?php _e('Upgrade your account to get access to more Ecwid plugin features', 'ecwid-shopping-cart'); ?>
50
- </div>
51
- </div>
52
 
53
- <div class="right">
54
  <a class="<?php echo ECWID_MAIN_BUTTON_CLASS; ?>" target="_blank" href="http://www.ecwid.com/plans-and-pricing.html">
55
  <?php _e('Upgrade', 'ecwid-shopping-cart'); ?>
56
  </a>
57
- </div>
58
- </div>
59
  <?php endif; ?>
60
 
61
  <div class="note grayed-links">
@@ -69,7 +69,7 @@
69
  </div>
70
 
71
  <hr />
72
- <p><?php _e('Questions? Visit <a href="http://help.ecwid.com/?source=wporg">Ecwid support center</a>.', 'ecwid-shopping-cart'); ?></p>
73
  </fieldset>
74
  </form>
75
  </div>
1
  <div class="wrap">
2
 
3
  <form method="POST" action="options.php" class="pure-form ecwid-settings general-settings" name="settings">
4
+ <h2><?php _e('Ecwid Shopping Cart General settings', 'ecwid-shopping-cart'); ?></h2>
5
  <?php settings_fields('ecwid_options_page'); ?>
6
  <fieldset>
7
 
16
  <?php if (array_key_exists('settings-updated', $_GET)): ?>
17
 
18
  <div class="main-message"><?php _e('Congratulations!', 'ecwid-shopping-cart'); ?></div>
19
+ <div class="secondary-message"?><?php _e('Your Ecwid store is now connected to your WordPress website', 'ecwid-shopping-cart'); ?></div>
20
 
21
  <?php else: ?>
22
 
23
  <div class="main-message"><?php _e('Greetings!', 'ecwid-shopping-cart'); ?></div>
24
+ <div class="secondary-message"?><?php _e('Your Ecwid store is connected to your WordPress website', 'ecwid-shopping-cart'); ?></div>
25
  <?php endif; ?>
26
  </div>
27
  </div>
44
 
45
  <?php if (!ecwid_is_paid_account()): ?>
46
  <div class="section account-section">
47
+ <div class="left">
48
+ <div class="secondary-info">
49
  <?php _e('Upgrade your account to get access to more Ecwid plugin features', 'ecwid-shopping-cart'); ?>
50
+ </div>
51
+ </div>
52
 
53
+ <div class="right">
54
  <a class="<?php echo ECWID_MAIN_BUTTON_CLASS; ?>" target="_blank" href="http://www.ecwid.com/plans-and-pricing.html">
55
  <?php _e('Upgrade', 'ecwid-shopping-cart'); ?>
56
  </a>
57
+ </div>
58
+ </div>
59
  <?php endif; ?>
60
 
61
  <div class="note grayed-links">
69
  </div>
70
 
71
  <hr />
72
+ <p><?php _e('Questions? Visit <a href="http://help.ecwid.com/?source=wporg">Ecwid support center</a>', 'ecwid-shopping-cart'); ?></p>
73
  </fieldset>
74
  </form>
75
  </div>