Ecwid Ecommerce Shopping Cart - Version 3.0

Version Description

  • New sidebar widget: Recently Viewed Products. A new Ecwid's sidebar widget is now available your site can now show the products that the customer has recently visited. The links and images in the sidebar are updated automatically, so the customer can return to the product they previously opened and probably decide to buy it. This will increase visibility of your products for the customers and generate more sales. Enable the new widget under Appearance->Widgets menu in your admin backend.
  • New design of the plugin Dashboard. The dashboard ("Ecwid") page in the plugin backend is now nicer and more useful.
  • Completely redesigned Registration page. This is for the new users of the plugin. When installing the plugin, a user will now see a beautiful welcome page that will introduce them to Ecwid and guide through the setup process.
  • New easier store connection. Previously, to connect an Ecwid store with a Wordpress site and display store products, a new user had to copy and paste their store ID from Ecwid Control Panel. Now, even this easy step became easier the user only needs to click a few buttons to authorize themselves and the plugin will automatically detect and connect their store. For those with technical background: we use oAuth2 for this, which is now a part of the newest Ecwid API.
Download this release

Release Info

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

Code changes from version 2.8 to 3.0

Files changed (48) hide show
  1. css/admin.3.8.css +2 -2
  2. css/admin.css +56 -22
  3. css/landing.css +496 -0
  4. css/products-list.css +201 -0
  5. css/recently-viewed.css +109 -0
  6. css/settings.css +327 -88
  7. ecwid-shopping-cart.php +236 -44
  8. fonts/ecwid-icons.eot +0 -0
  9. fonts/ecwid-icons.svg +16 -15
  10. fonts/ecwid-icons.ttf +0 -0
  11. fonts/ecwid-icons.woff +0 -0
  12. images/ecwid_logo_symbol_RGB.svg +37 -0
  13. images/landing/arrow.png +0 -0
  14. images/landing/background-think.jpg +0 -0
  15. images/landing/correct.svg +10 -0
  16. images/landing/dollar-active.svg +11 -0
  17. images/landing/dollar.svg +11 -0
  18. images/landing/ecwid-active.svg +27 -0
  19. images/landing/ecwid-description-image.jpg +0 -0
  20. images/landing/ecwid.svg +27 -0
  21. images/landing/gift.svg +24 -0
  22. images/landing/global.svg +5 -0
  23. images/landing/plug-active.svg +15 -0
  24. images/landing/plug.svg +15 -0
  25. images/landing/responsive-grow.svg +6 -0
  26. images/landing/secure-pci.svg +48 -0
  27. images/landing/tablet-iphone.png +0 -0
  28. images/landing/wordpress.svg +27 -0
  29. includes/class-ecwid-integration-wpseo.php +5 -0
  30. includes/class-ecwid-oauth.php +81 -0
  31. includes/class-ecwid-store-editor.php +23 -23
  32. includes/themes.php +16 -1
  33. js/admin.js +14 -1
  34. js/dashboard.js +26 -0
  35. js/landing.js +5 -0
  36. js/products-list.js +248 -0
  37. js/recently-viewed.js +111 -0
  38. js/store-editor-page.js +1 -2
  39. languages/ecwid-shopping-cart-ru_RU.mo +0 -0
  40. languages/ecwid-shopping-cart-ru_RU.po +10 -1
  41. languages/ecwid-shopping-cart-tr_TR.mo +0 -0
  42. languages/ecwid-shopping-cart-tr_TR.po +462 -0
  43. languages/ecwid-shopping-cart.pot +207 -59
  44. readme.txt +307 -303
  45. templates/connect.php +43 -0
  46. templates/dashboard.php +46 -63
  47. templates/landing.php +163 -0
  48. templates/reconnect.php +31 -0
css/admin.3.8.css CHANGED
@@ -1,6 +1,6 @@
1
  #adminmenu #toplevel_page_ecwid div.wp-menu-image:before {
2
  font-family: 'ecwid-icons' !important;
3
- content: "\e602";
4
  -webkit-font-smoothing: antialiased;
5
  -moz-osx-font-smoothing: grayscale;
6
  }
@@ -23,7 +23,7 @@
23
  }
24
 
25
  #wpadminbar #wp-admin-bar-ecwid-main .ab-icon.ecwid-top-menu-item:before {
26
- content: "\e602";
27
  width: auto;
28
  margin-right: 0px;
29
  }
1
  #adminmenu #toplevel_page_ecwid div.wp-menu-image:before {
2
  font-family: 'ecwid-icons' !important;
3
+ content: "\e603";
4
  -webkit-font-smoothing: antialiased;
5
  -moz-osx-font-smoothing: grayscale;
6
  }
23
  }
24
 
25
  #wpadminbar #wp-admin-bar-ecwid-main .ab-icon.ecwid-top-menu-item:before {
26
+ content: "\e603";
27
  width: auto;
28
  margin-right: 0px;
29
  }
css/admin.css CHANGED
@@ -93,7 +93,7 @@ div.ecwid-message {
93
  }
94
 
95
  .ecwid-message .ecwid-message-buttons > div {
96
- display: table-cell;
97
  vertical-align: middle;
98
  }
99
 
@@ -102,8 +102,12 @@ div.ecwid-message {
102
  }
103
 
104
  .ecwid-message .ecwid-message-buttons > div:last-child {
105
- text-align: right;
106
- width: 100%;
 
 
 
 
107
  }
108
 
109
  .ecwid-message .ecwid-message-buttons > div a{
@@ -122,7 +126,7 @@ div.ecwid-message {
122
  }
123
 
124
  .ecwid-message .ecwid-message-hide:before {
125
- content: "\e605";
126
  font-family: ecwid-icons;
127
  font-size: 26px;
128
  position: relative;
@@ -130,6 +134,32 @@ div.ecwid-message {
130
  top: 6px;
131
  }
132
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  .ecwid-message.dev {
134
  outline: 2px solid red;
135
  width: 434px;
@@ -147,16 +177,17 @@ div.ecwid-message {
147
  letter-spacing: -0.22px;
148
  }
149
 
150
- .widget-top.ecwid-widget-highlighted {
151
  background: #1d7ac4;
152
  color: white;
 
153
  }
154
 
155
- .ecwid-widget .widget-top h4 {
156
  padding-left: 42px;
157
  }
158
 
159
- .ecwid-widget .widget-top h4:before {
160
  font-size: 20px;
161
  position: absolute;
162
  top: 12px;
@@ -178,11 +209,11 @@ div.ecwid-message {
178
  color: #1d7ac4;
179
  opacity: .5;
180
  }
181
- .ecwid-widget .widget-top:hover h4:before {
182
  opacity: 1;
183
  }
184
 
185
- .ecwid-widget .widget-top.ecwid-widget-highlighted h4:before {
186
  color: white;
187
  opacity: 1;
188
  }
@@ -212,27 +243,30 @@ div.ecwid-message {
212
  -moz-osx-font-smoothing: grayscale;
213
  }
214
 
215
- .widget-top.ecwid-widget-badge h4:before {
216
- content: "\e602";;
217
  }
218
 
219
- .widget-top.ecwid-widget-minicart h4:before,
220
- .widget-top.ecwid-widget-minicart_miniview h4:before {
221
- content: "\e600";
 
222
  }
223
 
224
- .widget-top.ecwid-widget-vcategories h4:before {
225
- content: "\e601";
 
 
226
  }
227
 
228
- .widget-top.ecwid-widget-categories h4:before {
229
- content: "\e601";
230
  }
231
 
232
- .widget-top.ecwid-widget-search h4:before {
233
- content: "\e603";
234
  }
235
 
236
- .widget-top.ecwid-widget-storelink h4:before {
237
- content: "\e604";
238
  }
93
  }
94
 
95
  .ecwid-message .ecwid-message-buttons > div {
96
+ display: inline-block;
97
  vertical-align: middle;
98
  }
99
 
102
  }
103
 
104
  .ecwid-message .ecwid-message-buttons > div:last-child {
105
+ position: absolute;
106
+
107
+ padding-left: 0px;
108
+
109
+ top: 0px;
110
+ right: 0px;
111
  }
112
 
113
  .ecwid-message .ecwid-message-buttons > div a{
126
  }
127
 
128
  .ecwid-message .ecwid-message-hide:before {
129
+ content: "\e606";
130
  font-family: ecwid-icons;
131
  font-size: 26px;
132
  position: relative;
134
  top: 6px;
135
  }
136
 
137
+ @media screen and (max-width: 700px) {
138
+ .ecwid-message .ecwid-message-buttons > div:last-child {
139
+ position: inherit;
140
+ }
141
+
142
+
143
+ .ecwid-message .ecwid-message-buttons > div:not(:first-child) {
144
+ padding-left: 0px;
145
+ }
146
+
147
+ .ecwid-message .ecwid-message-buttons > div {
148
+ display: block;
149
+ }
150
+
151
+ .ecwid-message .ecwid-message-buttons > div a {
152
+ text-align: center;
153
+ white-space: normal;
154
+ width: 100%;
155
+ }
156
+ }
157
+
158
+ body[class*="_page_ecwid"] .ecwid-message {
159
+ margin: 20px 20px 20px 0px;
160
+ }
161
+
162
+
163
  .ecwid-message.dev {
164
  outline: 2px solid red;
165
  width: 434px;
177
  letter-spacing: -0.22px;
178
  }
179
 
180
+ #available-widgets .widget-top.ecwid-widget-highlighted {
181
  background: #1d7ac4;
182
  color: white;
183
+ font-weight: normal;
184
  }
185
 
186
+ #available-widgets .ecwid-widget .widget-top h4 {
187
  padding-left: 42px;
188
  }
189
 
190
+ #available-widgets .ecwid-widget .widget-top h4:before {
191
  font-size: 20px;
192
  position: absolute;
193
  top: 12px;
209
  color: #1d7ac4;
210
  opacity: .5;
211
  }
212
+ #available-widgets .ecwid-widget .widget-top:hover h4:before {
213
  opacity: 1;
214
  }
215
 
216
+ #available-widgets .ecwid-widget .widget-top.ecwid-widget-highlighted h4:before {
217
  color: white;
218
  opacity: 1;
219
  }
243
  -moz-osx-font-smoothing: grayscale;
244
  }
245
 
246
+ #available-widgets .widget-top.ecwid-widget-badge h4:before {
247
+ content: "\e603";
248
  }
249
 
250
+ #available-widgets .widget-top.ecwid-widget-minicart h4:before,
251
+ #available-widgets .widget-top.ecwid-widget-minicart_miniview h4:before
252
+ {
253
+ content: "\e601";
254
  }
255
 
256
+ #available-widgets .widget-top.ecwid-widget-vcategories h4:before,
257
+ #available-widgets .widget-top.ecwid-widget-categories h4:before
258
+ {
259
+ content: "\e602";
260
  }
261
 
262
+ #available-widgets .widget-top.ecwid-widget-search h4:before {
263
+ content: "\e604";
264
  }
265
 
266
+ #available-widgets .widget-top.ecwid-widget-storelink h4:before {
267
+ content: "\e605";
268
  }
269
 
270
+ #available-widgets .widget-top.ecwid-widget-recentlyviewed h4:before {
271
+ content: "\e600";
272
  }
css/landing.css ADDED
@@ -0,0 +1,496 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* http://meyerweb.com/eric/tools/css/reset/
2
+ * v2.0 | 20110126
3
+ * License: none (public domain) */
4
+ html, body, div, span, applet, object, iframe,
5
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
6
+ a, abbr, acronym, address, big, cite, code,
7
+ del, dfn, em, img, ins, kbd, q, s, samp,
8
+ small, strike, strong, sub, sup, tt, var,
9
+ b, u, i, center,
10
+ dl, dt, dd, ol, ul, li,
11
+ fieldset, form, label, legend,
12
+ table, caption, tbody, tfoot, thead, tr, th, td,
13
+ article, aside, canvas, details, embed,
14
+ figure, figcaption, footer, header, hgroup,
15
+ menu, nav, output, ruby, section, summary,
16
+ time, mark, audio, video, button {
17
+ margin: 0;
18
+ padding: 0;
19
+ border: 0;
20
+ font-size: 100%;
21
+ font: inherit;
22
+ box-sizing: border-box;
23
+ vertical-align: baseline; }
24
+
25
+ /* HTML5 display-role reset for older browsers */
26
+ article, aside, details, figcaption, figure,
27
+ footer, header, hgroup, menu, nav, section {
28
+ display: block; }
29
+
30
+ body {
31
+ line-height: 1; }
32
+
33
+ ol, ul {
34
+ list-style: none; }
35
+
36
+ blockquote, q {
37
+ quotes: none; }
38
+
39
+ blockquote:before, blockquote:after,
40
+ q:before, q:after {
41
+ content: "";
42
+ content: none; }
43
+
44
+ table {
45
+ border-collapse: collapse;
46
+ border-spacing: 0; }
47
+
48
+ body {
49
+ font-family: "Open sans", sans-serif;
50
+ font-weight: 400;
51
+ color: #363636;
52
+ min-width: 320px; }
53
+
54
+ .ecwid-thank {
55
+ padding-top: 36px; }
56
+ .ecwid-thank h1 {
57
+ text-align: center;
58
+ font-size: 28px;
59
+ color: #000000;
60
+ line-height: 1.4;
61
+ margin-bottom: 30px; }
62
+ @media (max-width: 767px) {
63
+ .ecwid-thank h1 {
64
+ font-size: 22px;
65
+ max-width: 490px;
66
+ padding: 0 2%;
67
+ margin: 0 auto 15px; }
68
+ .ecwid-thank h1 br {
69
+ display: none; } }
70
+ @media (max-width: 500px) {
71
+ .ecwid-thank h1 {
72
+ max-width: 320px; } }
73
+ .ecwid-thank h1 span {
74
+ display: block;
75
+ font-size: 14px;
76
+ margin-bottom: 14px; }
77
+
78
+ .ecwid-thank-steps {
79
+ margin: 0 auto 51px;
80
+ max-width: 1000px; }
81
+ @media (max-width: 767px) {
82
+ .ecwid-thank-steps {
83
+ max-width: 450px;
84
+ margin-bottom: 0;
85
+ padding: 0 2%; } }
86
+ .ecwid-thank-steps:after {
87
+ content: "";
88
+ display: table;
89
+ clear: both; }
90
+
91
+ .ecwid-thank-step {
92
+ text-align: center;
93
+ width: 33.33333%;
94
+ float: left;
95
+ position: relative;
96
+ padding: 0 2%; }
97
+ .ecwid-thank-step.active .ecwid-thank-step-image:before {
98
+ position: absolute;
99
+ content: url("../images/landing/correct.svg");
100
+ width: 17px;
101
+ left: 61%; }
102
+ .ecwid-thank-step.active .ecwid-thank-step-image img.none-active {
103
+ display: none; }
104
+ .ecwid-thank-step.active .ecwid-thank-step-image img.active {
105
+ display: inline-block; }
106
+ @media (max-width: 767px) {
107
+ .ecwid-thank-step {
108
+ display: none; } }
109
+ .ecwid-thank-step .ecwid-thank-step-image {
110
+ height: 92px;
111
+ position: relative; }
112
+ .ecwid-thank-step .ecwid-thank-step-image:after {
113
+ content: "";
114
+ position: absolute;
115
+ overflow: hidden; }
116
+ @media (min-width: 768px) {
117
+ .ecwid-thank-step .ecwid-thank-step-image:after {
118
+ top: 40px;
119
+ left: 77%;
120
+ width: 64%;
121
+ height: 7px;
122
+ background: url("../images/landing/arrow.png") center right; } }
123
+ .ecwid-thank-step img {
124
+ margin: 3px 0 10px; }
125
+ .ecwid-thank-step img.active {
126
+ display: none; }
127
+ .ecwid-thank-step h2 {
128
+ font-size: 18px;
129
+ line-height: 1.5;
130
+ margin-bottom: 6px; }
131
+ .ecwid-thank-step p {
132
+ font-size: 14px;
133
+ line-height: 1.5; }
134
+ .ecwid-thank-step.ecwid-thank-step-one img {
135
+ height: 77px; }
136
+ .ecwid-thank-step.ecwid-thank-step-two img {
137
+ height: 60px;
138
+ margin-top: 13px; }
139
+ .ecwid-thank-step.ecwid-thank-step-three .ecwid-thank-step-image:after {
140
+ display: none; }
141
+ .ecwid-thank-step.ecwid-thank-step-three h2 {
142
+ font-weight: 600; }
143
+ .ecwid-thank-step.ecwid-thank-step-three img {
144
+ height: 82px; }
145
+
146
+ .ecwid-thank-background {
147
+ background: url("../images/landing/background-think.jpg");
148
+ background-size: cover; }
149
+ @media (min-width: 768px) {
150
+ .ecwid-thank-background {
151
+ background-position: center bottom; } }
152
+ @media (min-width: 1440px) {
153
+ .ecwid-thank-background {
154
+ background-position: left -50px; } }
155
+ .ecwid-thank-background .ecwid-thank-background-tablet {
156
+ padding: 52px 5% 0; }
157
+ .ecwid-thank-background .ecwid-thank-background-tablet img {
158
+ display: block;
159
+ margin: 0 auto;
160
+ max-width: 100%; }
161
+
162
+ .ecwid-description {
163
+ padding: 0 2%; }
164
+ .ecwid-description:after {
165
+ content: "";
166
+ display: table;
167
+ clear: both; }
168
+
169
+ .ecwid-description-inner {
170
+ max-width: 930px;
171
+ margin: 0 auto;
172
+ table-layout: fixed;
173
+ width: 100%; }
174
+ @media (min-width: 768px) {
175
+ .ecwid-description-inner {
176
+ display: table;
177
+ padding-top: 35px; } }
178
+ @media (min-width: 992px) {
179
+ .ecwid-description-inner {
180
+ padding-top: 95px; } }
181
+ @media (max-width: 767px) {
182
+ .ecwid-description-inner {
183
+ display: -webkit-flex;
184
+ display: -ms-flexbox;
185
+ display: flex;
186
+ -webkit-flex-direction: column-reverse;
187
+ -ms-flex-direction: column-reverse;
188
+ flex-direction: column-reverse; } }
189
+
190
+ .ecwid-description-image {
191
+ padding-right: 5%;
192
+ vertical-align: bottom; }
193
+ @media (min-width: 768px) {
194
+ .ecwid-description-image {
195
+ display: table-cell;
196
+ width: 60%; } }
197
+ @media (min-width: 992px) {
198
+ .ecwid-description-image {
199
+ width: 65%; } }
200
+ @media (max-width: 767px) {
201
+ .ecwid-description-image {
202
+ width: 100%;
203
+ padding: 0 4%; } }
204
+ .ecwid-description-image img {
205
+ display: block;
206
+ max-width: 100%; }
207
+ @media (max-width: 767px) {
208
+ .ecwid-description-image img {
209
+ margin: 0 auto; } }
210
+
211
+ .ecwid-description-text {
212
+ padding-top: 35px;
213
+ padding-bottom: 35px; }
214
+ @media (min-width: 768px) {
215
+ .ecwid-description-text {
216
+ width: 40%;
217
+ display: table-cell;
218
+ vertical-align: middle; } }
219
+ @media (min-width: 992px) {
220
+ .ecwid-description-text {
221
+ width: 35%;
222
+ vertical-align: baseline; } }
223
+ @media (max-width: 767px) {
224
+ .ecwid-description-text {
225
+ padding: 44px 4% 0;
226
+ max-width: 500px;
227
+ margin: 0 auto 50px;
228
+ width: 100%; } }
229
+ .ecwid-description-text h2 {
230
+ line-height: 1.2;
231
+ margin-bottom: 18px; }
232
+ @media (min-width: 768px) {
233
+ .ecwid-description-text h2 {
234
+ font-size: 24px; } }
235
+ @media (min-width: 992px) {
236
+ .ecwid-description-text h2 {
237
+ font-size: 28px; } }
238
+ @media (max-width: 767px) {
239
+ .ecwid-description-text h2 {
240
+ font-size: 22px;
241
+ text-align: center; } }
242
+ .ecwid-description-text p {
243
+ font-size: 14px;
244
+ line-height: 1.5;
245
+ padding: 0.8em 0; }
246
+
247
+ .ecwid-features {
248
+ background-color: #F4F4F4;
249
+ padding: 44px 0 60px; }
250
+ @media (max-width: 767px) {
251
+ .ecwid-features {
252
+ padding-bottom: 9px; } }
253
+ .ecwid-features h2 {
254
+ font-size: 28px;
255
+ color: #1F1F1F;
256
+ font-weight: 400;
257
+ text-align: center;
258
+ margin-bottom: 62px; }
259
+ @media (max-width: 767px) {
260
+ .ecwid-features h2 {
261
+ font-size: 22px;
262
+ margin-bottom: 40px; } }
263
+
264
+ .ecwid-features-inner {
265
+ margin: 0 auto;
266
+ max-width: 930px;
267
+ padding: 0 3%; }
268
+
269
+ .ecwid-features-top {
270
+ margin-bottom: 70px; }
271
+ @media (max-width: 767px) {
272
+ .ecwid-features-top {
273
+ margin-bottom: 0; } }
274
+ .ecwid-features-top:after {
275
+ content: "";
276
+ display: table;
277
+ clear: both; }
278
+ .ecwid-features-top .ecwid-features-top-item {
279
+ width: 50%;
280
+ float: left;
281
+ text-align: center; }
282
+ @media (max-width: 767px) {
283
+ .ecwid-features-top .ecwid-features-top-item {
284
+ padding: 0 2%;
285
+ width: 100%;
286
+ max-width: 320px;
287
+ margin: 0 auto 35px;
288
+ float: none; } }
289
+ .ecwid-features-top .ecwid-features-top-item .ecwid-features-top-item-image {
290
+ height: 82px; }
291
+ @media (max-width: 767px) {
292
+ .ecwid-features-top .ecwid-features-top-item .ecwid-features-top-item-image {
293
+ height: 75px; } }
294
+ .ecwid-features-top .ecwid-features-top-item img {
295
+ height: 61px;
296
+ margin-bottom: 36px; }
297
+ @media (max-width: 767px) {
298
+ .ecwid-features-top .ecwid-features-top-item img {
299
+ margin-bottom: 20px; } }
300
+ .ecwid-features-top .ecwid-features-top-item img.gift {
301
+ height: 80px;
302
+ margin-top: -10px; }
303
+ .ecwid-features-top .ecwid-features-top-item h3 {
304
+ font-size: 21px;
305
+ font-weight: 600;
306
+ margin-bottom: 15px; }
307
+ @media (max-width: 767px) {
308
+ .ecwid-features-top .ecwid-features-top-item h3 {
309
+ font-size: 18px;
310
+ margin-bottom: 6px; } }
311
+ .ecwid-features-top .ecwid-features-top-item p {
312
+ font-size: 14px;
313
+ line-height: 1.45; }
314
+ @media (max-width: 767px) {
315
+ .ecwid-features-top .ecwid-features-top-item p {
316
+ font-size: 13px; } }
317
+
318
+ .ecwid-features-bottom:after {
319
+ content: "";
320
+ display: table;
321
+ clear: both; }
322
+ .ecwid-features-bottom .ecwid-features-bottom-item {
323
+ width: 33.33333%;
324
+ float: left;
325
+ text-align: center; }
326
+ @media (max-width: 767px) {
327
+ .ecwid-features-bottom .ecwid-features-bottom-item {
328
+ float: none;
329
+ width: 100%;
330
+ max-width: 270px;
331
+ margin: 0 auto 35px; } }
332
+ .ecwid-features-bottom .ecwid-features-bottom-item .ecwid-features-bottom-item-image {
333
+ height: 82px; }
334
+ @media (max-width: 767px) {
335
+ .ecwid-features-bottom .ecwid-features-bottom-item .ecwid-features-bottom-item-image {
336
+ height: 75px; } }
337
+ .ecwid-features-bottom .ecwid-features-bottom-item img {
338
+ height: 63px;
339
+ margin-bottom: 17px; }
340
+ .ecwid-features-bottom .ecwid-features-bottom-item img.secure {
341
+ height: 67px; }
342
+ @media (min-width: 768px) {
343
+ .ecwid-features-bottom .ecwid-features-bottom-item img.secure {
344
+ margin-top: -8px; } }
345
+ .ecwid-features-bottom .ecwid-features-bottom-item h3 {
346
+ font-size: 18px;
347
+ font-weight: 600;
348
+ margin-bottom: 6px; }
349
+ .ecwid-features-bottom .ecwid-features-bottom-item p {
350
+ font-size: 14px;
351
+ line-height: 1.45; }
352
+ @media (max-width: 767px) {
353
+ .ecwid-features-bottom .ecwid-features-bottom-item p {
354
+ font-size: 13px; }
355
+ .ecwid-features-bottom .ecwid-features-bottom-item p br {
356
+ display: none; } }
357
+
358
+ .ecwid-start {
359
+ text-align: center;
360
+ padding: 64px 0 194px; }
361
+ @media (max-width: 767px) {
362
+ .ecwid-start {
363
+ padding: 44px 0 64px; }
364
+ .ecwid-start .ecwid-button .button {
365
+ margin-bottom: 29px; } }
366
+ .ecwid-start:after {
367
+ content: "";
368
+ display: table;
369
+ clear: both; }
370
+ .ecwid-start h2 {
371
+ font-size: 28px;
372
+ line-height: 1.4;
373
+ margin-bottom: 32px; }
374
+ @media (max-width: 767px) {
375
+ .ecwid-start h2 {
376
+ font-size: 22px;
377
+ padding: 0 2%;
378
+ margin-bottom: 1px; } }
379
+
380
+ .ecwid-button {
381
+ text-align: center; }
382
+ .ecwid-button a,
383
+ .ecwid-button button {
384
+ background-image: none; }
385
+ .ecwid-button .button {
386
+ border-radius: 4px;
387
+ border: 0;
388
+ font-size: 20px;
389
+ color: #ffffff;
390
+ line-height: 2.6;
391
+ letter-spacing: 0.01em;
392
+ padding: 0.12em 1.5em;
393
+ margin-bottom: 46px;
394
+ outline: none;
395
+ cursor: pointer; }
396
+ @media (max-width: 767px) {
397
+ .ecwid-button .button {
398
+ font-size: 18px;
399
+ margin-top: 25px;
400
+ margin-bottom: 14px;
401
+ padding: 0.12em 1em; } }
402
+ @media (max-width: 500px) {
403
+ .ecwid-button .button {
404
+ font-size: 16px; } }
405
+ .ecwid-button .button:hover {
406
+ opacity: 0.8; }
407
+ .ecwid-button .button.button--blue {
408
+ background-color: #189DEE; }
409
+ .ecwid-button .button.button--green {
410
+ background-color: #59BB00; }
411
+ .ecwid-button .button-description-mobile {
412
+ font-size: 12px;
413
+ line-height: 1.5;
414
+ margin-bottom: 38px;
415
+ color: #999; }
416
+ .ecwid-button .button-description-mobile h3 {
417
+ font-size: 18px;
418
+ color: #363636;
419
+ font-weight: 600;
420
+ margin-bottom: -70px; }
421
+ @media (min-width: 768px) {
422
+ .ecwid-button .button-description-mobile {
423
+ display: none; } }
424
+ .ecwid-button .ecwid-button-description {
425
+ font-size: 14px; }
426
+ .ecwid-button .ecwid-button-description a {
427
+ display: block;
428
+ font-size: 20px;
429
+ color: #288FB5;
430
+ margin-top: 12px;
431
+ text-decoration: none; }
432
+ .ecwid-button .ecwid-button-description a:hover {
433
+ opacity: 0.8; }
434
+ @media (max-width: 767px) {
435
+ .ecwid-button .ecwid-button-description a {
436
+ margin-bottom: 10px;
437
+ font-size: 18px; } }
438
+
439
+
440
+ /*
441
+ * Adapt landing to wordpress actual environment
442
+ */
443
+ .ecwid-button .button {
444
+ height: auto;
445
+ }
446
+
447
+ #wpcontent {
448
+ background: white;
449
+ padding-left: 0px;
450
+ }
451
+ ul#adminmenu a.wp-has-current-submenu:after, ul#adminmenu>li.current>a.current:after
452
+ {
453
+ border-right-color:white;
454
+ }
455
+
456
+ .ecwid-landing.register .on-connect {
457
+ display: none;
458
+ }
459
+
460
+
461
+ .ecwid-landing.connect .on-register {
462
+ display: none;
463
+ }
464
+
465
+ .ecwid-landing .on-error {
466
+ display: none;
467
+ }
468
+
469
+ .ecwid-landing.conn-error .on-error {
470
+ display: inherit;
471
+ }
472
+
473
+ .ecwid-landing.conn-error .on-no-error {
474
+ display: none;
475
+ }
476
+
477
+ .ecwid-button .ecwid-connection-error {
478
+ color: red;
479
+ }
480
+
481
+ @media (min-width: 768px) {
482
+ .ecwid-button .ecwid-connection-error {
483
+ position: relative;
484
+ top: -30px;
485
+ margin-bottom: 8px;
486
+ }
487
+ }
488
+
489
+ .ecwid-landing a:focus {
490
+ outline: 0px none;
491
+ box-shadow: none;
492
+ }
493
+
494
+ .ecwid-landing .button:hover {
495
+ color: white;
496
+ }
css/products-list.css ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Common styles
3
+ */
4
+
5
+ .ecwid-initial-productsList-content {
6
+ display: none;
7
+ }
8
+
9
+ .ecwid-productsList ul li.hide {
10
+ display: none;
11
+ }
12
+
13
+ .ecwid-productsList {
14
+ overflow: hidden;
15
+ position: relative;
16
+ }
17
+
18
+
19
+ .ecwid-productsList ul,
20
+ #widgets .ecwid-productsList ul
21
+ {
22
+ padding: 0px;
23
+ margin: 0px;
24
+ }
25
+
26
+ .ecwid-productsList ul li {
27
+ list-style: none;
28
+ display: block;
29
+ padding: 0px;
30
+ }
31
+
32
+ .ecwid-productsList ul li a,
33
+ #widgets .ecwid-productsList ul li a
34
+ {
35
+ display: block;
36
+ position: relative;
37
+
38
+ border-radius: 5px;
39
+ overflow: hidden;
40
+
41
+ background: white;
42
+ }
43
+
44
+ .ecwid-productsList ul li a {
45
+ opacity : .9;
46
+ }
47
+
48
+ .ecwid-productsList ul li:hover a {
49
+ opacity: 1;
50
+ }
51
+
52
+ .ecwid-productsList .ecwid-productsList-name {
53
+ color: #1E7EC8;
54
+ }
55
+
56
+ html#ecwid_html body#ecwid_body .ecwid-productsList .ecwid-productsList-image .ecwid-noimage {
57
+ background-color: white;
58
+ opacity: 1;
59
+ }
60
+
61
+ .ecwid-productsList ul li .ecwid-productsList-name,
62
+ .ecwid-productsList ul li .ecwid-productsList-price,
63
+ .ecwid-productsList ul li .ecwid-productsList-image,
64
+ .ecwid-productsList ul li .ecwid-productsList-image img
65
+ {
66
+ width: 100%;
67
+ text-align: center;
68
+ }
69
+
70
+ html#ecwid_html body#ecwid_body .ecwid-productsList ul li .ecwid-productsList-name
71
+ {
72
+ font-size: 12px;
73
+
74
+ white-space: nowrap;
75
+ overflow: hidden;
76
+ text-overflow: ellipsis;
77
+ }
78
+
79
+ html#ecwid_html body#ecwid_body .ecwid-productsList ul li .ecwid-productsList-price
80
+ {
81
+ font-size: 14px;
82
+ }
83
+
84
+ /*
85
+ * Narrow layout
86
+ */
87
+ .ecwid-productsList.width-s ul li .ecwid-productsList-name,
88
+ .ecwid-productsList.width-s ul li .ecwid-productsList-price
89
+ {
90
+ display: none;
91
+ }
92
+
93
+ .ecwid-productsList.width-s ul li {
94
+ padding: 5px 0px;
95
+ }
96
+
97
+ /*
98
+ * Medium width layout
99
+ */
100
+
101
+ .ecwid-productsList.width-m ul li {
102
+ padding-top: 10px;
103
+ padding-bottom: 14px;
104
+ }
105
+
106
+ .ecwid-productsList.width-m ul li .ecwid-productsList-image {
107
+ border-bottom-left-radius: 0px;
108
+ border-bottom-right-radius: 0px;
109
+ }
110
+
111
+ html#ecwid_html body#ecwid_body .ecwid-productsList.width-m ul li .ecwid-productsList-name {
112
+ padding-top: 3px;
113
+ }
114
+
115
+ html#ecwid_html body#ecwid_body .ecwid-productsList.width-m ul li .ecwid-productsList-price
116
+ {
117
+ padding-bottom: 8px;
118
+ }
119
+
120
+ .ecwid-productsList.width-m ul li .ecwid-productsList-price,
121
+ .ecwid-productsList.width-m ul li .ecwid-productsList-name {
122
+ width: auto;
123
+ margin: 0 5px;
124
+ }
125
+
126
+
127
+ /*
128
+ * Wide layout
129
+ */
130
+ .ecwid-productsList.width-l ul li
131
+ {
132
+ margin: 6px 0px;
133
+ }
134
+
135
+ .ecwid-productsList.width-l ul li a {
136
+ min-height: 60px;
137
+ }
138
+
139
+
140
+ .ecwid-productsList.width-l ul li .ecwid-productsList-image,
141
+ .ecwid-productsList.width-l ul li .ecwid-productsList-name,
142
+ .ecwid-productsList.width-l ul li .ecwid-productsList-price
143
+ {
144
+ text-align: left;
145
+ }
146
+
147
+ .ecwid-productsList.width-l ul li .ecwid-productsList-image {
148
+ display: table-cell;
149
+ vertical-align: middle;
150
+ height: 60px;
151
+ padding: 5px;
152
+ }
153
+
154
+ .ecwid-productsList.width-l ul li .ecwid-productsList-image img {
155
+ width: auto;
156
+ max-width: 75px;
157
+ display: block;
158
+ margin: 0px auto;
159
+ }
160
+
161
+ html#ecwid_html body#ecwid_body .ecwid-productsList div.ecwid-productsList-image.ecwid-noimage {
162
+ background-position: 50% 50%;
163
+ background-size: 55px 55px;
164
+ opacity: 1;
165
+ width: 75px;
166
+ height: 60px;
167
+ padding: 5px;
168
+ }
169
+
170
+ .ecwid-productsList.width-l ul li .ecwid-productsList-name,
171
+ .ecwid-productsList.width-l ul li .ecwid-productsList-price
172
+ {
173
+ width: auto;
174
+ position: absolute;
175
+ left: 93px;
176
+ right: 0px;
177
+ overflow: hidden;
178
+ white-space: nowrap;
179
+ text-overflow: ellipsis;
180
+ }
181
+
182
+ .ecwid-productsList.width-l ul li .ecwid-productsList-name {
183
+ bottom: 50%;
184
+ margin-bottom: 4px;
185
+ }
186
+
187
+
188
+ .ecwid-productsList.width-l ul li .ecwid-productsList-price {
189
+ top: 50%;
190
+ margin-top: -2px;
191
+ }
192
+
193
+ html#ecwid_html body#ecwid_body .ecwid-productsList ul li .ecwid-productsList-name
194
+ {
195
+ font-size: 12px;
196
+ }
197
+
198
+ html#ecwid_html body#ecwid_body .ecwid-productsList ul li .ecwid-productsList-price
199
+ {
200
+ font-size: 14px;
201
+ }
css/recently-viewed.css ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products .product {
2
+ display: block;
3
+ position: relative;
4
+ opacity: .85;
5
+ }
6
+
7
+ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products .product:not(:first-child) {
8
+ border-top: 1px solid #CCC;
9
+ }
10
+
11
+
12
+ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products .product .ecwid-price {
13
+ font-size: 14px;
14
+ }
15
+ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products .product .ecwid-title {
16
+ font-size: 12px;
17
+ height: 2em;
18
+ line-height: 1em;
19
+ }
20
+
21
+
22
+ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products .product.hidden {
23
+ display: none;
24
+ }
25
+
26
+ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products .product:hover {
27
+ cursor: pointer;
28
+ opacity: 1;
29
+ }
30
+
31
+ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products .product:active,
32
+ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products .product:focus
33
+ {
34
+ outline: none;
35
+ }
36
+
37
+ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products .product .ecwid-title {
38
+ overflow: hidden;
39
+ max-height: 55px;
40
+
41
+ font-size: 12px;
42
+ }
43
+
44
+ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products .product:hover .ecwid-title {
45
+ text-decoration: underline;
46
+ }
47
+
48
+ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products .product div[itemprop="offers"] {
49
+ position: static;
50
+ }
51
+
52
+ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products .product .ecwid-SingleProduct-picture img {
53
+ height: auto !important;
54
+ width: auto !important;
55
+ max-width: 100px;
56
+ max-height: 100px;
57
+ margin-top: 10px !important;
58
+ vertical-align: middle;
59
+ }
60
+
61
+ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products .product .ecwid-price,
62
+ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products .product .ecwid-title,
63
+ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products .product div[itemprop="image"]
64
+ {
65
+ text-align: center;
66
+ }
67
+
68
+
69
+ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products.wide .product {
70
+ height: 120px;
71
+ }
72
+
73
+
74
+ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products .product .ecwid-title,
75
+ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products .product .ecwid-price {
76
+ display: none;
77
+ }
78
+
79
+ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products.wide .product .ecwid-title,
80
+ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products.wide .product .ecwid-price {
81
+ display: block;
82
+ position: absolute;
83
+ left: 120px;
84
+ text-align: left;
85
+ margin-right: 5px;
86
+ text-overflow: ellipsis;
87
+ white-space: nowrap;
88
+ }
89
+
90
+
91
+ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products.wide .product .ecwid-title {
92
+ top: 25px;
93
+ }
94
+
95
+ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products.wide .product .ecwid-price {
96
+ bottom: 25px;
97
+ }
98
+
99
+ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products.wide .product .ecwid-SingleProduct-picture {
100
+ vertical-align: middle;
101
+ display: table-cell;
102
+ line-height: 120px;
103
+ width: 100px;
104
+ padding: 0px 10px !important;
105
+ }
106
+
107
+ html#ecwid_html body#ecwid_body .ecwid-recently-viewed-products.wide .product .ecwid-SingleProduct-picture img {
108
+ margin-top: 0px !important;
109
+ }
css/settings.css CHANGED
@@ -300,153 +300,392 @@ display: none;
300
  vertical-align: middle;
301
  }
302
 
303
- .general-settings {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
304
  font-size: 14px;
305
- max-width: 750px;
306
  }
307
 
308
- .general-settings .greeting-box {
309
- height: 141px;
310
- padding-bottom: 12px;
311
  }
312
 
313
- .general-settings .greeting-box .image-container {
314
- padding-right: 20px;
 
315
  }
316
 
317
- .general-settings .greeting-box > div {
318
  display: table-cell;
319
  vertical-align: middle;
320
  }
321
 
322
- .general-settings .greeting-box .main-message {
323
- font-size: 22px;
324
- font-weight: bold;
325
- line-height: 22px;
326
  }
327
 
328
- .general-settings .greeting-box .secondary-message {
329
- font-size: 17px;
330
- padding-top: 13px;
331
- line-height: 23px;
332
  }
333
 
334
- .general-settings ol {
335
- margin-top: 30px;
336
- padding-left: 10px;
337
- list-style-position: inside;
 
 
 
 
 
 
 
 
 
338
  }
339
 
340
- .general-settings ol li {
341
- font-size: 20px;
342
- margin-bottom: 34px;
343
- font-weight: bold;
344
- padding-top: 10px;
345
  }
346
 
347
- .general-settings ol li * {
348
- color: #333333;
349
- font-size:13px;
350
- font-weight: normal;
 
351
  }
352
 
353
- .general-settings ol li h4 {
354
- font-size: 20px;
355
- font-weight: bold;
356
- margin: 0px 0px 12px;
357
- display: inline-block;
358
  }
359
 
360
- .general-settings .ecwid-account-buttons .pure-button {
361
- margin: 5px 17px 5px 0px;
 
 
 
 
362
  }
363
 
364
- .general-settings .ecwid-account-buttons {
365
- padding: 20px 0px;
366
- margin-bottom: -5px;
367
  }
368
 
369
- .general-settings p.note {
370
- font-weight: bold;
 
 
371
  }
372
 
373
- .ecwid-settings .note {
374
- font-size: 11px;
375
- color: #A0A0A0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
376
  display: inline-block;
377
- line-height: 16px;
378
  }
379
 
380
 
381
- .general-settings input[type=text] {
382
- height: 34px;
 
 
383
  font-size: 14px;
 
 
 
 
 
384
  }
385
 
386
- .general-settings .find-store-id-in-cp {
387
- line-height: 18px;
388
- margin-bottom: 15px;
 
 
389
  }
390
 
391
- .general-settings .find-store-id-in-cp em {
392
- color: #246fba;
393
- font-style: normal;
394
  }
395
 
396
- .general-settings #ecwid_store_id {
397
- position: relative;
398
- top: 2px;
399
- width: 153px;
 
400
  }
401
 
402
- .general-settings .section {
403
- line-height: 24px;
404
- height: 80px;
405
- display: table;
406
- vertical-align: middle;
407
- width: 640px;
408
  }
409
 
410
- .general-settings .section.account-section {
411
- height: 40px;
412
- margin-bottom: 10px;
413
  }
414
 
 
 
 
415
 
416
- .general-settings .section .left {
417
- display: table-cell;
418
- vertical-align: middle;
419
  }
420
 
421
- .general-settings .section .right {
422
- display: table-cell;
423
- vertical-align: middle;
424
- text-align: right;
 
 
 
425
  }
426
 
427
- .general-settings .section.small-text {
428
- line-height: normal;
 
429
  }
430
 
 
 
 
431
 
432
- .general-settings .section .left-section {
433
- float: left;
 
434
  }
435
 
436
- .general-settings .section .main-info {
437
- font-size: 18px;
 
438
  }
439
 
440
- .general-settings .section .secondary-info {
441
- font-size: 12px;
442
- line-height: 20px;
 
443
  }
444
 
445
- .ecwid-settings .note.grayed-links,
446
- .ecwid-settings .note.grayed-links a:not(:hover)
 
 
 
 
 
447
  {
448
- font-size: 11px;
449
- color: #A0A0A0;
450
- margin-top:10px;
451
- margin-bottom: 10px;
 
 
 
 
 
 
 
 
 
 
 
452
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
300
  vertical-align: middle;
301
  }
302
 
303
+ .ecwid-settings .note.grayed-links,
304
+ .ecwid-settings .note.grayed-links a:not(:hover)
305
+ {
306
+ font-size: 11px;
307
+ color: #A0A0A0;
308
+ margin-top:10px;
309
+ margin-bottom: 10px;
310
+ }
311
+
312
+ /* Common main */
313
+ .ecwid-admin .box {
314
+ position: relative;
315
+ margin-top: 25px;
316
+
317
+ border: 1px solid #E5E5E5;
318
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
319
+ background: #FFF;
320
+ }
321
+
322
+
323
+ .ecwid-admin h2:before {
324
+ background: url(../images/ecwid_logo_symbol_RGB.svg);
325
+ width: 100px;
326
+ height: 20px;
327
+ border: 2px solid blue;
328
+ }
329
+
330
+ .ecwid-admin h3 {
331
+ position: relative;
332
+ padding: 0px;
333
+ margin: 0px;
334
+ left: 60px;
335
+
336
+ display: inline-block;
337
+ height: 70px;
338
+ line-height: 70px;
339
+
340
+ text-align: left;
341
+
342
+ font-size: 18px;
343
+ font-weight: normal;
344
+ }
345
+
346
+ .ecwid-admin .head {
347
+ border-bottom: 1px solid #EEE;
348
+ height: 70px;
349
+ }
350
+
351
+ .ecwid-admin .box .head {
352
+ text-align: left;
353
+ }
354
+
355
+ .ecwid-admin .head svg {
356
+ width: 32px;
357
+ height: 32px;
358
+ position: absolute;
359
+ top: 20px;
360
+ left: 20px;
361
+ margin-right: 10px;
362
+ }
363
+ /* END Common main */
364
+
365
+
366
+ /* CONNECT - positioning */
367
+ .ecwid-connect .box > div {
368
+ margin: 0px auto;
369
+ text-align: center;
370
+ }
371
+
372
+ .ecwid-connect .box h3 + div {
373
+ margin-top: 40px;
374
+ }
375
+
376
+ .ecwid-connect .box div:last-child {
377
+ margin-bottom: 40px;
378
+ }
379
+
380
+ .ecwid-connect .box .greeting-message {
381
+ margin-top: 11px;
382
+ line-height: 1.3em;
383
+ }
384
+
385
+ .ecwid-connect .box .connect-button {
386
+ margin-top: 38px;
387
+ }
388
+
389
+ .ecwid-connect .box .note {
390
+ margin-top: 15px;
391
+ }
392
+
393
+ .ecwid-connect .box .create-account-link {
394
+ margin-top: 35px;
395
+ }
396
+
397
+
398
+ /* CONNECT - styles */
399
+ .ecwid-connect .box .greeting-message {
400
+ font-size: 24px;
401
+ font-weight: lighter;
402
+ }
403
+
404
+ .ecwid-connect .box .connect-button a {
405
+ padding: 14px 40px;
406
+ border: 0px none;
407
+ border-radius: 4px;
408
+
409
+ background: #59bb00;
410
+ color: white;
411
+ font-size: 18px;
412
+ font-weight: lighter;
413
+ text-decoration: none;
414
+
415
+ transition: color 0.1s linear, background-color 0.1s linear, border-color 0.1s linear;
416
+ display: inline-block;
417
+ }
418
+
419
+ .ecwid-connect .box .connect-button a:hover {
420
+ background: #64A52F;
421
+ }
422
+
423
+ .ecwid-connect .box .note {
424
+ color: #A0A0A0;
425
+ line-height: 18px;
426
+ }
427
+
428
+ .ecwid-connect .box .note.initial {
429
+ max-width: 250px;
430
+ }
431
+
432
+ .ecwid-connect .box .note.auth-error {
433
+ max-width: 350px;
434
+ color: red;
435
+ }
436
+
437
+ .ecwid-connect .box .create-account-link a {
438
+ text-decoration: none;
439
  font-size: 14px;
 
440
  }
441
 
442
+ .ecwid-dashboard .body {
443
+ padding: 70px 50px;
 
444
  }
445
 
446
+ .ecwid-dashboard .greeting-image {
447
+ padding-right: 37px;
448
+ display: table-cell;
449
  }
450
 
451
+ .ecwid-dashboard .greeting {
452
  display: table-cell;
453
  vertical-align: middle;
454
  }
455
 
456
+ .ecwid-dashboard .greeting .greeting-title {
457
+ font-size: 24px;
458
+ margin-bottom: 12px;
 
459
  }
460
 
461
+ .ecwid-dashboard .greeting .greeting-message {
462
+ font-size: 16px;
463
+ margin-bottom: 5px;
464
+ line-height: 1.3em;
465
  }
466
 
467
+ .ecwid-dashboard .drop-down.store-id {
468
+ font-size: 14px;
469
+ padding: 10px 16px;
470
+ position: absolute;
471
+ right: 6px;
472
+ top: 13px;
473
+ line-height: 20px;
474
+ display: inline-block;
475
+ border: 1px solid transparent;
476
+ border-bottom: none;
477
+ height: 21px;
478
+
479
+ cursor: pointer;
480
  }
481
 
482
+ .ecwid-dashboard .drop-down.store-id.hover {
483
+ cursor: default;
 
 
 
484
  }
485
 
486
+ .ecwid-dashboard .drop-down.hover
487
+ {
488
+ border: 1px solid #CCC;
489
+ border-bottom: none;
490
+ background: white;
491
  }
492
 
493
+ .ecwid-dashboard .store-id a {
494
+ text-decoration: none;
 
 
 
495
  }
496
 
497
+ .ecwid-dashboard .drop-down > *:first-child:after {
498
+ font-family: 'dashicons';
499
+ content: '\f347';
500
+ position: relative;
501
+ top: .2em;
502
+ font-weight: lighter;
503
  }
504
 
505
+ .ecwid-dashboard .drop-down.hover > *:first-child:after {
506
+ font-family: 'dashicons';
507
+ content: '\f343';
508
  }
509
 
510
+
511
+ .ecwid-dashboard .drop-down > *:first-child {
512
+ color: #0074A2;
513
+ white-space: nowrap;
514
  }
515
 
516
+ .ecwid-dashboard .drop-down > *:first-child:hover {
517
+ color: #2EA2CC;
518
+ }
519
+
520
+ .ecwid-dashboard .drop-down {
521
+ position: relative;
522
+ }
523
+
524
+ .ecwid-dashboard .drop-down.hover {
525
+ color: #2EA2CC;
526
+ }
527
+
528
+ .ecwid-dashboard .drop-down ul
529
+ {
530
+ display: none;
531
+ }
532
+ .ecwid-dashboard .drop-down.hover ul
533
+ {
534
  display: inline-block;
 
535
  }
536
 
537
 
538
+ .ecwid-dashboard .drop-down ul {
539
+ position: absolute;
540
+ top: 100%;
541
+ width: 100%;
542
  font-size: 14px;
543
+ left: 0px;
544
+ margin: 0px;
545
+ padding-left: 0px;
546
+
547
+ outline: 1px solid #ccc;
548
  }
549
 
550
+ .ecwid-dashboard .drop-down ul li {
551
+ border-bottom: 1px solid #ccc;
552
+ margin-bottom: 0;
553
+ background: white;
554
+ text-align: left;
555
  }
556
 
557
+ .ecwid-dashboard .drop-down ul li:last-child {
558
+ border-bottom: none;
 
559
  }
560
 
561
+
562
+ .ecwid-dashboard .drop-down ul a {
563
+ display: block;
564
+ padding: 10px 16px;
565
+ text-decoration: none;
566
  }
567
 
568
+ .ecwid-dashboard .drop-down ul li:hover {
569
+ background: #0074A2;
 
 
 
 
570
  }
571
 
572
+ .ecwid-dashboard .drop-down ul li:hover a {
573
+ color: white;
 
574
  }
575
 
576
+ .ecwid-dashboard .drop-down * {
577
+ transition: color .2s, background .2s;
578
+ }
579
 
580
+ .ecwid-dashboard .greeting-links {
581
+ padding-left: 0px;
582
+ margin-top: 5px;
583
  }
584
 
585
+ .ecwid-dashboard .greeting-links > * {
586
+ display: inline-block;
587
+ margin: 15px 15px;
588
+ }
589
+
590
+ .ecwid-dashboard .greeting-links > *:first-child {
591
+ margin-left: 0;
592
  }
593
 
594
+ .ecwid-dashboard .greeting-links a {
595
+ text-decoration: none;
596
+ font-size: 14px;
597
  }
598
 
599
+ .ecwid-dashboard.width-smaller .head {
600
+ height: 74px;
601
+ }
602
 
603
+ .ecwid-dashboard.width-smaller .head svg {
604
+ left: 20px;
605
+ top: 24px;
606
  }
607
 
608
+ .ecwid-dashboard.width-smaller .head h3 {
609
+ left: 68px;
610
+ top: -4px;
611
  }
612
 
613
+ .ecwid-dashboard.width-smaller .store-id {
614
+ right: inherit;
615
+ left: 51px;
616
+ top: 30px;
617
  }
618
 
619
+ .ecwid-dashboard.width-smaller .body {
620
+ text-align: center;
621
+ padding: 20px 0px;
622
+ }
623
+
624
+ .ecwid-dashboard.width-smaller .greeting-image,
625
+ .ecwid-dashboard.width-smaller .greeting
626
  {
627
+ display: block;
628
+ padding-right: 0px;
629
+ }
630
+
631
+ .ecwid-dashboard.width-smaller .greeting-title {
632
+ margin-top: 10px;
633
+ }
634
+
635
+
636
+ .ecwid-admin .mobile-br br {
637
+ display: none;
638
+ }
639
+
640
+ .ecwid-admin.width-smaller .mobile-br br {
641
+ display: inherit;
642
  }
643
+
644
+ .ecwid-popup {
645
+ position: fixed;
646
+ left: 170px;
647
+ top: 42px;
648
+ right: 10px;
649
+ bottom: 10px;
650
+ }
651
+
652
+ .ecwid-popup .wrap {
653
+ margin: 0px;
654
+ }
655
+
656
+ .ecwid-popup .box {
657
+ margin: 0px;
658
+ position: absolute;
659
+ left: 0;
660
+ right: 0;
661
+ top: 0;
662
+ bottom: 0;
663
+ }
664
+ .ecwid-popup h3 span.close {
665
+ position: absolute;
666
+ right: 15px;
667
+ cursor: pointer;
668
+ color: #2EA2CC;
669
+ }
670
+
671
+ .ecwid-popup h3 span.close:before {
672
+ content: "\e606";
673
+ font-family: ecwid-icons;
674
+ font-size: 36px;
675
+ }
676
+
677
+
678
+ @media screen and (max-width: 960px) {
679
+ .ecwid-popup {
680
+ left: 44px;
681
+ }
682
+ }
683
+
684
+ @media screen and (max-width: 782px) {
685
+ .ecwid-popup {
686
+ left: 0px;
687
+ right: 0px;
688
+ top: 46px;
689
+ bottom: 0px;
690
+ }
691
+ }
ecwid-shopping-cart.php CHANGED
@@ -5,12 +5,14 @@ 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.8
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);
@@ -82,9 +84,10 @@ add_action('admin_bar_menu', 'add_ecwid_admin_bar_node', 1000);
82
 
83
  $ecwid_script_rendered = false; // controls single script.js on page
84
 
85
- require_once plugin_dir_path(__FILE__) . '/includes/themes.php';
86
- require_once plugin_dir_path(__FILE__) . '/includes/class-ecwid-message-manager.php';
87
- require_once plugin_dir_path(__FILE__) . '/includes/class-ecwid-store-editor.php';
 
88
 
89
  function ecwid_init_integrations()
90
  {
@@ -102,7 +105,6 @@ function ecwid_init_integrations()
102
  }
103
  }
104
 
105
-
106
  $version = get_bloginfo('version');
107
 
108
  function ecwid_add_breadcrumbs_navxt($trail)
@@ -238,6 +240,8 @@ HTML;
238
  }
239
 
240
  function ecwid_add_frontend_styles() {
 
 
241
  wp_enqueue_style('ecwid-css', plugins_url('ecwid-shopping-cart/css/frontend.css'));
242
  }
243
 
@@ -523,6 +527,7 @@ function ecwid_page_has_productbrowser($post_id = null)
523
 
524
  if (!isset($results[$post_id])) {
525
  $post = get_post($post_id);
 
526
  if ($post) {
527
  $post_content = get_post($post_id)->post_content;
528
 
@@ -726,10 +731,10 @@ function ecwid_content_started($content)
726
 
727
  function ecwid_wrap_shortcode_content($content, $name)
728
  {
729
- return "<!-- Ecwid shopping cart plugin v 2.8 -->"
730
  . ecwid_get_scriptjs_code()
731
  . "<div class=\"ecwid-shopping-cart-$name\">$content</div>"
732
- . "<!-- END Ecwid Shopping Cart v 2.8 -->";
733
  }
734
 
735
  function ecwid_get_scriptjs_code($force_lang = null) {
@@ -1103,34 +1108,34 @@ function ecwid_store_activate() {
1103
  $content = <<<EOT
1104
  <!-- Ecwid code. Please do not remove this line otherwise your Ecwid shopping cart will not work properly. --> [ecwid widgets="productbrowser search" grid="3,3" list="10" table="20" default_category_id="0" category_view="grid" search_view="grid" minicart_layout="attachToCategories" ] <!-- Ecwid code end -->
1105
  EOT;
1106
- add_option("ecwid_store_page_id", '', '', 'yes');
1107
  add_option("ecwid_store_page_id_auto", '', '', 'yes');
1108
 
1109
  add_option("ecwid_store_id", ECWID_DEMO_STORE_ID, '', 'yes');
1110
-
1111
- add_option("ecwid_enable_minicart", 'Y', '', 'yes');
1112
- add_option("ecwid_show_categories", '', '', 'yes');
1113
- add_option("ecwid_show_search_box", '', '', 'yes');
1114
 
1115
- add_option("ecwid_pb_categoriesperrow", '3', '', 'yes');
1116
 
1117
- add_option("ecwid_pb_productspercolumn_grid", '3', '', 'yes');
1118
- add_option("ecwid_pb_productsperrow_grid", '3', '', 'yes');
1119
- add_option("ecwid_pb_productsperpage_list", '10', '', 'yes');
1120
- add_option("ecwid_pb_productsperpage_table", '20', '', 'yes');
1121
 
1122
- add_option("ecwid_pb_defaultview", 'grid', '', 'yes');
1123
- add_option("ecwid_pb_searchview", 'list', '', 'yes');
1124
 
1125
- add_option("ecwid_mobile_catalog_link", '', '', 'yes');
1126
- add_option("ecwid_default_category_id", '', '', 'yes');
1127
-
1128
- add_option('ecwid_is_api_enabled', 'on', '', 'yes');
1129
- add_option('ecwid_api_check_time', 0, '', 'yes');
1130
 
1131
  add_option('ecwid_show_vote_message', true);
1132
 
1133
- add_option("ecwid_sso_secret_key", '', '', 'yes');
1134
 
1135
  add_option("ecwid_installation_date", time());
1136
 
@@ -1138,7 +1143,10 @@ EOT;
1138
  // Does not affect updates, automatically turned on for new users only
1139
  add_option("ecwid_advanced_theme_layout", get_option('ecwid_store_id') == ECWID_DEMO_STORE_ID ? 'Y' : 'N', 'yes');
1140
 
1141
- $id = get_option("ecwid_store_page_id");
 
 
 
1142
  $_tmp_page = null;
1143
  if (!empty($id) and ($id > 0)) {
1144
  $_tmp_page = get_post($id);
@@ -1150,7 +1158,7 @@ EOT;
1150
  wp_update_post( $my_post );
1151
 
1152
  } else {
1153
- ecwid_load_textdomain();
1154
  $my_post['post_title'] = __('Store', 'ecwid-shopping-cart');
1155
  $my_post['post_content'] = $content;
1156
  $my_post['post_status'] = 'publish';
@@ -1160,7 +1168,7 @@ EOT;
1160
  $id = wp_insert_post( $my_post );
1161
  update_option('ecwid_store_page_id', $id);
1162
 
1163
- if (ecwid_get_theme_name() == 'Responsive') {
1164
  update_post_meta($id, '_wp_page_template', 'full-width-page.php');
1165
  update_option("ecwid_show_search_box", 'Y');
1166
  }
@@ -1200,6 +1208,33 @@ function ecwid_store_deactivate() {
1200
  Ecwid_Message_Manager::reset_hidden_messages();
1201
  }
1202
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1203
  function ecwid_abs_intval($value) {
1204
  if (!is_null($value))
1205
  return abs(intval($value));
@@ -1245,7 +1280,7 @@ function ecwid_options_add_page() {
1245
  );
1246
  }
1247
 
1248
- if (!$is_newbie || $_GET['page'] == 'ecwid-advanced') {
1249
  add_submenu_page(
1250
  'ecwid',
1251
  __('Advanced settings', 'ecwid-shopping-cart'),
@@ -1265,11 +1300,24 @@ function ecwid_register_admin_styles($hook_suffix) {
1265
  if (version_compare(get_bloginfo('version'), '3.8-beta') > 0) {
1266
  wp_enqueue_style('ecwid-admin38-css', plugins_url('ecwid-shopping-cart/css/admin.3.8.css'), array('ecwid-admin-css'), '', 'all');
1267
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
1268
  }
1269
 
1270
  function ecwid_register_settings_styles($hook_suffix) {
1271
 
1272
- if ($hook_suffix != 'post.php' && strpos($hook_suffix, 'ecwid') === false) return;
1273
 
1274
  wp_enqueue_style('ecwid-settings-pure-css', plugins_url('ecwid-shopping-cart/css/pure-min.css'), array(), '', 'all');
1275
  wp_enqueue_style('ecwid-settings-css', plugins_url('ecwid-shopping-cart/css/settings.css'), array(), '', 'all');
@@ -1287,7 +1335,6 @@ function ecwid_plugin_actions($links) {
1287
  return $links;
1288
  }
1289
 
1290
-
1291
  function ecwid_settings_api_init() {
1292
 
1293
  if (isset($_POST['settings_section'])) switch ($_POST['settings_section']) {
@@ -1332,16 +1379,25 @@ function ecwid_common_admin_scripts() {
1332
  wp_enqueue_script('ecwid-modernizr-js', plugins_url('ecwid-shopping-cart/js/modernizr.js'));
1333
  }
1334
 
1335
- function ecwid_admin_get_footer() {
1336
 
1337
- }
 
1338
 
1339
- function ecwid_general_settings_do_page() {
 
1340
 
1341
- if (get_ecwid_store_id() == ECWID_DEMO_STORE_ID) {
1342
- require_once plugin_dir_path(__FILE__) . '/templates/setup.php';
1343
  } else {
1344
- require_once plugin_dir_path(__FILE__) . '/templates/dashboard.php';
 
 
 
 
 
 
 
 
1345
  }
1346
  }
1347
 
@@ -1351,8 +1407,10 @@ function ecwid_get_categories_for_selector() {
1351
  $api = ecwid_new_product_api();
1352
  $categories = $api->get_all_categories();
1353
  $by_id = array();
1354
- foreach ($categories as $key => $category) {
1355
- $by_id[$category['id']] = $category;
 
 
1356
  }
1357
  unset($categories);
1358
 
@@ -1388,7 +1446,7 @@ function ecwid_get_categories_for_selector() {
1388
  function ecwid_advanced_settings_do_page() {
1389
  $categories = ecwid_get_categories_for_selector();
1390
 
1391
- require_once plugin_dir_path(__FILE__) . '/templates/advanced-settings.php';
1392
  }
1393
 
1394
  function ecwid_appearance_settings_do_page() {
@@ -1782,7 +1840,6 @@ class EcwidSearchWidget extends WP_Widget {
1782
  echo '<script data-cfasync="false" type="text/javascript"> xSearchPanel("style="); </script>';
1783
 
1784
  echo '</div>';
1785
-
1786
 
1787
  echo $after_widget;
1788
  }
@@ -1884,6 +1941,134 @@ class EcwidStoreLinkWidget extends WP_Widget {
1884
 
1885
  }
1886
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1887
 
1888
  function ecwid_send_stats()
1889
  {
@@ -1925,7 +2110,7 @@ function ecwid_gather_stats()
1925
  $stats = array();
1926
 
1927
  $stats['version'] = get_bloginfo('version');
1928
- $stats['theme'] = ecwid_get_theme_name();
1929
 
1930
  include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
1931
 
@@ -1945,7 +2130,9 @@ function ecwid_gather_stats()
1945
  'ecwid_product_advisor_used',
1946
  'ecwid_single_product_used',
1947
  'ecwid_store_shortcode_used',
1948
- 'store_link_widget'
 
 
1949
  );
1950
 
1951
  $usage_stats = ecwid_gather_usage_stats();
@@ -1979,7 +2166,9 @@ function ecwid_gather_usage_stats()
1979
  'ecwid_product_advisor_used',
1980
  'ecwid_single_product_used',
1981
  'ecwid_store_shortcode_used',
1982
- 'store_link_widget'
 
 
1983
  );
1984
 
1985
  $usage_stats = array();
@@ -1999,6 +2188,8 @@ function ecwid_gather_usage_stats()
1999
  $usage_stats['ecwid_single_product_used'] = (bool) (get_option('ecwid_single_product_used') + 60*60*24*14 > time());
2000
  $usage_stats['ecwid_store_shortcode_used'] = (bool) (get_option('ecwid_store_shortcode_used') + 60*60*24*14 > time());
2001
  $usage_stats['store_link_widget'] = (bool) is_active_widget(false, false, 'ecwidstorelink');
 
 
2002
 
2003
  return $usage_stats;
2004
  }
@@ -2010,6 +2201,7 @@ function ecwid_sidebar_widgets_init() {
2010
  register_widget('EcwidMinicartMiniViewWidget');
2011
  register_widget('EcwidBadgeWidget');
2012
  register_widget('EcwidStoreLinkWidget');
 
2013
  }
2014
 
2015
  add_action('widgets_init', 'ecwid_sidebar_widgets_init');
5
  Description: Ecwid is a free full-featured shopping cart. It can be easily integrated with any Wordpress blog and takes less than 5 minutes to set up.
6
  Text Domain: ecwid-shopping-cart
7
  Author: Ecwid Team
8
+ Version: 3.0
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
+ register_uninstall_hook( __FILE__, 'ecwid_uninstall' );
15
+
16
 
17
  define("APP_ECWID_COM", 'app.ecwid.com');
18
  define("ECWID_DEMO_STORE_ID", 1003);
84
 
85
  $ecwid_script_rendered = false; // controls single script.js on page
86
 
87
+ require_once ECWID_PLUGIN_DIR . '/includes/themes.php';
88
+ require_once ECWID_PLUGIN_DIR . '/includes/class-ecwid-message-manager.php';
89
+ require_once ECWID_PLUGIN_DIR . '/includes/class-ecwid-store-editor.php';
90
+ require_once ECWID_PLUGIN_DIR . '/includes/class-ecwid-oauth.php';
91
 
92
  function ecwid_init_integrations()
93
  {
105
  }
106
  }
107
 
 
108
  $version = get_bloginfo('version');
109
 
110
  function ecwid_add_breadcrumbs_navxt($trail)
240
  }
241
 
242
  function ecwid_add_frontend_styles() {
243
+ wp_register_script('ecwid-products-list-js', plugins_url('ecwid-shopping-cart/js/products-list.js'), array('jquery-ui-widget'));
244
+ wp_register_style('ecwid-products-list-css', plugins_url('ecwid-shopping-cart/css/products-list.css'));
245
  wp_enqueue_style('ecwid-css', plugins_url('ecwid-shopping-cart/css/frontend.css'));
246
  }
247
 
527
 
528
  if (!isset($results[$post_id])) {
529
  $post = get_post($post_id);
530
+
531
  if ($post) {
532
  $post_content = get_post($post_id)->post_content;
533
 
731
 
732
  function ecwid_wrap_shortcode_content($content, $name)
733
  {
734
+ return "<!-- Ecwid shopping cart plugin v 3.0 -->"
735
  . ecwid_get_scriptjs_code()
736
  . "<div class=\"ecwid-shopping-cart-$name\">$content</div>"
737
+ . "<!-- END Ecwid Shopping Cart v 3.0 -->";
738
  }
739
 
740
  function ecwid_get_scriptjs_code($force_lang = null) {
1108
  $content = <<<EOT
1109
  <!-- Ecwid code. Please do not remove this line otherwise your Ecwid shopping cart will not work properly. --> [ecwid widgets="productbrowser search" grid="3,3" list="10" table="20" default_category_id="0" category_view="grid" search_view="grid" minicart_layout="attachToCategories" ] <!-- Ecwid code end -->
1110
  EOT;
1111
+ add_option("ecwid_store_page_id", '', '', 'yes');
1112
  add_option("ecwid_store_page_id_auto", '', '', 'yes');
1113
 
1114
  add_option("ecwid_store_id", ECWID_DEMO_STORE_ID, '', 'yes');
1115
+
1116
+ add_option("ecwid_enable_minicart", 'Y', '', 'yes');
1117
+ add_option("ecwid_show_categories", '', '', 'yes');
1118
+ add_option("ecwid_show_search_box", '', '', 'yes');
1119
 
1120
+ add_option("ecwid_pb_categoriesperrow", '3', '', 'yes');
1121
 
1122
+ add_option("ecwid_pb_productspercolumn_grid", '3', '', 'yes');
1123
+ add_option("ecwid_pb_productsperrow_grid", '3', '', 'yes');
1124
+ add_option("ecwid_pb_productsperpage_list", '10', '', 'yes');
1125
+ add_option("ecwid_pb_productsperpage_table", '20', '', 'yes');
1126
 
1127
+ add_option("ecwid_pb_defaultview", 'grid', '', 'yes');
1128
+ add_option("ecwid_pb_searchview", 'list', '', 'yes');
1129
 
1130
+ add_option("ecwid_mobile_catalog_link", '', '', 'yes');
1131
+ add_option("ecwid_default_category_id", '', '', 'yes');
1132
+
1133
+ add_option('ecwid_is_api_enabled', 'on', '', 'yes');
1134
+ add_option('ecwid_api_check_time', 0, '', 'yes');
1135
 
1136
  add_option('ecwid_show_vote_message', true);
1137
 
1138
+ add_option("ecwid_sso_secret_key", '', '', 'yes');
1139
 
1140
  add_option("ecwid_installation_date", time());
1141
 
1143
  // Does not affect updates, automatically turned on for new users only
1144
  add_option("ecwid_advanced_theme_layout", get_option('ecwid_store_id') == ECWID_DEMO_STORE_ID ? 'Y' : 'N', 'yes');
1145
 
1146
+ add_option('ecwid_oauth_client_id', 'RD4o2KQimiGUrFZc');
1147
+ add_option('ecwid_oauth_client_secret', 'jEPVdcA3KbzKVrG8FZDgNnsY3wKHDTF8');
1148
+
1149
+ $id = get_option("ecwid_store_page_id");
1150
  $_tmp_page = null;
1151
  if (!empty($id) and ($id > 0)) {
1152
  $_tmp_page = get_post($id);
1158
  wp_update_post( $my_post );
1159
 
1160
  } else {
1161
+ ecwid_load_textdomain();
1162
  $my_post['post_title'] = __('Store', 'ecwid-shopping-cart');
1163
  $my_post['post_content'] = $content;
1164
  $my_post['post_status'] = 'publish';
1168
  $id = wp_insert_post( $my_post );
1169
  update_option('ecwid_store_page_id', $id);
1170
 
1171
+ if (ecwid_get_theme_identification() == 'Responsive') {
1172
  update_post_meta($id, '_wp_page_template', 'full-width-page.php');
1173
  update_option("ecwid_show_search_box", 'Y');
1174
  }
1208
  Ecwid_Message_Manager::reset_hidden_messages();
1209
  }
1210
 
1211
+ function ecwid_uninstall() {
1212
+ delete_option("ecwid_store_page_id");
1213
+ delete_option("ecwid_store_page_id_auto");
1214
+ delete_option("ecwid_store_id");
1215
+ delete_option("ecwid_enable_minicart");
1216
+ delete_option("ecwid_show_categories");
1217
+ delete_option("ecwid_show_search_box");
1218
+ delete_option("ecwid_pb_categoriesperrow");
1219
+ delete_option("ecwid_pb_productspercolumn_grid");
1220
+ delete_option("ecwid_pb_productsperrow_grid");
1221
+ delete_option("ecwid_pb_productsperpage_list");
1222
+ delete_option("ecwid_pb_productsperpage_table");
1223
+ delete_option("ecwid_pb_defaultview");
1224
+ delete_option("ecwid_pb_searchview");
1225
+ delete_option("ecwid_mobile_catalog_link");
1226
+ delete_option("ecwid_default_category_id");
1227
+ delete_option('ecwid_is_api_enabled');
1228
+ delete_option('ecwid_api_check_time');
1229
+ delete_option('ecwid_show_vote_message');
1230
+ delete_option("ecwid_sso_secret_key");
1231
+ delete_option("ecwid_installation_date");
1232
+ delete_option('ecwid_hide_appearance_menu');
1233
+ delete_option("ecwid_advanced_theme_layout");
1234
+ delete_option('ecwid_oauth_client_id');
1235
+ delete_option('ecwid_oauth_client_secret');
1236
+ }
1237
+
1238
  function ecwid_abs_intval($value) {
1239
  if (!is_null($value))
1240
  return abs(intval($value));
1280
  );
1281
  }
1282
 
1283
+ if (!$is_newbie || (isset($_GET['page']) && $_GET['page'] == 'ecwid-advanced')) {
1284
  add_submenu_page(
1285
  'ecwid',
1286
  __('Advanced settings', 'ecwid-shopping-cart'),
1300
  if (version_compare(get_bloginfo('version'), '3.8-beta') > 0) {
1301
  wp_enqueue_style('ecwid-admin38-css', plugins_url('ecwid-shopping-cart/css/admin.3.8.css'), array('ecwid-admin-css'), '', 'all');
1302
  }
1303
+
1304
+ if (isset($_GET['page']) && $_GET['page'] == 'ecwid') {
1305
+
1306
+ if (get_option('ecwid_store_id') == ECWID_DEMO_STORE_ID) {
1307
+ // Open dashboard for the first time, ecwid store id is set to demo => need landing styles/scripts
1308
+ wp_enqueue_script('ecwid-landing-js', plugins_url('ecwid-shopping-cart/js/landing.js'));
1309
+ wp_enqueue_style('ecwid-landing-css', plugins_url('ecwid-shopping-cart/css/landing.css'), array(), '', 'all');
1310
+ wp_enqueue_style('ecwid-landing-fonts', 'http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300');
1311
+ } else {
1312
+ // We already connected and disconnected the store, no need for fancy landing
1313
+ wp_enqueue_script('ecwid-connect-js', plugins_url('ecwid-shopping-cart/js/dashboard.js'));
1314
+ }
1315
+ }
1316
  }
1317
 
1318
  function ecwid_register_settings_styles($hook_suffix) {
1319
 
1320
+ if ( ($hook_suffix != 'post.php' && $hook_suffix != 'post_new.php') && strpos($hook_suffix, 'ecwid') === false) return;
1321
 
1322
  wp_enqueue_style('ecwid-settings-pure-css', plugins_url('ecwid-shopping-cart/css/pure-min.css'), array(), '', 'all');
1323
  wp_enqueue_style('ecwid-settings-css', plugins_url('ecwid-shopping-cart/css/settings.css'), array(), '', 'all');
1335
  return $links;
1336
  }
1337
 
 
1338
  function ecwid_settings_api_init() {
1339
 
1340
  if (isset($_POST['settings_section'])) switch ($_POST['settings_section']) {
1379
  wp_enqueue_script('ecwid-modernizr-js', plugins_url('ecwid-shopping-cart/js/modernizr.js'));
1380
  }
1381
 
1382
+ function ecwid_general_settings_do_page() {
1383
 
1384
+ if (get_option('ecwid_store_id') == ECWID_DEMO_STORE_ID) {
1385
+ global $ecwid_oauth;
1386
 
1387
+ $connection_error = isset($_GET['connection_error']);
1388
+ $register = !$connection_error && !isset($_GET['connect']) && !@$_COOKIE['ecwid_create_store_clicked'];
1389
 
1390
+ require_once(ECWID_PLUGIN_DIR . '/templates/landing.php');
 
1391
  } else {
1392
+
1393
+ if (get_ecwid_store_id() == ECWID_DEMO_STORE_ID) {
1394
+ global $ecwid_oauth;
1395
+ $connection_error = isset($_GET['connection_error']);
1396
+
1397
+ require_once ECWID_PLUGIN_DIR . '/templates/connect.php';
1398
+ } else {
1399
+ require_once ECWID_PLUGIN_DIR . '/templates/dashboard.php';
1400
+ }
1401
  }
1402
  }
1403
 
1407
  $api = ecwid_new_product_api();
1408
  $categories = $api->get_all_categories();
1409
  $by_id = array();
1410
+ if (is_array($categories)) {
1411
+ foreach ($categories as $key => $category) {
1412
+ $by_id[$category['id']] = $category;
1413
+ }
1414
  }
1415
  unset($categories);
1416
 
1446
  function ecwid_advanced_settings_do_page() {
1447
  $categories = ecwid_get_categories_for_selector();
1448
 
1449
+ require_once ECWID_PLUGIN_DIR . '/templates/advanced-settings.php';
1450
  }
1451
 
1452
  function ecwid_appearance_settings_do_page() {
1840
  echo '<script data-cfasync="false" type="text/javascript"> xSearchPanel("style="); </script>';
1841
 
1842
  echo '</div>';
 
1843
 
1844
  echo $after_widget;
1845
  }
1941
 
1942
  }
1943
 
1944
+ class EcwidRecentlyViewedWidget extends WP_Widget {
1945
+
1946
+ var $max = 10;
1947
+ var $min = 1;
1948
+ var $default = 3;
1949
+ function EcwidRecentlyViewedWidget() {
1950
+ $widget_ops = array('classname' => 'widget_ecwid_recently_viewed', 'description' => __('A list of products recently viewed by a customer. Add this widget to the sidebar to let them later return to the products they saw in your shop.', 'ecwid-shopping-cart'));
1951
+ $this->WP_Widget('ecwidrecentlyviewed', __('Recently Viewed Products', 'ecwid-shopping-cart'), $widget_ops);
1952
+ $recently_viewed = json_decode(stripslashes(@$_COOKIE['ecwid-shopping-cart-recently-viewed']));
1953
+
1954
+ if ($recently_viewed && $recently_viewed->store_id != get_ecwid_store_id()) {
1955
+ setcookie('ecwid-shopping-cart-recently-viewed', null, strftime('-1 day'));
1956
+ }
1957
+
1958
+ }
1959
+
1960
+ function widget($args, $instance) {
1961
+
1962
+ wp_enqueue_script('ecwid-recently-viewed-js', plugins_url('ecwid-shopping-cart/js/recently-viewed.js'), array('jquery', 'utils', 'ecwid-products-list-js'));
1963
+ wp_enqueue_style('ecwid-products-list-css');
1964
+ wp_enqueue_style('ecwid-recently-viewed-css', plugins_url('ecwid-shopping-cart/css/recently-viewed.css'));
1965
+ extract($args);
1966
+
1967
+ $title = apply_filters('widget_title', empty($instance['title']) ? '&nbsp;' : $instance['title']);
1968
+
1969
+ echo $before_widget;
1970
+
1971
+ if ( $title )
1972
+ echo $before_title . $title . $after_title;
1973
+
1974
+ echo ecwid_get_scriptjs_code();
1975
+
1976
+ $recently_viewed = false;
1977
+ if (isset($_COOKIE['ecwid-shopping-cart-recently-viewed'])) {
1978
+ $recently_viewed = json_decode($_COOKIE['ecwid-shopping-cart-recently-viewed']);
1979
+ }
1980
+ $recently_viewed = json_decode(stripslashes($_COOKIE['ecwid-shopping-cart-recently-viewed']));
1981
+
1982
+ if ($recently_viewed && $recently_viewed->store_id != get_ecwid_store_id()) {
1983
+ $recently_viewed = null;
1984
+ }
1985
+
1986
+ echo '<div class="ecwid-recently-viewed-products" data-ecwid-max="' . $instance['number_of_products'] . '">';
1987
+
1988
+ $ids = array();
1989
+ if ($recently_viewed && isset($recently_viewed->products)) {
1990
+
1991
+ for ($i = count($recently_viewed->products) - 1; $i >= 0; $i--) {
1992
+ $product = $recently_viewed->products[$i];
1993
+ $counter++;
1994
+ if (isset($product->id) && isset($product->link)) {
1995
+ $ids[] = $product->id;
1996
+ $hide = $counter > $instance['number_of_products'] ? ' hidden' : '';
1997
+ echo <<<HTML
1998
+ <a class="product$hide" href="$product->link" alt="$product->name" title="$product->name">
1999
+ <div class="ecwid ecwid-SingleProduct ecwid-Product ecwid-Product-$product->id" data-single-product-link="$product->link" itemscope itemtype="http://schema.org/Product" data-single-product-id="$product->id">
2000
+ <div itemprop="image"></div>
2001
+ <div class="ecwid-title" itemprop="name"></div>
2002
+ <div itemtype="http://schema.org/Offer" itemscope itemprop="offers"><div class="ecwid-productBrowser-price ecwid-price" itemprop="price"></div></div>
2003
+ </div>
2004
+ <script type="text/javascript">xSingleProduct();</script>
2005
+ </a>
2006
+ HTML;
2007
+ }
2008
+ }
2009
+ } else {
2010
+ echo <<<HTML
2011
+ <script type="text/javascript">
2012
+ jQuery(document).ready(function() {
2013
+ wpCookies.remove('ecwid-shopping-cart-recently-viewed');
2014
+ recently_viewed = {products: []};
2015
+ });
2016
+ </script>
2017
+ HTML;
2018
+ }
2019
+ $ids_string = '';
2020
+ if (!empty($ids)) {
2021
+ $ids_string = implode(',', $ids);
2022
+ }
2023
+
2024
+ echo <<<HTML
2025
+ <script type="text/javascript">
2026
+ <!--
2027
+ jQuery(document).ready(function() {
2028
+ jQuery('#$this->id .ecwid-recently-viewed-products').recentlyViewedProducts();
2029
+ });
2030
+ -->
2031
+ </script>
2032
+ HTML;
2033
+
2034
+ echo "</div>";
2035
+
2036
+ echo $after_widget;
2037
+ }
2038
+
2039
+ function update($new_instance, $old_instance){
2040
+ $instance = $old_instance;
2041
+ $instance['title'] = strip_tags(stripslashes($new_instance['title']));
2042
+ $num = intval($new_instance['number_of_products']);
2043
+ if ($num > $this->max || $num < $this->min) {
2044
+ $num = $this->default;
2045
+ }
2046
+ $instance['number_of_products'] = intval($new_instance['number_of_products']);
2047
+
2048
+ return $instance;
2049
+ }
2050
+
2051
+ function form($instance){
2052
+ $instance = wp_parse_args( (array) $instance,
2053
+ array(
2054
+ 'title' => __('Recently Viewed Products', 'ecwid-shopping-cart'),
2055
+ 'number_of_products' => 3
2056
+ )
2057
+ );
2058
+
2059
+ $title = htmlspecialchars($instance['title']);
2060
+ $number_of_products = $instance['number_of_products'];
2061
+ if ($number_of_products)
2062
+
2063
+ echo '<p><label for="' . $this->get_field_name('title') . '">' . __('Title') . ': <input style="width:100%;" id="' . $this->get_field_id('title') . '" name="' . $this->get_field_name('title') . '" type="text" value="' . $title . '" /></label></p>';
2064
+ echo '<p><label for="' . $this->get_field_name('number_of_products') . '">' . __( 'Number of products to show', 'ecwid-shopping-cart' ) . ': <input style="width:100%;" id="' . $this->get_field_id('number_of_products') . '" name="' . $this->get_field_name('number_of_products') . '" type="number" min="' . $this->min . '" max="' . $this->max . '" value="' . $number_of_products . '" /></label></p>';
2065
+ }
2066
+
2067
+ function is_valid_number_of_products($num) {
2068
+ return is_numeric($num) && $num <= $this->max && $num >= $this->min;
2069
+ }
2070
+ }
2071
+
2072
 
2073
  function ecwid_send_stats()
2074
  {
2110
  $stats = array();
2111
 
2112
  $stats['version'] = get_bloginfo('version');
2113
+ $stats['theme'] = ecwid_get_theme_identification();
2114
 
2115
  include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
2116
 
2130
  'ecwid_product_advisor_used',
2131
  'ecwid_single_product_used',
2132
  'ecwid_store_shortcode_used',
2133
+ 'store_link_widget',
2134
+ 'recently_viewed_widget',
2135
+ 'avalanche_used'
2136
  );
2137
 
2138
  $usage_stats = ecwid_gather_usage_stats();
2166
  'ecwid_product_advisor_used',
2167
  'ecwid_single_product_used',
2168
  'ecwid_store_shortcode_used',
2169
+ 'store_link_widget',
2170
+ 'recently_viewed_widget',
2171
+ 'avalanche_used'
2172
  );
2173
 
2174
  $usage_stats = array();
2188
  $usage_stats['ecwid_single_product_used'] = (bool) (get_option('ecwid_single_product_used') + 60*60*24*14 > time());
2189
  $usage_stats['ecwid_store_shortcode_used'] = (bool) (get_option('ecwid_store_shortcode_used') + 60*60*24*14 > time());
2190
  $usage_stats['store_link_widget'] = (bool) is_active_widget(false, false, 'ecwidstorelink');
2191
+ $usage_stats['recently_viewed_widget'] = (bool) is_active_widget(false, false, 'ecwidrecentlyviewed');
2192
+ $usage_stats['avalanche_used'] = (bool) is_plugin_active('ecwid-widgets-avalanche/ecwid_widgets_avalanche.php');
2193
 
2194
  return $usage_stats;
2195
  }
2201
  register_widget('EcwidMinicartMiniViewWidget');
2202
  register_widget('EcwidBadgeWidget');
2203
  register_widget('EcwidStoreLinkWidget');
2204
+ register_widget('EcwidRecentlyViewedWidget');
2205
  }
2206
 
2207
  add_action('widgets_init', 'ecwid_sidebar_widgets_init');
fonts/ecwid-icons.eot CHANGED
Binary file
fonts/ecwid-icons.svg CHANGED
@@ -1,16 +1,17 @@
1
- <?xml version="1.0" standalone="no"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
- <svg xmlns="http://www.w3.org/2000/svg">
4
- <metadata>Generated by IcoMoon</metadata>
5
- <defs>
6
- <font id="icomoon" horiz-adv-x="1024">
7
- <font-face units-per-em="1024" ascent="960" descent="-64" />
8
- <missing-glyph horiz-adv-x="1024" />
9
- <glyph unicode="&#x20;" d="" horiz-adv-x="512" />
10
- <glyph unicode="&#xe600;" d="M349.556 716.335c21.876 0 41.425 16.291 41.425 38.633 0 101.935 16.291 126.604 118.225 126.604s118.225-24.669 118.225-126.604c0-21.876 19.084-38.633 41.425-38.633 21.876 0 38.633 16.291 38.633 38.633 0 63.302 2.793 206.196-198.284 206.196s-197.818-142.895-197.818-206.196c2.327-21.876 16.291-38.633 38.167-38.633zM1023.535 47.942l-126.604 602.298c-2.793 16.291-16.291 30.255-33.047 30.255h-703.767c-16.291 0-33.047-13.964-33.047-30.255l-126.604-602.298c-2.793-27.462 11.171-49.338 33.047-49.338h960.233c19.084 0 32.582 21.876 29.789 49.338zM333.265 521.31c-33.047 0-60.509 27.462-60.509 60.509s27.462 60.509 60.509 60.509 60.509-27.462 60.509-60.509-27.462-60.509-60.509-60.509zM690.735 521.31c-33.047 0-60.509 27.462-60.509 60.509s27.462 60.509 60.509 60.509c33.047 0 60.509-27.462 60.509-60.509s-27.462-60.509-60.509-60.509z" />
11
- <glyph unicode="&#xe601;" d="M976.524 884.364h-929.047c-26.065 0-47.476-23.273-47.476-54.458v-124.276c0-27.927 21.411-53.993 47.476-53.993h928.582c26.531 0 47.942 23.273 47.942 54.458v123.811c0 31.185-21.411 54.458-47.476 54.458zM976.524 558.546h-929.047c-26.065 0-47.476-23.273-47.476-54.458v-124.276c0-27.927 21.411-53.993 47.476-53.993h928.582c26.065 0 47.476 23.273 47.476 54.458v124.276c0.465 30.72-20.945 53.993-47.011 53.993zM976.524 232.728h-929.047c-26.065 0-47.476-23.273-47.476-54.458v-124.276c0-27.927 21.411-53.993 47.476-53.993h928.582c26.065 0 47.476 23.273 47.476 54.458v124.276c0.465 30.72-20.945 53.993-47.011 53.993z" />
12
- <glyph unicode="&#xe602;" d="M848.989 185.717c0-15.424-12.503-27.927-27.927-27.927s-27.927 12.503-27.927 27.927c0 15.424 12.503 27.927 27.927 27.927s27.927-12.503 27.927-27.927zM233.658 184.786c0-15.424-12.503-27.927-27.927-27.927s-27.927 12.503-27.927 27.927c0 15.424 12.503 27.927 27.927 27.927s27.927-12.503 27.927-27.927zM823.389 977.455h-622.778c-110.778 0-200.611-89.833-200.611-200.611v-623.244c0-110.313 89.833-200.145 200.611-200.145h623.244c110.778 0 200.611 89.833 200.611 200.611v622.778c-0.465 110.778-90.298 200.611-201.076 200.611zM642.793 683.288c21.411 0 39.098-17.222 39.098-39.098s-17.687-39.098-39.098-39.098c-21.411 0-39.098 17.222-39.098 39.098 0.465 21.876 17.687 39.098 39.098 39.098zM642.793 543.186c21.411 0 39.098-17.222 39.098-39.098 0-21.411-17.687-39.098-39.098-39.098s-39.098 17.222-39.098 39.098 17.687 39.098 39.098 39.098zM514.793 683.288c21.411 0 39.098-17.222 39.098-39.098 0-21.411-17.222-39.098-39.098-39.098-21.411 0-39.098 17.222-39.098 39.098 0.465 21.876 17.687 39.098 39.098 39.098zM514.793 543.186c21.411 0 39.098-17.222 39.098-39.098 0-21.411-17.222-39.098-39.098-39.098-21.411 0-39.098 17.222-39.098 39.098 0.465 21.876 17.687 39.098 39.098 39.098zM388.655 683.288c21.411 0 39.098-17.222 39.098-39.098 0-21.411-17.222-39.098-39.098-39.098-21.411 0-39.098 17.222-39.098 39.098s17.222 39.098 39.098 39.098zM388.655 543.186c21.411 0 39.098-17.222 39.098-39.098 0-21.411-17.222-39.098-39.098-39.098-21.411 0-39.098 17.222-39.098 39.098s17.222 39.098 39.098 39.098zM205.731 107.055c-42.822 0-77.731 34.909-77.731 77.731s34.909 78.196 77.731 78.196c43.287 0 78.196-34.909 78.196-78.196 0-42.822-34.909-77.731-78.196-77.731zM566.924 284.393c-37.236 0-51.665 15.825-53.527 20.945-1.862-5.12-15.36-20.945-52.596-20.945-39.098 0-40.495 0-81.92 0-48.873 0-124.742 25.6-147.084 103.796-22.807 77.731-54.458 194.56-68.887 246.691-14.429 52.596-16.291 56.32 8.844 56.32 22.807 0 70.284-3.258 85.644-56.32 14.895-53.062 44.684-153.6 56.32-192.698 16.756-55.855 63.302-61.44 93.556-61.44 40.96 0 63.302 1.396 63.302 33.978 13.033 0.465 33.047 0 42.356 0s29.324 0 42.356 0c0-31.185 22.342-34.444 63.302-33.978 47.011 0.465 84.247 12.567 101.935 71.215 15.825 53.527 59.578 221.556 77.731 294.633 10.705 43.753 63.767 48.873 84.713 48.873 24.669 0.465 15.825-20.015 1.862-75.404-15.36-62.371-56.785-237.847-82.851-317.905-25.6-77.265-88.436-118.225-155.927-118.225-41.425 0.465-40.495 0.465-79.127 0.465zM821.062 107.986c-43.287 0-78.196 34.909-78.196 78.196s34.909 78.196 78.196 78.196c42.822 0 78.196-34.909 78.196-78.196s-35.375-78.196-78.196-78.196z" />
13
- <glyph unicode="&#xe603;" d="M961.629 121.019c13.498-13.498 21.411-32.582 21.411-51.2 0-19.084-7.913-37.702-21.411-51.2-16.291-16.291-32.582-24.204-51.2-24.204-21.411 0-37.702 7.913-51.2 21.411l-200.145 197.353c-67.491-48.873-146.153-70.284-229.935-70.284-53.993 0-107.985 10.705-156.858 32.582-51.2 21.411-94.487 51.2-129.862 86.575-34.909 34.909-64.698 78.196-86.575 129.862s-32.582 102.865-32.582 156.858 10.705 107.985 32.582 156.858c21.411 51.2 51.2 94.487 86.575 129.862s78.196 64.698 129.862 86.575 102.865 32.582 156.858 32.582 107.985-10.705 156.858-32.582c51.2-21.411 94.487-51.2 129.862-86.575s64.698-78.196 86.575-129.862c21.411-51.2 32.582-102.865 32.582-156.858 0-83.782-24.204-161.978-70.284-229.935l196.887-197.818zM613.004 364.451c51.2 51.2 75.869 110.778 75.869 183.855 0 70.284-24.204 132.655-75.869 183.855s-110.778 75.869-183.855 75.869c-70.284 0-132.655-24.204-183.855-75.869s-75.404-110.778-75.404-183.855c0-70.284 24.204-132.655 75.869-183.855s110.778-75.869 183.855-75.869c69.818 0 132.189 26.996 183.389 75.869z" />
14
- <glyph unicode="&#xe604;" d="M50.735 50.735c0 9.309 7.447 16.756 16.756 16.756h890.88c9.309 0 16.756-7.447 16.756-16.756v-33.978c0-9.309-7.447-16.756-16.756-16.756h-891.345c-9.309 0-16.756 7.447-16.756 16.756v33.978zM977.455 608.815c-35.84 71.68-51.2 141.498-71.68 257.396 0 6.516-16.291 28.858-35.84 28.858h-715.869c-19.549 0-35.84-22.342-35.84-28.858 0 0-35.84-221.556-71.68-257.396 0-36.305 0-108.451 0-108.451s0.465-1.396 1.396-2.793h-1.396c0 0 3.258-17.687 25.6-27.927 3.258-1.862 6.516-3.258 10.24-4.189v-324.422c0-19.549 20.48-33.047 40.029-33.047h282.065v296.495c0 19.549 18.618 35.375 38.633 35.375h142.429c19.549 0 35.375-15.825 35.375-35.375v-296.495h284.858c19.549 0 35.375 13.498 35.375 33.047v324.422c28.393 4.655 35.84 33.047 35.84 33.047h-0.931c0.465 1.862 0.931 2.793 0.931 2.793s0.465 71.68 0.465 107.52zM327.215 250.415c0-19.549-8.844-35.84-28.393-35.84h-74.007c-19.549 0-28.858 16.291-28.858 35.84v143.36c0 19.549 9.309 35.84 28.858 35.84h74.007c19.549 0 28.393-16.291 28.393-35.84v-143.36zM827.113 250.415c0-19.549-7.913-35.84-27.462-35.84h-73.076c-19.549 0-28.858 16.291-28.858 35.84v143.36c0 19.549 9.309 35.84 28.858 35.84h73.076c19.549 0 27.462-16.291 27.462-35.84v-143.36zM833.629 829.44c0 0 38.167-181.993 61.44-220.625-35.375 0-97.745 0-97.745 0l-35.84 220.625h72.145zM898.327 572.975l-0.465-27.927c-3.258-24.669-24.204-43.753-49.804-43.753-27.927 0-50.269 16.756-50.269 44.684 0 0.931 1.396 26.996 1.396 26.996h99.142zM628.829 554.357v18.618h101.935l-0.465-28.393c-3.724-24.669-24.669-43.287-49.804-43.287-27.927 0-50.735 22.807-50.735 50.735 0 0.931 0 1.396 0.465 2.327h-1.396zM689.804 829.44c0 0 26.996-177.338 38.167-220.625 11.171 0-99.142 0-99.142 0l-10.705 220.625h71.68zM475.229 829.44h72.611l13.033-220.625h-97.745l12.102 220.625zM462.196 572.975h99.142l0.465-25.135c-1.862-26.065-23.738-46.545-50.269-46.545s-48.407 20.48-50.269 46.545l0.931 25.135zM331.869 829.44h71.68l-10.705-220.625c0 0-69.818 0-95.884 0 11.171 40.029 34.909 220.625 34.909 220.625zM294.633 572.975h99.142l0.931-18.618h-0.465c0-0.931 0.465-1.396 0.465-2.327 0-27.927-22.807-50.735-50.735-50.735-25.6 0-46.080 18.618-49.804 43.287l0.465 28.393zM190.371 829.44h69.818l-29.324-220.625c0 0-71.215 0-97.745 0 27.462 49.804 57.251 220.625 57.251 220.625zM126.604 572.975h99.142c0 0 0-20.015 0-20.945 0-27.927-22.807-50.735-50.735-50.735-24.669 0-45.615 17.687-49.804 41.425l1.396 30.255z" />
15
- <glyph unicode="&#xe605;" d="M865.745 109.848c-25.135-24.669-65.629-24.669-90.764 0l-267.636 263.913-272.756-268.567c-25.135-24.669-65.629-24.669-90.764 0s-25.135 64.698 0 89.367l268.567 264.378-269.033 264.378c-25.135 24.669-25.135 64.698 0 89.367s65.629 24.669 90.764 0l267.636-263.447 272.756 268.567c25.135 24.669 65.629 24.669 90.764 0s25.135-64.698 0-89.367l-268.567-264.378 268.567-264.844c25.135-24.669 25.135-64.698 0.465-89.367z" />
 
16
  </font></defs></svg>
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Generated by IcoMoon</metadata>
5
+ <defs>
6
+ <font id="icomoon" horiz-adv-x="1024">
7
+ <font-face units-per-em="1024" ascent="960" descent="-64" />
8
+ <missing-glyph horiz-adv-x="1024" />
9
+ <glyph unicode="&#x20;" d="" horiz-adv-x="512" />
10
+ <glyph unicode="&#xe600;" d="M930.909 605.091h-837.818c-20.945 0-46.545-17.222-46.545-38.633v-62.836c0-20.945 25.6-38.167 46.545-38.167h346.298v101.004h153.6v-101.004h337.92c20.945 0 46.545 17.222 46.545 38.633v60.044c0 20.945-25.6 40.96-46.545 40.96zM823.855 902.517c-50.269 50.269-89.833 31.651-115.433 0-46.545-58.647-95.418-103.331-125.207-128.465-6.982 7.913-17.222 13.033-28.393 13.033h-76.8c-11.171 0-21.411-5.12-28.393-13.033-29.789 25.135-78.662 69.818-125.207 128.465-25.6 31.651-65.164 50.269-115.433 0-180.131-180.131 59.113-227.607 98.676-227.607h84.247c0 0-202.938 88.436-140.102 164.771 26.531 32.116 48.407 8.844 83.316-13.964 34.444-22.342 79.127-44.684 109.382-58.647-2.793-5.585-5.12-11.636-5.12-18.153v-38.633c0-20.945 17.222-38.633 38.633-38.633h76.8c20.945 0 38.633 17.222 38.633 38.633v38.633c0 6.516-2.327 12.567-5.12 17.687 30.255 14.429 75.404 36.771 109.847 59.113 34.909 22.807 56.785 45.615 83.316 13.498 62.836-75.869-140.102-164.771-140.102-164.771h84.247c39.098 0.465 278.342 47.942 98.211 228.073zM439.389 410.997c0 0-307.2 0-345.833 0v-372.364c0-20.945 17.222-38.633 38.633-38.633h307.2v410.996zM592.989 410.997v-410.996h299.287c20.945 0 38.633 17.222 38.633 38.633v372.364c-38.633 0-337.92 0-337.92 0z" />
11
+ <glyph unicode="&#xe601;" d="M349.556 716.335c21.876 0 41.425 16.291 41.425 38.633 0 101.935 16.291 126.604 118.225 126.604s118.225-24.669 118.225-126.604c0-21.876 19.084-38.633 41.425-38.633 21.876 0 38.633 16.291 38.633 38.633 0 63.302 2.793 206.196-198.284 206.196s-197.818-142.895-197.818-206.196c2.327-21.876 16.291-38.633 38.167-38.633zM1023.535 47.942l-126.604 602.298c-2.793 16.291-16.291 30.255-33.047 30.255h-703.767c-16.291 0-33.047-13.964-33.047-30.255l-126.604-602.298c-2.793-27.462 11.171-49.338 33.047-49.338h960.233c19.084 0 32.582 21.876 29.789 49.338zM333.265 521.31c-33.047 0-60.509 27.462-60.509 60.509s27.462 60.509 60.509 60.509 60.509-27.462 60.509-60.509-27.462-60.509-60.509-60.509zM690.735 521.31c-33.047 0-60.509 27.462-60.509 60.509s27.462 60.509 60.509 60.509c33.047 0 60.509-27.462 60.509-60.509s-27.462-60.509-60.509-60.509z" />
12
+ <glyph unicode="&#xe602;" d="M976.524 884.364h-929.047c-26.065 0-47.476-23.273-47.476-54.458v-124.276c0-27.927 21.411-53.993 47.476-53.993h928.582c26.531 0 47.942 23.273 47.942 54.458v123.811c0 31.185-21.411 54.458-47.476 54.458zM976.524 558.546h-929.047c-26.065 0-47.476-23.273-47.476-54.458v-124.276c0-27.927 21.411-53.993 47.476-53.993h928.582c26.065 0 47.476 23.273 47.476 54.458v124.276c0.465 30.72-20.945 53.993-47.011 53.993zM976.524 232.728h-929.047c-26.065 0-47.476-23.273-47.476-54.458v-124.276c0-27.927 21.411-53.993 47.476-53.993h928.582c26.065 0 47.476 23.273 47.476 54.458v124.276c0.465 30.72-20.945 53.993-47.011 53.993z" />
13
+ <glyph unicode="&#xe603;" d="M848.989 185.717c0-15.424-12.503-27.927-27.927-27.927s-27.927 12.503-27.927 27.927c0 15.424 12.503 27.927 27.927 27.927s27.927-12.503 27.927-27.927zM233.658 184.786c0-15.424-12.503-27.927-27.927-27.927s-27.927 12.503-27.927 27.927c0 15.424 12.503 27.927 27.927 27.927s27.927-12.503 27.927-27.927zM823.389 977.455h-622.778c-110.778 0-200.611-89.833-200.611-200.611v-623.244c0-110.313 89.833-200.145 200.611-200.145h623.244c110.778 0 200.611 89.833 200.611 200.611v622.778c-0.465 110.778-90.298 200.611-201.076 200.611zM642.793 683.288c21.411 0 39.098-17.222 39.098-39.098s-17.687-39.098-39.098-39.098c-21.411 0-39.098 17.222-39.098 39.098 0.465 21.876 17.687 39.098 39.098 39.098zM642.793 543.186c21.411 0 39.098-17.222 39.098-39.098 0-21.411-17.687-39.098-39.098-39.098s-39.098 17.222-39.098 39.098 17.687 39.098 39.098 39.098zM514.793 683.288c21.411 0 39.098-17.222 39.098-39.098 0-21.411-17.222-39.098-39.098-39.098-21.411 0-39.098 17.222-39.098 39.098 0.465 21.876 17.687 39.098 39.098 39.098zM514.793 543.186c21.411 0 39.098-17.222 39.098-39.098 0-21.411-17.222-39.098-39.098-39.098-21.411 0-39.098 17.222-39.098 39.098 0.465 21.876 17.687 39.098 39.098 39.098zM388.655 683.288c21.411 0 39.098-17.222 39.098-39.098 0-21.411-17.222-39.098-39.098-39.098-21.411 0-39.098 17.222-39.098 39.098s17.222 39.098 39.098 39.098zM388.655 543.186c21.411 0 39.098-17.222 39.098-39.098 0-21.411-17.222-39.098-39.098-39.098-21.411 0-39.098 17.222-39.098 39.098s17.222 39.098 39.098 39.098zM205.731 107.055c-42.822 0-77.731 34.909-77.731 77.731s34.909 78.196 77.731 78.196c43.287 0 78.196-34.909 78.196-78.196 0-42.822-34.909-77.731-78.196-77.731zM566.924 284.393c-37.236 0-51.665 15.825-53.527 20.945-1.862-5.12-15.36-20.945-52.596-20.945-39.098 0-40.495 0-81.92 0-48.873 0-124.742 25.6-147.084 103.796-22.807 77.731-54.458 194.56-68.887 246.691-14.429 52.596-16.291 56.32 8.844 56.32 22.807 0 70.284-3.258 85.644-56.32 14.895-53.062 44.684-153.6 56.32-192.698 16.756-55.855 63.302-61.44 93.556-61.44 40.96 0 63.302 1.396 63.302 33.978 13.033 0.465 33.047 0 42.356 0s29.324 0 42.356 0c0-31.185 22.342-34.444 63.302-33.978 47.011 0.465 84.247 12.567 101.935 71.215 15.825 53.527 59.578 221.556 77.731 294.633 10.705 43.753 63.767 48.873 84.713 48.873 24.669 0.465 15.825-20.015 1.862-75.404-15.36-62.371-56.785-237.847-82.851-317.905-25.6-77.265-88.436-118.225-155.927-118.225-41.425 0.465-40.495 0.465-79.127 0.465zM821.062 107.986c-43.287 0-78.196 34.909-78.196 78.196s34.909 78.196 78.196 78.196c42.822 0 78.196-34.909 78.196-78.196s-35.375-78.196-78.196-78.196z" />
14
+ <glyph unicode="&#xe604;" d="M961.629 121.019c13.498-13.498 21.411-32.582 21.411-51.2 0-19.084-7.913-37.702-21.411-51.2-16.291-16.291-32.582-24.204-51.2-24.204-21.411 0-37.702 7.913-51.2 21.411l-200.145 197.353c-67.491-48.873-146.153-70.284-229.935-70.284-53.993 0-107.985 10.705-156.858 32.582-51.2 21.411-94.487 51.2-129.862 86.575-34.909 34.909-64.698 78.196-86.575 129.862s-32.582 102.865-32.582 156.858 10.705 107.985 32.582 156.858c21.411 51.2 51.2 94.487 86.575 129.862s78.196 64.698 129.862 86.575 102.865 32.582 156.858 32.582 107.985-10.705 156.858-32.582c51.2-21.411 94.487-51.2 129.862-86.575s64.698-78.196 86.575-129.862c21.411-51.2 32.582-102.865 32.582-156.858 0-83.782-24.204-161.978-70.284-229.935l196.887-197.818zM613.004 364.451c51.2 51.2 75.869 110.778 75.869 183.855 0 70.284-24.204 132.655-75.869 183.855s-110.778 75.869-183.855 75.869c-70.284 0-132.655-24.204-183.855-75.869s-75.404-110.778-75.404-183.855c0-70.284 24.204-132.655 75.869-183.855s110.778-75.869 183.855-75.869c69.818 0 132.189 26.996 183.389 75.869z" />
15
+ <glyph unicode="&#xe605;" d="M50.735 50.735c0 9.309 7.447 16.756 16.756 16.756h890.88c9.309 0 16.756-7.447 16.756-16.756v-33.978c0-9.309-7.447-16.756-16.756-16.756h-891.345c-9.309 0-16.756 7.447-16.756 16.756v33.978zM977.455 608.815c-35.84 71.68-51.2 141.498-71.68 257.396 0 6.516-16.291 28.858-35.84 28.858h-715.869c-19.549 0-35.84-22.342-35.84-28.858 0 0-35.84-221.556-71.68-257.396 0-36.305 0-108.451 0-108.451s0.465-1.396 1.396-2.793h-1.396c0 0 3.258-17.687 25.6-27.927 3.258-1.862 6.516-3.258 10.24-4.189v-324.422c0-19.549 20.48-33.047 40.029-33.047h282.065v296.495c0 19.549 18.618 35.375 38.633 35.375h142.429c19.549 0 35.375-15.825 35.375-35.375v-296.495h284.858c19.549 0 35.375 13.498 35.375 33.047v324.422c28.393 4.655 35.84 33.047 35.84 33.047h-0.931c0.465 1.862 0.931 2.793 0.931 2.793s0.465 71.68 0.465 107.52zM327.215 250.415c0-19.549-8.844-35.84-28.393-35.84h-74.007c-19.549 0-28.858 16.291-28.858 35.84v143.36c0 19.549 9.309 35.84 28.858 35.84h74.007c19.549 0 28.393-16.291 28.393-35.84v-143.36zM827.113 250.415c0-19.549-7.913-35.84-27.462-35.84h-73.076c-19.549 0-28.858 16.291-28.858 35.84v143.36c0 19.549 9.309 35.84 28.858 35.84h73.076c19.549 0 27.462-16.291 27.462-35.84v-143.36zM833.629 829.44c0 0 38.167-181.993 61.44-220.625-35.375 0-97.745 0-97.745 0l-35.84 220.625h72.145zM898.327 572.975l-0.465-27.927c-3.258-24.669-24.204-43.753-49.804-43.753-27.927 0-50.269 16.756-50.269 44.684 0 0.931 1.396 26.996 1.396 26.996h99.142zM628.829 554.357v18.618h101.935l-0.465-28.393c-3.724-24.669-24.669-43.287-49.804-43.287-27.927 0-50.735 22.807-50.735 50.735 0 0.931 0 1.396 0.465 2.327h-1.396zM689.804 829.44c0 0 26.996-177.338 38.167-220.625 11.171 0-99.142 0-99.142 0l-10.705 220.625h71.68zM475.229 829.44h72.611l13.033-220.625h-97.745l12.102 220.625zM462.196 572.975h99.142l0.465-25.135c-1.862-26.065-23.738-46.545-50.269-46.545s-48.407 20.48-50.269 46.545l0.931 25.135zM331.869 829.44h71.68l-10.705-220.625c0 0-69.818 0-95.884 0 11.171 40.029 34.909 220.625 34.909 220.625zM294.633 572.975h99.142l0.931-18.618h-0.465c0-0.931 0.465-1.396 0.465-2.327 0-27.927-22.807-50.735-50.735-50.735-25.6 0-46.080 18.618-49.804 43.287l0.465 28.393zM190.371 829.44h69.818l-29.324-220.625c0 0-71.215 0-97.745 0 27.462 49.804 57.251 220.625 57.251 220.625zM126.604 572.975h99.142c0 0 0-20.015 0-20.945 0-27.927-22.807-50.735-50.735-50.735-24.669 0-45.615 17.687-49.804 41.425l1.396 30.255z" />
16
+ <glyph unicode="&#xe606;" d="M865.745 109.848c-25.135-24.669-65.629-24.669-90.764 0l-267.636 263.913-272.756-268.567c-25.135-24.669-65.629-24.669-90.764 0s-25.135 64.698 0 89.367l268.567 264.378-269.033 264.378c-25.135 24.669-25.135 64.698 0 89.367s65.629 24.669 90.764 0l267.636-263.447 272.756 268.567c25.135 24.669 65.629 24.669 90.764 0s25.135-64.698 0-89.367l-268.567-264.378 268.567-264.844c25.135-24.669 25.135-64.698 0.465-89.367z" />
17
  </font></defs></svg>
fonts/ecwid-icons.ttf CHANGED
Binary file
fonts/ecwid-icons.woff CHANGED
Binary file
images/ecwid_logo_symbol_RGB.svg ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
3
+ width="500px" height="500px" viewBox="0 0 500 500" enable-background="new 0 0 500 500" xml:space="preserve">
4
+ <g>
5
+ <path fill="#007AC9" d="M488.655,395.221c0,51.613-41.821,93.435-93.435,93.435H104.784c-51.595,0-93.44-41.821-93.44-93.435
6
+ V104.792c0-51.595,41.846-93.447,93.44-93.447h290.437c51.613,0,93.435,41.852,93.435,93.447V395.221z"/>
7
+ <g>
8
+ <path fill="#FFFFFF" d="M385.354,279.303c12.294-37.304,31.492-119.104,38.734-148.208c6.396-25.745,10.59-35.345-0.971-35.151
9
+ c-9.681,0.168-34.354,2.532-39.469,22.901c-8.498,34.025-28.816,112.391-36.257,137.288c-8.188,27.375-25.595,33.1-47.521,33.299
10
+ c-19.087,0.137-29.589-1.331-29.589-15.864c-6.097-0.125-15.491-0.051-19.809-0.024c-4.306-0.025-13.701-0.101-19.798,0.024
11
+ c0,15.292-10.501,15.864-29.602,15.864c-14.185,0-35.724-2.649-43.587-28.655c-5.5-18.13-19.237-65.052-26.267-89.838
12
+ c-7.08-24.774-29.247-26.18-39.892-26.217c-11.69-0.05-10.764,1.841-4.007,26.217c6.731,24.388,21.527,78.776,31.873,115.221
13
+ c10.372,36.435,45.883,48.315,68.554,48.315c19.473,0,20.17,0,38.287,0c17.396,0,23.505-7.453,24.438-9.817
14
+ c0.933,2.364,7.651,9.817,25.034,9.817c18.154,0,17.656,0,37.117,0C344.168,334.475,373.521,315.312,385.354,279.303z"/>
15
+ <path fill="#FFFFFF" d="M192.415,184.674c10.017,0,18.13-8.125,18.13-18.117c0-10.029-8.113-18.154-18.13-18.154
16
+ c-10.029,0-18.129,8.125-18.129,18.154C174.285,176.549,182.385,184.674,192.415,184.674z"/>
17
+ <path fill="#FFFFFF" d="M251.344,184.674c10.004,0,18.154-8.125,18.154-18.117c0-10.029-8.15-18.154-18.154-18.154
18
+ c-10.004,0-18.129,8.125-18.129,18.154C233.214,176.549,241.339,184.674,251.344,184.674z"/>
19
+ <path fill="#FFFFFF" d="M311.045,184.674c9.992,0,18.143-8.125,18.143-18.117c0-10.029-8.148-18.154-18.143-18.154
20
+ c-10.017,0-18.129,8.125-18.129,18.154C292.916,176.549,301.028,184.674,311.045,184.674z"/>
21
+ <path fill="#FFFFFF" d="M192.415,250c10.017,0,18.13-8.125,18.13-18.129c0-10.017-8.113-18.143-18.13-18.143
22
+ c-10.029,0-18.129,8.125-18.129,18.143C174.285,241.875,182.385,250,192.415,250z"/>
23
+ <path fill="#FFFFFF" d="M251.344,250c10.004,0,18.154-8.125,18.154-18.129c0-10.017-8.15-18.143-18.154-18.143
24
+ c-10.004,0-18.129,8.125-18.129,18.143C233.214,241.875,241.339,250,251.344,250z"/>
25
+ <path fill="#FFFFFF" d="M311.045,250c9.992,0,18.143-8.125,18.143-18.129c0-10.017-8.148-18.143-18.143-18.143
26
+ c-10.017,0-18.129,8.125-18.129,18.143C292.916,241.875,301.028,250,311.045,250z"/>
27
+ <path fill="#FFFFFF" d="M107.317,344.441c-20.046,0-36.34,16.312-36.34,36.384c0,20.058,16.294,36.321,36.34,36.321
28
+ c20.095,0,36.358-16.264,36.358-36.321C143.675,360.756,127.413,344.441,107.317,344.441z M107.317,393.865
29
+ c-7.18,0-13.028-5.836-13.028-13.04c0-7.205,5.848-13.04,13.028-13.04c7.204,0,13.046,5.835,13.046,13.04
30
+ C120.363,388.029,114.521,393.865,107.317,393.865z"/>
31
+ <path fill="#FFFFFF" d="M394.051,344.006c-20.069,0-36.369,16.289-36.369,36.348c0,20.045,16.3,36.383,36.369,36.383
32
+ c20.07,0,36.347-16.338,36.347-36.383C430.397,360.295,414.123,344.006,394.051,344.006z M394.051,393.393
33
+ c-7.191,0-13.039-5.836-13.039-13.04c0-7.205,5.848-13.041,13.039-13.041c7.192,0,13.041,5.836,13.041,13.041
34
+ C407.092,387.557,401.244,393.393,394.051,393.393z"/>
35
+ </g>
36
+ </g>
37
+ </svg>
images/landing/arrow.png ADDED
Binary file
images/landing/background-think.jpg ADDED
Binary file
images/landing/correct.svg ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 70 70" style="enable-background:new 0 0 70 70;" xml:space="preserve">
5
+ <g>
6
+ <path fill="#59BB00" d="M26.474,70c-2.176,0-4.234-1.018-5.557-2.764L3.049,43.639C0.725,40.57,1.33,36.2,4.399,33.875
7
+ c3.074-2.326,7.441-1.717,9.766,1.35l11.752,15.518L55.474,3.285c2.035-3.265,6.332-4.264,9.604-2.232
8
+ c3.268,2.034,4.266,6.334,2.23,9.602l-34.916,56.06c-1.213,1.949-3.307,3.175-5.6,3.279C26.685,69.998,26.58,70,26.474,70z"/>
9
+ </g>
10
+ </svg>
images/landing/dollar-active.svg ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 68.24 69.41" enable-background="new 0 0 68.24 69.41" xml:space="preserve">
5
+ <g>
6
+ <path fill="#59BB00" d="M33.4,54.68v-4.79c-3.38-0.15-6.66-1.06-8.57-2.17l1.51-5.9c2.12,1.16,5.09,2.22,8.37,2.22
7
+ c2.87,0,4.84-1.11,4.84-3.12c0-1.92-1.61-3.13-5.34-4.39c-5.39-1.81-9.08-4.34-9.08-9.23c0-4.44,3.13-7.92,8.52-8.97v-4.79h4.94
8
+ v4.44c3.38,0.15,5.65,0.86,7.31,1.66l-1.46,5.7c-1.31-0.55-3.63-1.71-7.26-1.71c-3.28,0-4.34,1.41-4.34,2.82
9
+ c0,1.66,1.76,2.72,6.05,4.34c6,2.12,8.42,4.89,8.42,9.43c0,4.49-3.18,8.32-8.97,9.33v5.14H33.4z"/>
10
+ </g>
11
+ </svg>
images/landing/dollar.svg ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 68.24 69.41" enable-background="new 0 0 68.24 69.41" xml:space="preserve">
5
+ <g>
6
+ <path fill="#0079C8" d="M33.4,54.68v-4.79c-3.38-0.15-6.66-1.06-8.57-2.17l1.51-5.9c2.12,1.16,5.09,2.22,8.37,2.22
7
+ c2.87,0,4.84-1.11,4.84-3.12c0-1.92-1.61-3.13-5.34-4.39c-5.39-1.81-9.08-4.34-9.08-9.23c0-4.44,3.13-7.92,8.52-8.97v-4.79h4.94
8
+ v4.44c3.38,0.15,5.65,0.86,7.31,1.66l-1.46,5.7c-1.31-0.55-3.63-1.71-7.26-1.71c-3.28,0-4.34,1.41-4.34,2.82
9
+ c0,1.66,1.76,2.72,6.05,4.34c6,2.12,8.42,4.89,8.42,9.43c0,4.49-3.18,8.32-8.97,9.33v5.14H33.4z"/>
10
+ </g>
11
+ </svg>
images/landing/ecwid-active.svg ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ viewBox="0 0 68.24 69.41" enable-background="new 0 0 68.24 69.41" xml:space="preserve" >
6
+ <g>
7
+ <path fill="#59BB00" d="M53.26,38.77c1.65-5.03,4.24-16.05,5.22-19.97c0.86-3.47,1.43-4.76-0.13-4.73c-1.3,0.02-4.63,0.34-5.32,3.08
8
+ c-1.15,4.58-3.88,15.14-4.89,18.5c-1.1,3.69-3.45,4.46-6.4,4.48c-2.57,0.02-3.99-0.18-3.99-2.13c-0.82-0.02-2.08-0.01-2.67,0
9
+ c-0.58,0-1.85-0.01-2.67,0c0,2.06-1.42,2.13-3.99,2.13c-1.91,0-4.81-0.36-5.88-3.86c-0.74-2.44-2.59-8.76-3.54-12.1
10
+ c-0.95-3.34-3.94-3.53-5.37-3.53c-1.58-0.01-1.45,0.25-0.54,3.53c0.91,3.28,2.9,10.61,4.3,15.52c1.4,4.91,6.18,6.51,9.24,6.51
11
+ c2.62,0,2.71,0,5.16,0c2.34,0,3.17-1,3.29-1.32c0.13,0.32,1.03,1.32,3.37,1.32c2.44,0,2.38,0,5,0
12
+ C47.71,46.2,51.66,43.62,53.26,38.77z"/>
13
+ <circle fill="#59BB00" cx="27.26" cy="23.58" r="2.44"/>
14
+ <circle fill="#59BB00" cx="35.21" cy="23.58" r="2.44"/>
15
+ <path fill="#59BB00" d="M43.25,26.02c1.35,0,2.44-1.09,2.44-2.44s-1.1-2.44-2.44-2.44c-1.35,0-2.44,1.09-2.44,2.44
16
+ C40.8,24.93,41.9,26.02,43.25,26.02z"/>
17
+ <circle fill="#59BB00" cx="27.26" cy="32.38" r="2.44"/>
18
+ <circle fill="#59BB00" cx="35.21" cy="32.38" r="2.44"/>
19
+ <path fill="#59BB00" d="M43.25,34.82c1.35,0,2.44-1.09,2.44-2.44c0-1.35-1.1-2.44-2.44-2.44c-1.35,0-2.44,1.09-2.44,2.44
20
+ C40.8,33.73,41.9,34.82,43.25,34.82z"/>
21
+ <path fill="#59BB00" d="M15.8,47.55c-2.7,0-4.9,2.19-4.9,4.9c0,2.7,2.19,4.9,4.9,4.9c2.71,0,4.9-2.19,4.9-4.9C20.7,49.74,18.51,47.55,15.8,47.55z
22
+ M15.8,54.2c-0.97,0-1.76-0.79-1.76-1.76c0-0.97,0.79-1.76,1.76-1.76c0.97,0,1.76,0.78,1.76,1.76S16.77,54.2,15.8,54.2z"/>
23
+ <path fill="#59BB00" d="M54.43,47.49c-2.71,0-4.9,2.19-4.9,4.9c0,2.7,2.19,4.9,4.9,4.9c2.7,0,4.9-2.2,4.9-4.9C59.33,49.68,57.13,47.49,54.43,47.49
24
+ z M54.43,54.14c-0.97,0-1.76-0.79-1.76-1.76c0-0.97,0.79-1.76,1.76-1.76c0.97,0,1.76,0.79,1.76,1.76
25
+ C56.19,53.35,55.4,54.14,54.43,54.14z"/>
26
+ </g>
27
+ </svg>
images/landing/ecwid-description-image.jpg ADDED
Binary file
images/landing/ecwid.svg ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ viewBox="0 0 68.24 69.41" enable-background="new 0 0 68.24 69.41" xml:space="preserve" >
6
+ <g>
7
+ <path fill="#0079C8" d="M53.26,38.77c1.65-5.03,4.24-16.05,5.22-19.97c0.86-3.47,1.43-4.76-0.13-4.73c-1.3,0.02-4.63,0.34-5.32,3.08
8
+ c-1.15,4.58-3.88,15.14-4.89,18.5c-1.1,3.69-3.45,4.46-6.4,4.48c-2.57,0.02-3.99-0.18-3.99-2.13c-0.82-0.02-2.08-0.01-2.67,0
9
+ c-0.58,0-1.85-0.01-2.67,0c0,2.06-1.42,2.13-3.99,2.13c-1.91,0-4.81-0.36-5.88-3.86c-0.74-2.44-2.59-8.76-3.54-12.1
10
+ c-0.95-3.34-3.94-3.53-5.37-3.53c-1.58-0.01-1.45,0.25-0.54,3.53c0.91,3.28,2.9,10.61,4.3,15.52c1.4,4.91,6.18,6.51,9.24,6.51
11
+ c2.62,0,2.71,0,5.16,0c2.34,0,3.17-1,3.29-1.32c0.13,0.32,1.03,1.32,3.37,1.32c2.44,0,2.38,0,5,0
12
+ C47.71,46.2,51.66,43.62,53.26,38.77z"/>
13
+ <circle fill="#0079C8" cx="27.26" cy="23.58" r="2.44"/>
14
+ <circle fill="#0079C8" cx="35.21" cy="23.58" r="2.44"/>
15
+ <path fill="#4478C4" d="M43.25,26.02c1.35,0,2.44-1.09,2.44-2.44s-1.1-2.44-2.44-2.44c-1.35,0-2.44,1.09-2.44,2.44
16
+ C40.8,24.93,41.9,26.02,43.25,26.02z"/>
17
+ <circle fill="#0079C8" cx="27.26" cy="32.38" r="2.44"/>
18
+ <circle fill="#0079C8" cx="35.21" cy="32.38" r="2.44"/>
19
+ <path fill="#4478C4" d="M43.25,34.82c1.35,0,2.44-1.09,2.44-2.44c0-1.35-1.1-2.44-2.44-2.44c-1.35,0-2.44,1.09-2.44,2.44
20
+ C40.8,33.73,41.9,34.82,43.25,34.82z"/>
21
+ <path fill="#0079C8" d="M15.8,47.55c-2.7,0-4.9,2.19-4.9,4.9c0,2.7,2.19,4.9,4.9,4.9c2.71,0,4.9-2.19,4.9-4.9C20.7,49.74,18.51,47.55,15.8,47.55z
22
+ M15.8,54.2c-0.97,0-1.76-0.79-1.76-1.76c0-0.97,0.79-1.76,1.76-1.76c0.97,0,1.76,0.78,1.76,1.76S16.77,54.2,15.8,54.2z"/>
23
+ <path fill="#0079C8" d="M54.43,47.49c-2.71,0-4.9,2.19-4.9,4.9c0,2.7,2.19,4.9,4.9,4.9c2.7,0,4.9-2.2,4.9-4.9C59.33,49.68,57.13,47.49,54.43,47.49
24
+ z M54.43,54.14c-0.97,0-1.76-0.79-1.76-1.76c0-0.97,0.79-1.76,1.76-1.76c0.97,0,1.76,0.79,1.76,1.76
25
+ C56.19,53.35,55.4,54.14,54.43,54.14z"/>
26
+ </g>
27
+ </svg>
images/landing/gift.svg ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ viewBox="0 0 68.24 69.41" enable-background="new 0 0 68.24 69.41" xml:space="preserve">
6
+ <line fill="none" stroke="#70B4D5" stroke-width="2" stroke-miterlimit="10" x1="28.77" y1="26.8" x2="28.77" y2="62.1"/>
7
+ <line fill="none" stroke="#70B4D5" stroke-width="2" stroke-miterlimit="10" x1="40.23" y1="25.66" x2="40.23" y2="62.1"/>
8
+ <line fill="none" stroke="#70B4D5" stroke-width="2" stroke-miterlimit="10" x1="7" y1="25.66" x2="62" y2="25.66"/>
9
+ <line fill="none" stroke="#70B4D5" stroke-width="2" stroke-miterlimit="10" x1="60.85" y1="25.66" x2="60.85" y2="35.97"/>
10
+ <line fill="none" stroke="#70B4D5" stroke-width="2" stroke-miterlimit="10" x1="62" y1="35.97" x2="41.38" y2="35.97"/>
11
+ <line fill="none" stroke="#70B4D5" stroke-width="2" stroke-miterlimit="10" x1="27.62" y1="35.97" x2="7" y2="35.97"/>
12
+ <line fill="none" stroke="#70B4D5" stroke-width="2" stroke-miterlimit="10" x1="8.15" y1="35.97" x2="8.15" y2="25.66"/>
13
+ <line fill="none" stroke="#70B4D5" stroke-width="2" stroke-miterlimit="10" x1="10.44" y1="39.41" x2="10.44" y2="61.18"/>
14
+ <line fill="none" stroke="#70B4D5" stroke-width="2" stroke-miterlimit="10" x1="58.56" y1="39.41" x2="58.56" y2="61.18"/>
15
+ <line fill="none" stroke="#70B4D5" stroke-width="2" stroke-linecap="round" stroke-miterlimit="10" x1="10.44" y1="61.18" x2="28.77" y2="61.18"/>
16
+ <line fill="none" stroke="#70B4D5" stroke-width="2" stroke-linecap="round" stroke-miterlimit="10" x1="37.56" y1="61.18" x2="58.56" y2="61.18"/>
17
+ <line fill="none" stroke="#70B4D5" stroke-width="2" stroke-miterlimit="10" x1="40.23" y1="61.18" x2="28.77" y2="61.18"/>
18
+ <path fill="none" stroke="#70B4D5" stroke-width="2" stroke-miterlimit="10" d="M29.79,15.77c-0.17,0.31-0.29,0.64-0.29,1.01v2.17
19
+ c0,1.2,0.97,2.17,2.17,2.17h5.49c1.2,0,2.17-0.97,2.17-2.17v-2.17c0-0.37-0.12-0.7-0.28-1.01"/>
20
+ <path fill="none" stroke="#70B4D5" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
21
+ M42.02,20.97h4.75c2.24,0,15.76-2.7,5.58-12.87c-1.27-1.27-2.42-1.93-3.44-1.92c-1.24,0.01-2.28,0.93-3.07,1.92
22
+ c-2.64,3.31-5.4,5.83-7.08,7.25c-0.4-0.45-0.96-0.74-1.6-0.74h-5.49c-0.64,0-1.2,0.29-1.6,0.74c-1.68-1.42-4.44-3.94-7.08-7.25
23
+ c-0.8-1-1.85-1.93-3.12-1.92c-1,0.01-2.14,0.67-3.39,1.92C6.3,18.27,19.82,20.97,22.06,20.97h4.75"/>
24
+ </svg>
images/landing/global.svg ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 75 75" enable-background="new 0 0 75 75" xml:space="preserve">
4
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#70B4D5" d="M37.5,73.056c-19.637,0-35.556-15.918-35.556-35.557 c0-19.636,15.919-35.555,35.556-35.555s35.556,15.918,35.556,35.555C73.056,57.138,57.137,73.056,37.5,73.056z M61.938,59.137 c4.84-5.474,7.891-12.569,8.188-20.382H56.108c-0.119,6.328-1.131,12.22-2.794,17.268c5.389,1.432,8.624,3.076,8.624,3.076V59.137z M59.889,61.259c-1.645-0.711-4.23-1.697-7.534-2.576c-1.779,4.437-4.102,8.055-6.786,10.49 C51.029,67.786,55.921,65.007,59.889,61.259z M38.817,70.056c4.745-0.702,8.65-5.162,11.208-11.943 c-3.249-0.725-7.036-1.274-11.208-1.381V70.056z M38.817,53.967c4.562,0.103,8.663,0.706,12.101,1.476 c1.443-4.788,2.291-10.479,2.392-16.688H38.817V53.967z M53.307,35.995c-0.123-6.223-1.011-11.92-2.496-16.698 c-3.413,0.762-7.476,1.358-11.993,1.464v15.234H53.307z M36.058,35.995V20.762c-4.475-0.103-8.508-0.685-11.912-1.433 c-1.465,4.771-2.332,10.458-2.452,16.666H36.058z M21.691,38.755c0.1,6.202,0.946,11.889,2.387,16.674 c3.415-0.758,7.473-1.351,11.98-1.46V38.755H21.691z M36.058,70.044V56.73c-4.123,0.101-7.872,0.635-11.094,1.347 C27.5,64.821,31.364,69.281,36.058,70.044z M29.432,69.173c-2.692-2.442-5.02-6.074-6.8-10.528c-3.305,0.873-5.894,1.857-7.56,2.575 C19.047,64.987,23.953,67.781,29.432,69.173z M13.001,59.068c0.353-0.174,3.539-1.71,8.678-3.063 c-1.66-5.045-2.669-10.93-2.788-17.25H4.875C5.17,46.535,8.197,53.604,13.001,59.068z M4.885,35.995h14.012 c0.142-6.324,1.176-12.205,2.86-17.234c-4.661-1.216-7.744-2.59-8.607-2.998C8.311,21.191,5.239,28.232,4.885,35.995z M15.247,13.611c1.697,0.72,4.248,1.672,7.473,2.515c1.77-4.351,4.065-7.898,6.712-10.3C24.033,7.197,19.19,9.929,15.247,13.611z M25.056,16.688c3.202,0.699,6.921,1.218,11.002,1.313V4.955C31.419,5.708,27.593,10.078,25.056,16.688z M38.817,4.945v13.052 c4.113-0.109,7.852-0.648,11.066-1.361C47.307,10.007,43.439,5.646,38.817,4.945z M52.254,16.058 c3.227-0.856,5.765-1.813,7.421-2.521c-3.929-3.646-8.744-6.348-14.106-7.71C48.201,8.215,50.488,11.738,52.254,16.058z M61.777,15.681c-0.539,0.264-3.649,1.733-8.55,3.033c1.693,5.039,2.733,10.938,2.876,17.281h14.012 C69.76,28.193,66.659,21.12,61.777,15.681z"/>
5
+ </svg>
images/landing/plug-active.svg ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ viewBox="0 0 68.24 69.41" enable-background="new 0 0 68.24 69.41" xml:space="preserve" width="52" height="52">
6
+ <path fill="#59BB00" d="M33.99,3.85c-16.68,0-30.25,13.57-30.25,30.25c0,4.11,0.55,7.06,1.77,9.54c1.72,3.48,4.67,6.08,7.91,6.94
7
+ c2.78,0.74,5.62,0.22,8.19-1.52c0.42-0.28,0.82-0.57,1.18-0.85c1.37,0.58,3.01,0.32,4.12-0.8l1.52-1.52
8
+ c4.17,2.06,9.41,1.36,12.91-2.15l1.62-1.62c1.31-1.31,1.31-3.42,0-4.73l-0.19-0.19l5.82-5.82c0.98-0.98,0.98-2.57,0-3.54
9
+ c-0.98-0.98-2.56-0.98-3.55,0l-5.82,5.82l-3.87-3.87l5.82-5.82c0.98-0.98,0.98-2.56,0-3.55c-0.98-0.98-2.57-0.98-3.55,0l-5.84,5.84
10
+ c-1.31-1.11-3.28-1.07-4.52,0.17l-1.62,1.62c-3.37,3.37-4.16,8.32-2.4,12.39l-1.66,1.66c-0.99,0.99-1.3,2.39-0.95,3.65
11
+ c-0.27,0.2-0.56,0.41-0.86,0.61c-1.8,1.21-3.66,1.57-5.53,1.07c-2.34-0.62-4.52-2.58-5.83-5.23c-0.99-2.01-1.43-4.51-1.43-8.1
12
+ c0-14.88,12.11-26.98,26.99-26.98s26.98,12.1,26.98,26.98c0,14.88-12.1,26.98-26.98,26.98c-6.33,0-12.96-2.46-16.91-6.26
13
+ c-0.65-0.62-1.68-0.6-2.31,0.04c-0.62,0.65-0.6,1.68,0.04,2.31c4.52,4.35,12.05,7.17,19.17,7.17c16.68,0,30.25-13.57,30.25-30.25
14
+ S50.67,3.85,33.99,3.85z"/>
15
+ </svg>
images/landing/plug.svg ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ viewBox="0 0 68.24 69.41" enable-background="new 0 0 68.24 69.41" xml:space="preserve" width="52" height="52">
6
+ <path fill="#0079C8" d="M33.99,3.85c-16.68,0-30.25,13.57-30.25,30.25c0,4.11,0.55,7.06,1.77,9.54c1.72,3.48,4.67,6.08,7.91,6.94
7
+ c2.78,0.74,5.62,0.22,8.19-1.52c0.42-0.28,0.82-0.57,1.18-0.85c1.37,0.58,3.01,0.32,4.12-0.8l1.52-1.52
8
+ c4.17,2.06,9.41,1.36,12.91-2.15l1.62-1.62c1.31-1.31,1.31-3.42,0-4.73l-0.19-0.19l5.82-5.82c0.98-0.98,0.98-2.57,0-3.54
9
+ c-0.98-0.98-2.56-0.98-3.55,0l-5.82,5.82l-3.87-3.87l5.82-5.82c0.98-0.98,0.98-2.56,0-3.55c-0.98-0.98-2.57-0.98-3.55,0l-5.84,5.84
10
+ c-1.31-1.11-3.28-1.07-4.52,0.17l-1.62,1.62c-3.37,3.37-4.16,8.32-2.4,12.39l-1.66,1.66c-0.99,0.99-1.3,2.39-0.95,3.65
11
+ c-0.27,0.2-0.56,0.41-0.86,0.61c-1.8,1.21-3.66,1.57-5.53,1.07c-2.34-0.62-4.52-2.58-5.83-5.23c-0.99-2.01-1.43-4.51-1.43-8.1
12
+ c0-14.88,12.11-26.98,26.99-26.98s26.98,12.1,26.98,26.98c0,14.88-12.1,26.98-26.98,26.98c-6.33,0-12.96-2.46-16.91-6.26
13
+ c-0.65-0.62-1.68-0.6-2.31,0.04c-0.62,0.65-0.6,1.68,0.04,2.31c4.52,4.35,12.05,7.17,19.17,7.17c16.68,0,30.25-13.57,30.25-30.25
14
+ S50.67,3.85,33.99,3.85z"/>
15
+ </svg>
images/landing/responsive-grow.svg ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 100 71" enable-background="new 0 0 100 71" xml:space="preserve">
5
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#70B4D5" d="M95.5,68.947H52.649c-1.988,0-3.6-1.613-3.6-3.6v-3.312H24.9v3 c0,1.986-1.612,3.6-3.601,3.6H4.5c-1.988,0-3.6-1.613-3.6-3.6V38.652c0-1.988,1.611-3.6,3.6-3.6h6.601V5.653 c0-1.989,1.611-3.601,3.6-3.601h64.8c1.988,0,3.6,1.611,3.6,3.601V26.99h12.4c1.988,0,3.6,1.612,3.6,3.601v34.757 C99.1,67.334,97.488,68.947,95.5,68.947z M6.056,38.033c-1.192,0-2.16,0.967-2.16,2.158v23.285c0,1.193,0.968,2.16,2.16,2.16h13.693 c1.192,0,2.159-0.967,2.159-2.16V40.191c0-1.191-0.967-2.158-2.159-2.158H6.056z M80.108,7.192c0-1.193-0.967-2.16-2.16-2.16H16.256 c-1.193,0-2.16,0.967-2.16,2.16v27.86H21.3c1.988,0,3.601,1.611,3.601,3.6v20.369l24.149,0.016V30.591 c0-1.988,1.611-3.601,3.6-3.601h27.459V7.192z M96.108,32.13c0-1.193-0.967-2.16-2.16-2.16H54.205c-1.193,0-2.16,0.967-2.16,2.16 v31.659c0,1.193,0.967,2.16,2.16,2.16h39.743c1.193,0,2.16-0.967,2.16-2.16V32.13z M57.044,49.777c-0.991,0-1.794-0.803-1.794-1.793 c0-0.992,0.803-1.795,1.794-1.795c0.99,0,1.794,0.803,1.794,1.795C58.838,48.975,58.034,49.777,57.044,49.777z M30.601,11.334 c-0.991,0-1.795-0.804-1.795-1.794c0-0.991,0.804-1.795,1.795-1.795c0.99,0,1.794,0.804,1.794,1.795 C32.395,10.53,31.591,11.334,30.601,11.334z M24.601,11.334c-0.991,0-1.795-0.804-1.795-1.794c0-0.991,0.804-1.795,1.795-1.795 c0.99,0,1.794,0.804,1.794,1.795C26.395,10.53,25.591,11.334,24.601,11.334z M18.601,11.334c-0.991,0-1.795-0.804-1.795-1.794 c0-0.991,0.804-1.795,1.795-1.795c0.99,0,1.794,0.804,1.794,1.795C20.395,10.53,19.591,11.334,18.601,11.334z M13.2,62.934 c-0.991,0-1.794-0.803-1.794-1.795c0-0.99,0.803-1.793,1.794-1.793s1.794,0.803,1.794,1.793 C14.994,62.131,14.191,62.934,13.2,62.934z"/>
6
+ </svg>
images/landing/secure-pci.svg ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ viewBox="0 0 68.24 69.41" enable-background="new 0 0 68.24 69.41" xml:space="preserve">
6
+ <path fill="#70B4D5" d="M20.15,37.54h0.59c0.35,0,0.62,0.07,0.78,0.22c0.17,0.15,0.25,0.37,0.25,0.68c0,0.3-0.1,0.54-0.3,0.7
7
+ c-0.2,0.16-0.5,0.24-0.9,0.24h-0.43V37.54z M22.5,36.95c-0.39-0.32-0.95-0.48-1.69-0.48h-1.96v6.19h1.3v-2.2h0.56
8
+ c0.76,0,1.35-0.18,1.76-0.53c0.41-0.35,0.62-0.86,0.62-1.53C23.08,37.75,22.89,37.27,22.5,36.95z"/>
9
+ <path fill="#70B4D5" d="M27.53,37.59c0.23,0.08,0.46,0.18,0.69,0.29l0.42-1.07c-0.6-0.29-1.2-0.44-1.79-0.44
10
+ c-0.58,0-1.09,0.13-1.53,0.39c-0.43,0.26-0.77,0.63-1,1.11c-0.23,0.48-0.35,1.05-0.35,1.69c0,1.02,0.24,1.81,0.71,2.35
11
+ c0.47,0.55,1.15,0.82,2.04,0.82c0.62,0,1.18-0.11,1.68-0.32v-1.1c-0.61,0.22-1.13,0.33-1.56,0.33c-1.03,0-1.54-0.69-1.54-2.07
12
+ c0-0.66,0.13-1.18,0.4-1.55c0.27-0.37,0.65-0.56,1.14-0.56C27.07,37.47,27.29,37.51,27.53,37.59z"/>
13
+ <path fill="#70B4D5" d="M31.01,42.65v-6.19h-1.3v6.19H31.01z"/>
14
+ <path fill="#70B4D5" d="M34.28,40.86V39.8h-2.25v1.06H34.28z"/>
15
+ <path fill="#70B4D5" d="M39.56,37.26c-0.55-0.53-1.33-0.8-2.33-0.8h-1.92v6.19h1.73c1.08,0,1.91-0.27,2.49-0.81s0.86-1.32,0.86-2.34
16
+ C40.39,38.54,40.12,37.8,39.56,37.26z M37.17,41.57h-0.56v-4.03h0.69c1.16,0,1.74,0.66,1.74,1.99
17
+ C39.04,40.89,38.42,41.57,37.17,41.57L37.17,41.57z"/>
18
+ <path fill="#70B4D5" d="M44.96,39.91c-0.21-0.28-0.6-0.56-1.18-0.83c-0.43-0.21-0.71-0.35-0.82-0.43c-0.12-0.08-0.2-0.16-0.25-0.25
19
+ c-0.05-0.09-0.08-0.19-0.08-0.3c0-0.19,0.07-0.34,0.2-0.45c0.13-0.12,0.32-0.17,0.57-0.17c0.21,0,0.42,0.03,0.63,0.08
20
+ c0.21,0.05,0.48,0.15,0.81,0.28l0.42-1.02c-0.32-0.14-0.62-0.25-0.91-0.32c-0.29-0.08-0.59-0.11-0.91-0.11
21
+ c-0.65,0-1.16,0.16-1.52,0.47c-0.37,0.31-0.55,0.74-0.55,1.29c0,0.29,0.06,0.55,0.17,0.76c0.11,0.22,0.26,0.41,0.45,0.57
22
+ c0.19,0.16,0.47,0.33,0.84,0.51c0.4,0.19,0.66,0.33,0.79,0.42c0.13,0.09,0.23,0.18,0.3,0.27c0.07,0.09,0.1,0.2,0.1,0.32
23
+ c0,0.22-0.08,0.38-0.23,0.49c-0.15,0.11-0.37,0.17-0.66,0.17c-0.24,0-0.5-0.04-0.79-0.11c-0.29-0.08-0.64-0.21-1.05-0.39v1.22
24
+ c0.5,0.25,1.08,0.37,1.73,0.37c0.71,0,1.26-0.16,1.66-0.48c0.4-0.32,0.6-0.76,0.6-1.32C45.28,40.53,45.17,40.19,44.96,39.91z"/>
25
+ <path fill="#70B4D5" d="M49.69,39.91c-0.21-0.28-0.6-0.56-1.18-0.83c-0.43-0.21-0.71-0.35-0.82-0.43c-0.12-0.08-0.2-0.16-0.25-0.25
26
+ c-0.05-0.09-0.08-0.19-0.08-0.3c0-0.19,0.07-0.34,0.2-0.45c0.13-0.12,0.32-0.17,0.57-0.17c0.21,0,0.42,0.03,0.63,0.08
27
+ c0.21,0.05,0.48,0.15,0.81,0.28l0.42-1.02c-0.32-0.14-0.62-0.25-0.91-0.32c-0.29-0.08-0.59-0.11-0.91-0.11
28
+ c-0.65,0-1.16,0.16-1.52,0.47c-0.37,0.31-0.55,0.74-0.55,1.29c0,0.29,0.06,0.55,0.17,0.76c0.11,0.22,0.26,0.41,0.45,0.57
29
+ c0.19,0.16,0.47,0.33,0.84,0.51c0.4,0.19,0.66,0.33,0.79,0.42c0.13,0.09,0.23,0.18,0.3,0.27c0.07,0.09,0.1,0.2,0.1,0.32
30
+ c0,0.22-0.08,0.38-0.23,0.49s-0.37,0.17-0.66,0.17c-0.24,0-0.5-0.04-0.79-0.11c-0.29-0.08-0.64-0.21-1.05-0.39v1.22
31
+ c0.5,0.25,1.08,0.37,1.73,0.37c0.71,0,1.26-0.16,1.66-0.48c0.4-0.32,0.6-0.76,0.6-1.32C50,40.53,49.9,40.19,49.69,39.91z"/>
32
+ <path fill="#70B4D5" d="M17.6,21.39h-1.42l-2.63,2.12l0.83,1.05l0.94-0.76c0.11-0.09,0.31-0.28,0.6-0.57l-0.03,0.86l-0.02,0.78v4.78
33
+ h1.73V21.39z"/>
34
+ <path fill="#70B4D5" d="M28.45,29.65V28.2h-3.31v-6.81H23.4v8.25H28.45z"/>
35
+ <path fill="#70B4D5" d="M34.57,28.2H31.6v-2.13h2.77v-1.43H31.6v-1.81h2.97v-1.43h-4.7v8.25h4.7V28.2z"/>
36
+ <path fill="#70B4D5" d="M39.39,26.31c-0.24,0.87-0.38,1.47-0.42,1.82c-0.02-0.15-0.08-0.42-0.17-0.8c-0.09-0.39-0.18-0.72-0.27-1.01
37
+ l-1.54-4.91h-1.75l2.77,8.25h1.89l2.78-8.25h-1.75L39.39,26.31z"/>
38
+ <path fill="#70B4D5" d="M48.41,28.2h-2.97v-2.13h2.77v-1.43h-2.77v-1.81h2.97v-1.43h-4.7v8.25h4.7V28.2z"/>
39
+ <path fill="#70B4D5" d="M55.16,29.65V28.2h-3.31v-6.81h-1.73v8.25H55.16z"/>
40
+ <g>
41
+ <path fill="#70B4D5" d="M34.28,67.45L33.7,67.1c-0.34-0.2-0.82-0.45-1.42-0.77C25.69,62.84,5.64,52.25,5.64,25.61
42
+ c0-5.17,0.02-14.82,0.02-14.82l0-0.56L6.1,9.88c0.42-0.32,10.4-7.91,28.18-7.91c16.65,0,27.68,7.55,28.14,7.88l0.49,0.34l0,0.6
43
+ c0,0,0.01,9.66,0.01,14.82c0,26.6-20.06,37.23-26.65,40.72c-0.59,0.31-1.07,0.57-1.4,0.76L34.28,67.45z M7.95,11.38
44
+ c0,2.18-0.01,9.83-0.01,14.23c0,25.25,19.13,35.36,25.41,38.68c0.35,0.18,0.66,0.35,0.93,0.5c0.27-0.14,0.57-0.31,0.91-0.49
45
+ c6.29-3.33,25.43-13.47,25.43-38.69c0-4.38-0.01-11.98-0.01-14.2c-2.29-1.42-12.34-7.15-26.33-7.15
46
+ C19.37,4.27,10.04,9.96,7.95,11.38z"/>
47
+ </g>
48
+ </svg>
images/landing/tablet-iphone.png ADDED
Binary file
images/landing/wordpress.svg ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 22.258 22.258" style="enable-background:new 0 0 22.258 22.258;" xml:space="preserve">
5
+ <path style="fill:#70B4D5;" d="M11.21,0C5.05-0.039-0.031,5.008,0.004,11.135c0,6.109,4.989,11.119,11.079,11.123
6
+ c6.146,0.004,11.168-4.992,11.171-11.114C22.257,5.041,17.266,0.039,11.21,0z M6.693,20.076c-0.697-0.293-1.315-0.719-1.892-1.197
7
+ c-2.224-1.854-3.455-4.23-3.663-7.118c-0.109-1.517,0.136-2.988,0.716-4.397c0.03-0.072,0.033-0.199,0.136-0.193
8
+ c0.077,0.007,0.083,0.123,0.107,0.193c1.505,4.119,3.009,8.237,4.511,12.358c0.04,0.106,0.07,0.223,0.104,0.334l0.001,0.019
9
+ L6.693,20.076z M14.193,20.65c-1.864,0.588-3.74,0.633-5.635,0.148c-0.254-0.062-0.228-0.185-0.164-0.368
10
+ c0.683-1.973,1.359-3.939,2.038-5.912c0.247-0.717,0.491-1.434,0.739-2.146c0.03-0.086,0.04-0.186,0.155-0.283
11
+ c0.106,0.289,0.207,0.549,0.302,0.812c0.905,2.479,1.808,4.957,2.717,7.435C14.413,20.516,14.381,20.592,14.193,20.65z
12
+ M16.132,17.062c-0.106-0.072-0.114-0.166-0.14-0.244c-1.127-3.344-2.252-6.688-3.377-10.032c-0.113-0.336-0.112-0.334,0.25-0.369
13
+ c0.256-0.022,0.513-0.045,0.768-0.082c0.26-0.039,0.4-0.217,0.377-0.449c-0.021-0.227-0.177-0.362-0.439-0.353
14
+ C12.948,5.558,12.325,5.606,11.7,5.63c-1.095,0.038-2.186-0.029-3.277-0.095C8.368,5.531,8.313,5.527,8.259,5.53
15
+ C8.022,5.543,7.875,5.676,7.852,5.901C7.83,6.112,7.965,6.295,8.195,6.33c0.284,0.041,0.572,0.071,0.86,0.092
16
+ c0.143,0.011,0.23,0.054,0.281,0.192c0.479,1.321,0.96,2.642,1.444,3.962c0.041,0.111,0.021,0.213-0.016,0.318
17
+ c-0.675,2.021-1.349,4.043-2.023,6.066c-0.021,0.063-0.033,0.138-0.102,0.181C8.548,17.096,8.546,17,8.52,16.924
18
+ C7.382,13.543,6.246,10.16,5.11,6.778C4.999,6.447,5.001,6.447,5.344,6.416c0.241-0.021,0.483-0.041,0.723-0.074
19
+ c0.297-0.039,0.46-0.213,0.439-0.444C6.484,5.649,6.313,5.521,6.002,5.531C5.198,5.56,4.399,5.647,3.593,5.636
20
+ c-0.188-0.003-0.375,0-0.562-0.005C2.965,5.629,2.876,5.66,2.843,5.578c-0.024-0.063,0.035-0.115,0.07-0.166
21
+ C3.325,4.82,3.79,4.274,4.322,3.787c1.592-1.459,3.457-2.351,5.603-2.592c2.911-0.324,5.501,0.467,7.744,2.363
22
+ c0.045,0.038,0.108,0.066,0.108,0.141c-0.03,0.051-0.082,0.043-0.127,0.049c-1.08,0.144-1.752,1.078-1.545,2.153
23
+ c0.097,0.509,0.336,0.955,0.6,1.392c0.229,0.381,0.47,0.756,0.664,1.156c0.539,1.116,0.656,2.277,0.314,3.467
24
+ c-0.479,1.672-0.99,3.338-1.488,5.006C16.184,16.965,16.158,17.004,16.132,17.062z M16.216,19.684
25
+ c-0.015-0.125,0.046-0.229,0.083-0.336c1.047-3.018,2.098-6.031,3.143-9.049c0.416-1.202,0.625-2.434,0.486-3.709
26
+ c-0.004-0.036-0.014-0.076,0.053-0.131c1.271,2.527,1.5,5.127,0.642,7.812C19.908,16.484,17.559,19.357,16.216,19.684z"/>
27
+ </svg>
includes/class-ecwid-integration-wpseo.php CHANGED
@@ -26,6 +26,11 @@ class Ecwid_Integration_WordPress_SEO_By_Yoast
26
  }
27
 
28
  global $wpseo_front;
 
 
 
 
 
29
  // Canonical
30
  remove_action( 'wpseo_head', array( $wpseo_front, 'canonical' ), 20);
31
  // Description
26
  }
27
 
28
  global $wpseo_front;
29
+
30
+ if (empty($wpseo_front)) {
31
+ $wpseo_front = WPSEO_Frontend::get_instance();
32
+ }
33
+
34
  // Canonical
35
  remove_action( 'wpseo_head', array( $wpseo_front, 'canonical' ), 20);
36
  // Description
includes/class-ecwid-oauth.php ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Ecwid_OAuth {
4
+
5
+ public function __construct()
6
+ {
7
+ add_action('admin_post_ecwid_oauth', array($this, 'process_authorization'));
8
+ add_action('admin_post_ecwid_disconnect', array($this, 'disconnect_store'));
9
+ add_action('admin_post_ecwid_show_reconnect', array($this, 'show_reconnect'));
10
+ }
11
+
12
+ public function show_reconnect()
13
+ {
14
+ $ecwid_oauth = $this;
15
+ require_once(ECWID_PLUGIN_DIR . '/templates/reconnect.php');
16
+ }
17
+
18
+ public function get_auth_dialog_url( $scopes = array( 'read_store_profile', 'read_catalog' ) )
19
+ {
20
+ if ( !is_array( $scopes ) ) {
21
+ return false;
22
+ }
23
+
24
+ $url = 'https://my.ecwid.com/api/oauth/authorize';
25
+
26
+ $params['source'] = 'wporg';
27
+ $params['client_id'] = get_option( 'ecwid_oauth_client_id' );
28
+ $params['redirect_uri'] = admin_url( 'admin-post.php?action=ecwid_oauth' );
29
+ $params['response_type'] = 'code';
30
+ $params['scope'] = implode( ' ', $scopes );
31
+
32
+ return $url . '?' . build_query( $params );
33
+ }
34
+
35
+ public function process_authorization()
36
+ {
37
+ if ( isset( $_REQUEST['error'] ) || !isset( $_REQUEST['code'] ) ) {
38
+ return $this->trigger_auth_error();
39
+ }
40
+
41
+ $params['code'] = $_REQUEST['code'];
42
+ $params['client_id'] = get_option( 'ecwid_oauth_client_id' );
43
+ $params['client_secret'] = get_option( 'ecwid_oauth_client_secret' );
44
+ $params['redirect_uri'] = admin_url( 'admin-post.php?action=ecwid_oauth' );
45
+ $params['grant_type'] = 'authorization_code';
46
+
47
+ $return = wp_remote_post('https://my.ecwid.com/api/oauth/token', array('body' => $params));
48
+ $result = json_decode($return['body']);
49
+
50
+ if (
51
+ !isset( $result->store_id )
52
+ || !isset( $result->scope )
53
+ || !isset( $result->access_token )
54
+ || ( $result->token_type != 'Bearer' )
55
+ ) {
56
+ return $this->trigger_auth_error();
57
+ }
58
+
59
+ update_option( 'ecwid_store_id', $result->store_id );
60
+ update_option( 'ecwid_oauth_token', $result->access_token );
61
+
62
+ setcookie('ecwid_create_store_clicked', null, strtotime('-1 day'), ADMIN_COOKIE_PATH, COOKIE_DOMAIN);
63
+
64
+ wp_redirect('admin.php?page=ecwid&settings-updated=true');
65
+ }
66
+
67
+ public function disconnect_store()
68
+ {
69
+ update_option( 'ecwid_store_id', '' );
70
+ update_option( 'ecwid_oauth_token', '' );
71
+ wp_redirect('admin.php?page=ecwid');
72
+ }
73
+
74
+ protected function trigger_auth_error()
75
+ {
76
+ wp_redirect('admin.php?page=ecwid&connection_error=true');
77
+
78
+ }
79
+ }
80
+
81
+ $ecwid_oauth = new Ecwid_OAuth();
includes/class-ecwid-store-editor.php CHANGED
@@ -3,31 +3,31 @@
3
  class Ecwid_Store_Editor {
4
  public function __construct()
5
  {
6
- $version = get_bloginfo('version');
7
- if (version_compare($version, '3.5') < 0) {
8
  return;
9
  }
10
 
11
- add_action('template_redirect', array($this, 'get_store_svg'));
12
 
13
- if (!in_array($GLOBALS['pagenow'], array('post.php', 'post-new.php'))) return;
14
 
15
  $this->init();
16
  }
17
 
18
  protected function init()
19
  {
20
- add_filter('mce_external_plugins', array($this, 'add_mce_plugin'));
21
- add_action('media_buttons_context', array($this, 'add_editor_button'));
22
- add_action('admin_enqueue_scripts', array($this, 'add_scripts'));
23
- add_action('in_admin_header', array($this, 'add_popup'));
24
  }
25
 
26
  public function add_mce_plugin() {
27
- $plugins = array('ecwid'); //Add any more plugins you want to load here
28
  $plugins_array = array(
29
- 'ecwid' => plugins_url('ecwid-shopping-cart/js/store-editor-mce.js'),
30
- 'ecwid_common' => plugins_url('ecwid-shopping-cart/js/store-editor-common.js'),
31
  );
32
 
33
  return $plugins_array;
@@ -35,9 +35,9 @@ class Ecwid_Store_Editor {
35
 
36
  public function add_editor_button($context) {
37
 
38
- $image_code = file_get_contents(ECWID_PLUGIN_DIR . 'images/store.svg');
39
 
40
- $title = __('Add Store', 'ecwid-shopping-cart');
41
  $button = <<<HTML
42
  <a href="#" id="insert-ecwid-button" class="button add-ecwid ecwid_button" title="$title">
43
  <span class="ecwid-store-icon">$image_code</span>
@@ -45,7 +45,7 @@ class Ecwid_Store_Editor {
45
  </a>
46
  HTML;
47
 
48
- $title = __('Edit Store', 'ecwid-shopping-cart');
49
  $button .= <<<HTML
50
  <a href="#" id="update-ecwid-button" class="button update-ecwid ecwid_button" title="$title">
51
  <span class="ecwid-store-icon">$image_code</span>
@@ -57,19 +57,19 @@ HTML;
57
  }
58
 
59
  public function add_scripts() {
60
- wp_enqueue_style('ecwid-store-editor-css', plugins_url('ecwid-shopping-cart/css/store-popup.css'));
61
- wp_enqueue_script('ecwid-store-editor-common-js', plugins_url('ecwid-shopping-cart/js/store-editor-common.js'));
62
- wp_enqueue_script('ecwid-store-editor-page-js', plugins_url('ecwid-shopping-cart/js/store-editor-page.js'));
63
- wp_localize_script('ecwid-store-editor-page-js', 'ecwid_i18n', array('edit_store_appearance' => __('Edit Appearance', 'ecwid-shopping-cart')));
64
- add_editor_style(plugins_url('ecwid-shopping-cart/css/page-editor.css'));
65
  }
66
 
67
  public function get_store_svg() {
68
  // TODO: Move this to admin-post
69
  if (isset($_GET['file']) && $_GET['file'] == 'ecwid_store_svg.svg' && current_user_can('administrator')) {
70
  ecwid_load_textdomain();
71
- header('Content-type: image/svg+xml');
72
- require_once(ECWID_PLUGIN_DIR . 'templates/store-svg.php');
73
  die();
74
  }
75
  }
@@ -77,8 +77,8 @@ HTML;
77
  public function add_popup() {
78
  $categories = ecwid_get_categories_for_selector();
79
 
80
- require_once(ECWID_PLUGIN_DIR . 'templates/store-popup.php');
81
  }
82
  }
83
 
84
- $ecwid_store_editor = new Ecwid_Store_Editor();
3
  class Ecwid_Store_Editor {
4
  public function __construct()
5
  {
6
+ $version = get_bloginfo( 'version' );
7
+ if ( version_compare( $version, '3.5' ) < 0 ) {
8
  return;
9
  }
10
 
11
+ add_action( 'template_redirect', array( $this, 'get_store_svg' ) );
12
 
13
+ if ( !in_array( $GLOBALS['pagenow'], array( 'post.php', 'post-new.php' ) ) ) return;
14
 
15
  $this->init();
16
  }
17
 
18
  protected function init()
19
  {
20
+ add_filter( 'mce_external_plugins', array( $this, 'add_mce_plugin' ) );
21
+ add_action( 'media_buttons_context', array( $this, 'add_editor_button' ) );
22
+ add_action( 'admin_enqueue_scripts', array( $this, 'add_scripts' ) );
23
+ add_action( 'in_admin_header', array( $this, 'add_popup' ) );
24
  }
25
 
26
  public function add_mce_plugin() {
27
+ $plugins = array( 'ecwid' ); //Add any more plugins you want to load here
28
  $plugins_array = array(
29
+ 'ecwid' => plugins_url( 'ecwid-shopping-cart/js/store-editor-mce.js' ),
30
+ 'ecwid_common' => plugins_url( 'ecwid-shopping-cart/js/store-editor-common.js' ),
31
  );
32
 
33
  return $plugins_array;
35
 
36
  public function add_editor_button($context) {
37
 
38
+ $image_code = file_get_contents( ECWID_PLUGIN_DIR . 'images/store.svg' );
39
 
40
+ $title = __( 'Add Store', 'ecwid-shopping-cart' );
41
  $button = <<<HTML
42
  <a href="#" id="insert-ecwid-button" class="button add-ecwid ecwid_button" title="$title">
43
  <span class="ecwid-store-icon">$image_code</span>
45
  </a>
46
  HTML;
47
 
48
+ $title = __( 'Edit Store', 'ecwid-shopping-cart' );
49
  $button .= <<<HTML
50
  <a href="#" id="update-ecwid-button" class="button update-ecwid ecwid_button" title="$title">
51
  <span class="ecwid-store-icon">$image_code</span>
57
  }
58
 
59
  public function add_scripts() {
60
+ wp_enqueue_style( 'ecwid-store-editor-css', plugins_url( 'ecwid-shopping-cart/css/store-popup.css' ) );
61
+ wp_enqueue_script( 'ecwid-store-editor-common-js', plugins_url( 'ecwid-shopping-cart/js/store-editor-common.js' ) );
62
+ wp_enqueue_script( 'ecwid-store-editor-page-js', plugins_url('ecwid-shopping-cart/js/store-editor-page.js' ) );
63
+ wp_localize_script( 'ecwid-store-editor-page-js', 'ecwid_i18n', array( 'edit_store_appearance' => __( 'Edit Appearance', 'ecwid-shopping-cart' ) ) );
64
+ add_editor_style( plugins_url( 'ecwid-shopping-cart/css/page-editor.css' ) );
65
  }
66
 
67
  public function get_store_svg() {
68
  // TODO: Move this to admin-post
69
  if (isset($_GET['file']) && $_GET['file'] == 'ecwid_store_svg.svg' && current_user_can('administrator')) {
70
  ecwid_load_textdomain();
71
+ header( 'Content-type: image/svg+xml' );
72
+ require_once( ECWID_PLUGIN_DIR . 'templates/store-svg.php' );
73
  die();
74
  }
75
  }
77
  public function add_popup() {
78
  $categories = ecwid_get_categories_for_selector();
79
 
80
+ require_once( ECWID_PLUGIN_DIR . 'templates/store-popup.php' );
81
  }
82
  }
83
 
84
+ $ecwid_store_editor = new Ecwid_Store_Editor();
includes/themes.php CHANGED
@@ -4,10 +4,25 @@ define( 'ECWID_THEMES_DIR', ECWID_PLUGIN_DIR . '/includes/themes' );
4
 
5
  add_action('after_switch_theme', 'ecwid_after_switch_theme');
6
 
 
7
  function ecwid_get_theme_name()
8
  {
9
  $version = get_bloginfo('version');
10
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  if (version_compare( $version, '3.4' ) < 0) {
12
  $theme_name = get_template();
13
  } else {
@@ -23,7 +38,7 @@ function ecwid_apply_theme($theme_name = null)
23
  $themes = array('bretheon', 'responsive', 'twentyfourteen', 'pagelines', 'envision', 'twentyfifteen');
24
 
25
  if (empty($theme_name)) {
26
- $theme_name = ecwid_get_theme_name();
27
  }
28
 
29
  $theme_file = '';
4
 
5
  add_action('after_switch_theme', 'ecwid_after_switch_theme');
6
 
7
+
8
  function ecwid_get_theme_name()
9
  {
10
  $version = get_bloginfo('version');
11
 
12
+ if (version_compare( $version, '3.4' ) < 0) {
13
+ $theme_name = get_current_theme();
14
+ } else {
15
+ $theme = wp_get_theme();
16
+ $theme_name = $theme->Name;
17
+ }
18
+
19
+ return $theme_name;
20
+ }
21
+
22
+ function ecwid_get_theme_identification()
23
+ {
24
+ $version = get_bloginfo('version');
25
+
26
  if (version_compare( $version, '3.4' ) < 0) {
27
  $theme_name = get_template();
28
  } else {
38
  $themes = array('bretheon', 'responsive', 'twentyfourteen', 'pagelines', 'envision', 'twentyfifteen');
39
 
40
  if (empty($theme_name)) {
41
+ $theme_name = ecwid_get_theme_identification();
42
  }
43
 
44
  $theme_file = '';
js/admin.js CHANGED
@@ -39,7 +39,7 @@
39
 
40
  }
41
 
42
- var classname = el.id.match(/widget.*ecwid(.*)-/);
43
  if (classname) {
44
  classname = 'ecwid-widget-' + classname[1];
45
  jQuery(el).addClass('ecwid-widget')
@@ -48,4 +48,17 @@
48
  }
49
  });
50
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  });
39
 
40
  }
41
 
42
+ var classname = el.id.match(/ecwid(.*)-__i__/);
43
  if (classname) {
44
  classname = 'ecwid-widget-' + classname[1];
45
  jQuery(el).addClass('ecwid-widget')
48
  }
49
  });
50
  }
51
+
52
+ jQuery('.drop-down').each(function(idx, el) {
53
+ jQuery(el).find('>span').click(function (e) {
54
+ jQuery(e.target).closest('.drop-down').addClass('hover');
55
+
56
+ jQuery(window).bind('click.ecwidDropDown', function(e) {
57
+ if (jQuery(e.target).closest('.drop-down')[0] != el) {
58
+ jQuery(window).unbind('.ecwidDropDown');
59
+ jQuery(el).removeClass('hover');
60
+ }
61
+ });
62
+ })
63
+ });
64
  });
js/dashboard.js ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(window).resize(function() {
2
+ if (jQuery(this).width() < 768) {
3
+ jQuery('.ecwid-admin').addClass('width-smaller');
4
+ var head =
5
+ jQuery('.ecwid-dashboard .box .head');
6
+ /*
7
+ head.addClass('drop-down');
8
+ head.find('h2').addClass('drop-down-head');
9
+ head.find('ul').addClass('drop-down-content open').removeClass('head-links');*/
10
+ } else {
11
+ jQuery('.ecwid-admin').removeClass('width-smaller');
12
+ }
13
+ }).trigger('resize');
14
+
15
+ show_reconnect = function() {
16
+ jQuery('<div class="ecwid-popup"></div>').load(
17
+ 'admin-post.php?action=ecwid_show_reconnect',
18
+ '',
19
+ function() {
20
+ jQuery('.ecwid-popup .close').click(function() {
21
+ jQuery(this).closest('.ecwid-popup').remove();
22
+ });
23
+ }
24
+ ).appendTo('body');
25
+
26
+ }
js/landing.js ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ switch_to_connect = function() {
2
+ jQuery('.ecwid-landing').removeClass('register').addClass('connect');
3
+ jQuery('.ecwid-thank-step-one').addClass('active');
4
+ wpCookies.set('ecwid_create_store_clicked', 1);
5
+ }
js/products-list.js ADDED
@@ -0,0 +1,248 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery.widget('ecwid.productsList', {
2
+ container: null,
3
+
4
+ products: {
5
+ },
6
+
7
+ options: {
8
+ max: 3
9
+ },
10
+
11
+ sort: [],
12
+
13
+ _prefix: 'ecwid-productsList',
14
+
15
+ _create: function() {
16
+ this.element.addClass(this._prefix);
17
+ this._removeInitialContent();
18
+ this.container = jQuery('<ul>').appendTo(this.element);
19
+ this._setOption('debug', false);
20
+ this._initFromHtmlData();
21
+ this._readSingleProducts();
22
+ this._onWindowResize();
23
+ this._render();
24
+
25
+ var self = this;
26
+ jQuery(window).resize(
27
+ ecwid_debounce(
28
+ function() {
29
+ self._onWindowResize();
30
+ }
31
+ , 200)
32
+ );
33
+ },
34
+
35
+ _render: function() {
36
+ var toShow = this._getProductsToShow();
37
+
38
+ for (var i in toShow) {
39
+ this._showProduct(this.products[toShow[i]]);
40
+ }
41
+
42
+ for (var id in this.products) {
43
+ if (toShow.indexOf(id) == -1) {
44
+ this._hideProduct(this.products[id]);
45
+ }
46
+ }
47
+
48
+ },
49
+
50
+ _setOption: function(key, value) {
51
+ this._super(key, value);
52
+ if (key == 'max') {
53
+ this.refresh();
54
+ }
55
+ },
56
+
57
+ _getProductClass: function(id) {
58
+ return this._prefix + '-product-' + id;
59
+ },
60
+
61
+ _getProductElement: function(id) {
62
+ return this.container.find('.' + this._getProductClass(id));
63
+ },
64
+
65
+ _showProduct: function(product) {
66
+ var existing = this._getProductElement(product.id);
67
+
68
+ if (existing.length == 0) {
69
+ this._renderProduct(product);
70
+ }
71
+
72
+
73
+ this._getProductElement(product.id)
74
+ .addClass('show')
75
+ .removeClass('hide')
76
+ .prependTo(this.container);
77
+ },
78
+
79
+ _hideProduct: function(product) {
80
+ this._getProductElement(product.id)
81
+ .addClass('hide')
82
+ .removeClass('show');
83
+ },
84
+
85
+ _renderProduct: function(product) {
86
+ var container = jQuery('<li class="' + this._getProductClass(product.id) + '">').appendTo(this.container);
87
+
88
+ if (product.link != '') {
89
+ container = jQuery('<a>')
90
+ .attr('href', product.link)
91
+ .attr('title', product.name)
92
+ .appendTo(container);
93
+ }
94
+ if (product.image) {
95
+ jQuery('<div class="' + this._prefix + '-image">').append('<img src="' + product.image + '">').appendTo(container);
96
+ } else {
97
+ jQuery('<div class="' + this._prefix + '-image ecwid-noimage">').appendTo(container);
98
+ }
99
+ jQuery('<div class="' + this._prefix + '-name">').append(product.name).appendTo(container);
100
+ jQuery('<div class="' + this._prefix + '-price ecwid-productBrowser-price">').append(product.price).appendTo(container);
101
+
102
+ },
103
+
104
+ _initFromHtmlData: function() {
105
+ for (var option_name in this.options) {
106
+ var data_name = 'ecwid-' + option_name;
107
+ if (typeof(this.element.data(data_name)) != 'undefined') {
108
+ this._setOption(option_name, this.element.data(data_name));
109
+ }
110
+ }
111
+ },
112
+
113
+ _removeInitialContent: function() {
114
+ this.originalContentContainer = jQuery('<div class="ecwid-initial-productsList-content">')
115
+ .data('generatedProductsList', this)
116
+ .append(this.element.find('>*'))
117
+ .insertAfter(this.element);
118
+ },
119
+
120
+ _readSingleProducts: function() {
121
+
122
+ var self = this;
123
+ var singleProductLoaded = function (container) {
124
+ return jQuery('.ecwid-title', container).text() != '';
125
+ }
126
+
127
+ jQuery('.ecwid-SingleProduct', this.originalContentContainer).each(function(idx, el) {
128
+ var interval = setInterval(
129
+ function() {
130
+ if (singleProductLoaded(el)) {
131
+ clearInterval(interval);
132
+ self._readSingleProduct(el);
133
+ }
134
+ },
135
+ 500
136
+ );
137
+ });
138
+ },
139
+
140
+ _readSingleProduct: function(singleProductContainer) {
141
+ var product = {
142
+ name: jQuery('.ecwid-title', singleProductContainer).text(),
143
+ image: jQuery('.ecwid-SingleProduct-picture img', singleProductContainer).attr('src'),
144
+ id: jQuery(singleProductContainer).data('single-product-id'),
145
+ link: jQuery(singleProductContainer).data('single-product-link'),
146
+ }
147
+ if (jQuery('.ecwid-productBrowser-price .gwt-HTML', singleProductContainer).length > 0) {
148
+ product.price = jQuery('.ecwid-productBrowser-price .gwt-HTML', singleProductContainer).html();
149
+ } else {
150
+ product.price = jQuery('.ecwid-price', singleProductContainer).html();
151
+ }
152
+ this.addProduct(product, true);
153
+ },
154
+
155
+ _getProductsToShow: function() {
156
+ return this.sort.slice(0, this.options.max);
157
+ },
158
+
159
+ _addToSort: function(id) {
160
+ this.sort.push(id.toString());
161
+ },
162
+
163
+ _triggerError: function(message) {
164
+ message = 'ecwid.productsList ' + message;
165
+ if (this.options.debug) {
166
+ debugger;
167
+ alert(message);
168
+ }
169
+ console.log(message);
170
+ },
171
+
172
+ _destroy: function() {
173
+ this.element.removeClass('.' + this._prefix).find('>*').remove();
174
+ this.element.append(this.originalContentContainer.find('>*'));
175
+ this.originalContentContainer.data('generatedProductsList', null);
176
+ this.originalContentContainer = null;
177
+ this._superApply(arguments);
178
+ },
179
+
180
+ refresh: function() {
181
+ this._render();
182
+ },
183
+
184
+ addProduct: function(product, forceRender) {
185
+ if (typeof(product.id) == 'undefined') {
186
+ this._triggerError('addProduct error: product must have id');
187
+ }
188
+
189
+ if (typeof this.products[product.id] != 'undefined') {
190
+ return;
191
+ }
192
+
193
+ this.products[product.id] = jQuery.extend(
194
+ {}, {
195
+ id: 0,
196
+ name: 'no name',
197
+ image: '',
198
+ link: '',
199
+ price: '',
200
+ toString: function() {return this.name;}
201
+ },
202
+ product
203
+ );
204
+
205
+ this._addToSort(product.id);
206
+
207
+ if (forceRender) {
208
+ this._render();
209
+ }
210
+ },
211
+
212
+ _onWindowResize: function() {
213
+ if (this.element.width() < 150) {
214
+ this.element.addClass('width-s').removeClass('width-m width-l');
215
+ } else if (this.element.width() < 300) {
216
+ this.element.addClass('width-m').removeClass('width-s width-l');
217
+ } else {
218
+ this.element.addClass('width-l').removeClass('width-s width-m');
219
+ }
220
+ }
221
+ });
222
+
223
+
224
+ // Debounce function from http://unscriptable.com/2009/03/20/debouncing-javascript-methods/
225
+ var ecwid_debounce = function (func, threshold, execAsap) {
226
+
227
+ var timeout;
228
+
229
+ return function debounced () {
230
+ var obj = this, args = arguments;
231
+ function delayed () {
232
+ if (!execAsap) {
233
+ func.apply(obj, args);
234
+ }
235
+ timeout = null;
236
+ };
237
+
238
+ if (timeout)
239
+ clearTimeout(timeout);
240
+ else if (execAsap)
241
+ func.apply(obj, args);
242
+
243
+ timeout = setTimeout(delayed, threshold || 100);
244
+ };
245
+
246
+ }
247
+
248
+ jQuery('.ecwid-productsList').trigger('ecwidOnWindowResize');
js/recently-viewed.js ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ wpCookies.set('test_ecwid_shopping_cart_recently_products_cookie', 'test_ecwid_shopping_cart_cookie_value', { path: '/' });
2
+ if (wpCookies.get('test_ecwid_shopping_cart_recently_products_cookie') != 'test_ecwid_shopping_cart_cookie_value') {
3
+ // Cookies do not work, we do nothing
4
+ exit;
5
+ }
6
+
7
+ jQuery.widget('ecwid.recentlyViewedProducts', jQuery.ecwid.productsList, {
8
+ _justAdded: null,
9
+
10
+ _create: function() {
11
+ this._superApply(arguments);
12
+
13
+ var self = this;
14
+ Ecwid.OnPageLoaded.add(
15
+ function(page) {
16
+
17
+ self._justAdded = null;
18
+
19
+ if (page.type == 'PRODUCT') {
20
+ var product = {
21
+ id: page.productId.toString(),
22
+ name: page.name
23
+ }
24
+
25
+ setTimeout(function() {
26
+ self.addViewedProduct(product);
27
+ }, 300);
28
+ }
29
+ }
30
+ );
31
+ },
32
+
33
+ addViewedProduct: function(product) {
34
+ product.image = jQuery('.ecwid-productBrowser-details-thumbnail .gwt-Image').attr('src');
35
+ product.link = window.location.href;
36
+ if (jQuery('.ecwid-productBrowser-price .ecwid-productBrowser-price-value').length > 0) {
37
+ product.price = jQuery('.ecwid-productBrowser-price .ecwid-productBrowser-price-value').html();
38
+ } else {
39
+ product.price = jQuery('.ecwid-productBrowser-price').html();
40
+ }
41
+
42
+ if (typeof this.products[product.id] == 'undefined') {
43
+ this._justAdded = product.id;
44
+ this.addProduct(product);
45
+ } else {
46
+ this.sort.splice(this.sort.indexOf(product.id), 1);
47
+ this._addToSort(product.id);
48
+ }
49
+
50
+ this._refreshCookies(product);
51
+
52
+ this._render();
53
+ },
54
+
55
+ _refreshCookies: function(product)
56
+ {
57
+ var cookieName = 'ecwid-shopping-cart-recently-viewed';
58
+
59
+ var cookie = JSON.parse(wpCookies.get(cookieName));
60
+
61
+ if (cookie == null || typeof(cookie) != 'object') {
62
+ cookie = {last: 0, products: []};
63
+ }
64
+
65
+ var expires = new Date;
66
+ expires.setMonth(expires.getMonth() + 1);
67
+
68
+ var src = jQuery('script[src*="app.ecwid.com/script.js?"]').attr('src');
69
+ var re = /app.ecwid.com\/script.js\?(\d*)/;
70
+ cookie.store_id = src.match(re)[1];
71
+
72
+ for (var i = 0; i < cookie.products.length; i++) {
73
+ if (cookie.products[i].id == product.id) {
74
+ cookie.products.splice(i, 1);
75
+ }
76
+ }
77
+
78
+ cookie.products.unshift({
79
+ id: product.id,
80
+ link: product.link
81
+ });
82
+
83
+ wpCookies.set(cookieName, JSON.stringify(cookie), expires.toUTCString() );
84
+
85
+ },
86
+
87
+ _getProductsToShow: function() {
88
+ // copy array using slice
89
+ var sort = this.sort.slice();
90
+
91
+ if (this._justAdded) {
92
+ sort.splice(sort.indexOf(this._justAdded), 1);
93
+ }
94
+
95
+ if (sort.length > this.options.max && jQuery('.ecwid-productBrowser-ProductPage').length > 0) {
96
+ var currentProductId = jQuery('.ecwid-productBrowser-ProductPage').attr('class').match(/ecwid-productBrowser-ProductPage-(\d+)/);
97
+
98
+ if (sort.indexOf(currentProductId[1]) != -1) {
99
+ sort.splice(
100
+ sort.indexOf(
101
+ currentProductId[1]
102
+ ), 1
103
+ );
104
+ }
105
+ }
106
+
107
+ return sort.reverse().slice(0, this.options.max);
108
+ }
109
+ });
110
+
111
+ jQuery('.ecwid-recently-viewed-products').recentlyViewedProducts();
js/store-editor-page.js CHANGED
@@ -332,10 +332,9 @@ ecwid_open_store_popup = function() {
332
 
333
  updatePreview();
334
 
335
-
336
  if (tinymce.activeEditor && !tinymce.activeEditor.isHidden()) {
337
  tinyMCE.activeEditor.execCommand('SelectAll');
338
- tinyMCE.activeEditor.selection.collapse();
339
  }
340
 
341
  return false;
332
 
333
  updatePreview();
334
 
 
335
  if (tinymce.activeEditor && !tinymce.activeEditor.isHidden()) {
336
  tinyMCE.activeEditor.execCommand('SelectAll');
337
+ tinyMCE.activeEditor.selection.collapse(true);
338
  }
339
 
340
  return false;
languages/ecwid-shopping-cart-ru_RU.mo CHANGED
Binary file
languages/ecwid-shopping-cart-ru_RU.po CHANGED
@@ -388,4 +388,13 @@ msgid "Ecwid Store Page Link"
388
  msgstr "Ссылка на Эквид-магазин"
389
 
390
  msgid "A link to your store page"
391
- msgstr "Ссылка на страницу магазина"
 
 
 
 
 
 
 
 
 
388
  msgstr "Ссылка на Эквид-магазин"
389
 
390
  msgid "A link to your store page"
391
+ msgstr "Ссылка на страницу магазина"
392
+
393
+ msgid "Recently Viewed Products"
394
+ msgstr "Недавно просмотренные товары"
395
+
396
+ msgid "A list of products recently viewed by a customer. Add this widget to the sidebar to let them later return to the products they saw in your shop."
397
+ msgstr "Список товаров магазина, которые недавно просматривал посетитель. Этот виджет позволит покупателям вернуться к недавно просмотренным товарам и совершить покупку."
398
+
399
+ msgid "Number of products to show"
400
+ msgstr "Количество товаров"
languages/ecwid-shopping-cart-tr_TR.mo ADDED
Binary file
languages/ecwid-shopping-cart-tr_TR.po ADDED
@@ -0,0 +1,462 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid "Ecwid Shopping Cart"
2
+ msgstr "Ecwid Shopping Cart"
3
+
4
+ msgid "Ecwid Team"
5
+ msgstr "Ecwid Team"
6
+
7
+ msgid "Ecwid is a free full-featured shopping cart. It can be easily integrated with any Wordpress blog and takes less than 5 minutes to set up."
8
+ msgstr "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."
9
+
10
+ msgid "Get help"
11
+ msgstr "Yardım alın"
12
+
13
+ msgid "Go to Ecwid site"
14
+ msgstr "Ecwid web sitesine git"
15
+
16
+ msgid "Visit storefront"
17
+ msgstr "Mağazayı ziyaret et"
18
+
19
+ msgid "Manage my store"
20
+ msgstr "Mağaza yönetimi"
21
+
22
+ msgid "Manage plugin settings"
23
+ msgstr "Plugin ayarlarını değiştir"
24
+
25
+ msgid "→ Sell on Facebook"
26
+ msgstr "→ Facebook ile sat"
27
+
28
+ msgid "<a %s>Online store powered by Ecwid</a>"
29
+ msgstr "<a %s>Ecwid online mağaza çözümleri</a>"
30
+
31
+ msgid "Store"
32
+ msgstr "Mağaza"
33
+
34
+ msgid "Ecwid shopping cart settings"
35
+ msgstr "Ecwid alışveriş sepeti ayarları"
36
+
37
+ msgid "Ecwid Store"
38
+ msgstr "Ecwid Mağazası"
39
+
40
+ msgid "Setup"
41
+ msgstr "Kurulum"
42
+
43
+ msgid "Dashboard"
44
+ msgstr "Dashboard"
45
+
46
+ msgid "Appearance settings"
47
+ msgstr "Görünüm ayarları"
48
+
49
+ msgid "Appearance"
50
+ msgstr "Görünüm"
51
+
52
+ msgid "Advanced settings"
53
+ msgstr "Gelişmiş ayarlar"
54
+
55
+ msgid "Advanced"
56
+ msgstr "Gelişmiş"
57
+
58
+ msgid "Hidden category"
59
+ msgstr "Gizli kategori"
60
+
61
+ msgid "If you like Ecwid and want to help it grow and become the most popular e-commerce solution, you can now add a fancy 'Powered by Ecwid' badge on your site to show your visitors that you're a proud user of Ecwid."
62
+ msgstr "Ecwid online mağazasını beğendiyseniz ve büyümesine yardımcı olmak istiyorsanız, web sitenize güzel görünümlü 'Ecwid Tarafından Desteklenmektedir' yamasını ekleyebilir ve kullanıcılarınıza Ecwid mağazasının tanıtımını yapabilirsiniz."
63
+
64
+ msgid "Ecwid Badge"
65
+ msgstr "Ecwid Yaması"
66
+
67
+ msgid "Ecwid shopping cart widget"
68
+ msgstr "Ecwid alışveriş sepeti widgeti"
69
+
70
+ msgid "Ecwid ecommerce solution"
71
+ msgstr "Ecwid e-ticaret çözümü"
72
+
73
+ msgid "Ecwid free shopping cart"
74
+ msgstr "Ecwid ücretsiz alışveriş sepeti"
75
+
76
+ msgid "Ecwid shopping cart"
77
+ msgstr "Ecwid alışveriş sepeti"
78
+
79
+ msgid "Ecwid e-commerce widgets"
80
+ msgstr "Ecwid e-ticaret widgetleri"
81
+
82
+ msgid "Your store's minicart"
83
+ msgstr "Mağazanızın mini alışveriş sepeti"
84
+
85
+ msgid "Ecwid Shopping Bag (Normal)"
86
+ msgstr "Ecwid Alşv. Sepeti (Normal)"
87
+
88
+ msgid "Ecwid Shopping Bag (Mini view)"
89
+ msgstr "Ecwid Alşv. Sepeti (Küçük)"
90
+
91
+ msgid "Your store's search box"
92
+ msgstr "Mağazanız için arama kutusu"
93
+
94
+ msgid "Ecwid Search Box"
95
+ msgstr "Ecwid Arama Kutusu"
96
+
97
+ msgid "Vertical menu of categories"
98
+ msgstr "Dikey kategori menüsü"
99
+
100
+ msgid "Ecwid Vertical Categories"
101
+ msgstr "Ecwid Dikey Kategoriler"
102
+
103
+ msgid "A link to your store page"
104
+ msgstr "A link to your store page"
105
+
106
+ msgid "Ecwid Store Page Link"
107
+ msgstr "Ecwid Store Page Link"
108
+
109
+ msgid "Shop"
110
+ msgstr "Shop"
111
+
112
+ msgid "A list of products recently viewed by a customer. Add this widget to the sidebar to let them later return to the products they saw in your shop."
113
+ msgstr "A list of products recently viewed by a customer. Add this widget to the sidebar to let them later return to the products they saw in your shop."
114
+
115
+ msgid "Recently Viewed Products"
116
+ msgstr "Recently Viewed Products"
117
+
118
+ msgid "Number of products to show"
119
+ msgstr "Number of products to show"
120
+
121
+ msgid "Greetings! Your Ecwid store is now active."
122
+ msgstr "Tebrikler! Ecwid mağazanız artık etkin."
123
+
124
+ msgid "Take a few simple steps to complete store setup"
125
+ msgstr "Mağaza kurulumu için birkaç basit adımı tamamlayın"
126
+
127
+ msgid "Set up Ecwid Store"
128
+ msgstr "Ecwid Mağaza Kurulumu"
129
+
130
+ msgid "Good job! Your store is set up and you're ready to sell."
131
+ msgstr "Güzel! Mağazanız kuruldu, siparişleri kabul edebilirsiniz."
132
+
133
+ msgid "Now you can fine-tune your store's appearance"
134
+ msgstr "Artık mağaza görünümünü değiştirebilirsiniz"
135
+
136
+ msgid "Visit Storefront"
137
+ msgstr "Mağazayı Ziyaret Et"
138
+
139
+ msgid "Configure Appearance"
140
+ msgstr "Görünümü Değiştir"
141
+
142
+ msgid "Your store is almost ready!"
143
+ msgstr "Mağazanız neredeyse hazır!"
144
+
145
+ msgid "Connect your Ecwid account with this site to complete setup and start selling"
146
+ msgstr "Kurulumu tamamlamak ve satışa başlayabilmek için Ecwid hesabınıza bağlananın"
147
+
148
+ msgid "Connect Your Ecwid Store"
149
+ msgstr "Ecwid Mağazanıza Bağlanın"
150
+
151
+ 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."
152
+ msgstr "Ek özellikleri kullanabilmek için Ecwid mağaza elemanlarını sitenize sürükleyerek bırakınız. İşlemlerinizi tamamladıktan sonra ayarlarınızı değiştirmeye devam edebilirsiniz."
153
+
154
+ msgid "Back to Store Settings"
155
+ msgstr "Mağaza Ayarlarına Dön"
156
+
157
+ 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."
158
+ msgstr "Ecwid online mağazasını sevdiniz mi? Wordpress sayfasında eklentimizi oylamanız ve görüşlerinizi bildirmeniz bizi çok memnun edecektir."
159
+
160
+ msgid "Rate Ecwid at WordPress.org"
161
+ msgstr "WordPress.org sitesinde Ecwid uygulamasını oylayın"
162
+
163
+ msgid "Add Store"
164
+ msgstr "Add Store"
165
+
166
+ msgid "Edit Store"
167
+ msgstr "Edit Store"
168
+
169
+ msgid "Edit Appearance"
170
+ msgstr "Edit Appearance"
171
+
172
+ msgid "Price"
173
+ msgstr "Fiyat"
174
+
175
+ msgid "Never show this message again"
176
+ msgstr "Bu mesajı bir daha gösterme"
177
+
178
+ msgid "Ecwid Shopping Cart — Advanced settings"
179
+ msgstr "Ecwid Alışveriş Sepeti — Gelişmiş ayarlar"
180
+
181
+ msgid "Category shown by default"
182
+ msgstr "Varsayılan kategori görünümü"
183
+
184
+ msgid "Store root category"
185
+ msgstr "Mağaza kök kategorisi"
186
+
187
+ msgid "Default category ID"
188
+ msgstr "Varsayılan kategori ID"
189
+
190
+ 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."
191
+ msgstr "Mağaza varsayılan olarak kök kategorilerin listesini görüntüler. Bu ayarı değiştirerek müşterilerinize belirli kategoriler görüntüleyebilirsiniz. Müşterilerinize mağazanızı ilk ziyaretlerinde belirli kategoriler veya ürünler (örn. \"Yeni Ürünler\") göstermek istiyorsanız bu ayar işinize yarayabilir."
192
+
193
+ msgid "In order to set this option, <a %s>find an ID of the necessary category</a> and save it here."
194
+ msgstr "Bu ayarı değiştirmek için, <a %s>gerekli kategori IDsini bulun ve </a> buraya kaydedin."
195
+
196
+ msgid "Single Sign-On Secret Key"
197
+ msgstr "Tek giriş (Single Sign-On) Gizli Anahtarı"
198
+
199
+ 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."
200
+ msgstr "Tek giriş (Single Sign-On) gizli anahtarı müşterilerinizin WordPress sayfanızı Ecwid sayfanızı ziyaret eder gibi görüntülemelerini sağlar. Müşteriler sitenize giriş yaptıklarında otomatik olarak Ecwid mağazanıza da giriş yaparlar. Ziyaretçileriniz WordPress sayfanızda hesap oluşturmaya başladığında bu özelliği kullanabilirsiniz."
201
+
202
+ 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."
203
+ msgstr "Bu özelliği etkinleştirmek için gizli anahtarı kullanmayı tercih edin. Bu gizli anahtarı Ecwid kontrol panelinizdeki \"Sistem Ayarları > API > Single Sign-On API\" sayfasında bulabilirsiniz. Ancak <a href=\"http://www.ecwid.com/compare-plans.html\" target=\"_blank\">ücretli kullanıcılar</a> bu özellikten faydalanabilir."
204
+
205
+ msgid "Save changes"
206
+ msgstr "Değişiklikleri kaydet"
207
+
208
+ msgid "Ecwid Shopping Cart — Appearance settings"
209
+ msgstr "Ecwid Alışveriş Sepeti — Görünüm ayarları"
210
+
211
+ msgid "Display search box above products"
212
+ msgstr "Arama kutusunu ürünlerin üzerinde göster"
213
+
214
+ msgid "Or you can add search box to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
215
+ msgstr "Ya da arama kutusunu <a href=\"%s\">WordPress yerleşik widgetlerını</a> kullanarak ekleyebilirsiniz"
216
+
217
+ msgid "Display horizontal categories above products"
218
+ msgstr "Kategorileri ürünler üzerinde yatay olarak görüntüle"
219
+
220
+ msgid "Or you can add vertical categories to your website's toolbar using <a href=\"%s\">WordPress native widgets</a>"
221
+ msgstr "Ya da dikey kategorileri sitenin araç çubuğuna <a href=\"%s\">WordPress yerleşik widgetlerını</a> kullanarak ekleyebilirsiniz"
222
+
223
+ msgid "Enable minicart attached to horizontal categories"
224
+ msgstr "Yatay kategorilere bağlı küçük sepeti etkinleştir"
225
+
226
+ msgid "You should disable this option, if you added minicart to your website's&nbsp;sidebar"
227
+ msgstr "Web sitenize küçük alışveriş sepeti eklediyseniz bu ayarı devre dışı bırakınız"
228
+
229
+ msgid "Number of categories per row"
230
+ msgstr "Satır başına kategori sayısı"
231
+
232
+ msgid "Number of products per page"
233
+ msgstr "Sayfa başına ürün sayısı"
234
+
235
+ msgid "Grid view"
236
+ msgstr "Izgara görünümü"
237
+
238
+ msgid "List view"
239
+ msgstr "Liste görünümü"
240
+
241
+ msgid "Table view"
242
+ msgstr "Tablo görünümü"
243
+
244
+ 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."
245
+ msgstr "Sayfa başına kaç adet ürün görüntüleneceğini belirleyebilirsiniz. Bu seçenekler azami miktarları belirtmektedir. Tüm ürünleri görüntülemek için yeterli alan yok ise Ecwid sütunları tüm ürünleri gösterecek şekilde değiştirecektir."
246
+
247
+ msgid "Default view mode on product pages"
248
+ msgstr "Ürün sayfasının varsayılan görünümü"
249
+
250
+ msgid "Grid"
251
+ msgstr "Izgara"
252
+
253
+ msgid "List"
254
+ msgstr "Liste"
255
+
256
+ msgid "Table"
257
+ msgstr "Tablo"
258
+
259
+ msgid "Default view mode on search results"
260
+ msgstr "Arama sonuçlarının varsayılan görünümü"
261
+
262
+ msgid "Connect your store<br /> to this WordPress site"
263
+ msgstr "Connect your store<br /> to this WordPress site"
264
+
265
+ msgid "Connect Ecwid store"
266
+ msgstr "Connect Ecwid store"
267
+
268
+ msgid "After clicking button you need to login and accept permissions to use our plugin"
269
+ msgstr "After clicking button you need to login and accept permissions to use our plugin"
270
+
271
+ msgid "Connection error - after clicking button you need to login and accept permissions to use our plugin. Please, try again."
272
+ msgstr "Connection error - after clicking button you need to login and accept permissions to use our plugin. Please, try again."
273
+
274
+ msgid "Don't have Ecwid account? Create it here"
275
+ msgstr "Don't have Ecwid account? Create it here"
276
+
277
+ msgid "Questions? Visit <a href=\"http://help.ecwid.com/?source=wporg\">Ecwid support center</a>"
278
+ msgstr "Sorun mu yaşıyorsunuz? <a href=\"http://help.ecwid.com/?source=wporg\">Ecwid destek merkezini</a> ziyaret edin"
279
+
280
+ msgid "Store ID"
281
+ msgstr "Mağaza ID"
282
+
283
+ msgid "Disconnect store"
284
+ msgstr "Disconnect store"
285
+
286
+ msgid "Congratulations!"
287
+ msgstr "Tebrikler!"
288
+
289
+ msgid "Your Ecwid store is now connected<br /> to your WordPress website"
290
+ msgstr "Your Ecwid store is now connected<br /> to your WordPress website"
291
+
292
+ msgid "Greetings!"
293
+ msgstr "Tebrikler!"
294
+
295
+ msgid "Your Ecwid store is connected<br /> to your WordPress website"
296
+ msgstr "Your Ecwid store is connected<br /> to your WordPress website"
297
+
298
+ msgid "Open control panel"
299
+ msgstr "Open control panel"
300
+
301
+ msgid "Plugin is installed successfully!"
302
+ msgstr "Plugin is installed successfully!"
303
+
304
+ msgid "There are just a few steps left to start selling<br />on your WordPress site"
305
+ msgstr "There are just a few steps left to start selling<br />on your WordPress site"
306
+
307
+ msgid "There are few little steps left to start selling<br />on your WordPress site"
308
+ msgstr "There are few little steps left to start selling<br />on your WordPress site"
309
+
310
+ msgid "Register"
311
+ msgstr "Register"
312
+
313
+ msgid "Create a free Ecwid account to manage your<br />store and inventory. No credit card required"
314
+ msgstr "Create a free Ecwid account to manage your<br />store and inventory. No credit card required"
315
+
316
+ msgid "Connect"
317
+ msgstr "Connect"
318
+
319
+ msgid "Add your Ecwid store to your site<br />in two clicks"
320
+ msgstr "Add your Ecwid store to your site<br />in two clicks"
321
+
322
+ msgid "Connect your Ecwid store to this site<br />in two clicks"
323
+ msgstr "Connect your Ecwid store to this site<br />in two clicks"
324
+
325
+ msgid "Start selling"
326
+ msgstr "Start selling"
327
+
328
+ msgid "Your storefront is ready"
329
+ msgstr "Your storefront is ready"
330
+
331
+ msgid "Create Ecwid store"
332
+ msgstr "Create Ecwid store"
333
+
334
+ msgid "Connect your store"
335
+ msgstr "Connect your store"
336
+
337
+ msgid "Free registration, No credit card required"
338
+ msgstr "Free registration, No credit card required"
339
+
340
+ msgid "Connection error: please click the button again and give permissions for this plugin<br /> to show your Ecwid store on this site."
341
+ msgstr "Connection error: please click the button again and give permissions for this plugin<br /> to show your Ecwid store on this site."
342
+
343
+ msgid "You will be asked to log in to your Ecwid Control Panel<br />and give permissions to show your store on this site"
344
+ msgstr "You will be asked to log in to your Ecwid Control Panel<br />and give permissions to show your store on this site"
345
+
346
+ msgid "Already have Ecwid account?"
347
+ msgstr "Already have Ecwid account?"
348
+
349
+ msgid "Connect your store to Wordpress site"
350
+ msgstr "Connect your store to Wordpress site"
351
+
352
+ msgid "Don't have an Ecwid account?"
353
+ msgstr "Don't have an Ecwid account?"
354
+
355
+ msgid "Register at Ecwid for free"
356
+ msgstr "Register at Ecwid for free"
357
+
358
+ msgid "No credit card required"
359
+ msgstr "No credit card required"
360
+
361
+ msgid "Get ready to sell online"
362
+ msgstr "Get ready to sell online"
363
+
364
+ msgid "Sell Everywhere<br>with your Ecwid store"
365
+ msgstr "Sell Everywhere<br>with your Ecwid store"
366
+
367
+ msgid "Start selling on your WordPress site. Then mirror your shop on your Facebook page, blog and marketplaces like Google Shopping, Yahoo and Shopping.com."
368
+ msgstr "Start selling on your WordPress site. Then mirror your shop on your Facebook page, blog and marketplaces like Google Shopping, Yahoo and Shopping.com."
369
+
370
+ msgid "Use Ecwid's mobile-POS to swipe credit cards and sell on the go. Your orders and inventory are always synchronized with your online store."
371
+ msgstr "Use Ecwid's mobile-POS to swipe credit cards and sell on the go. Your orders and inventory are always synchronized with your online store."
372
+
373
+ msgid "Features"
374
+ msgstr "Features"
375
+
376
+ msgid "Compatible with your theme"
377
+ msgstr "Compatible with your theme"
378
+
379
+ msgid "Ecwid is compatible with your<br>“Responsive” WordPress theme<br>out of the box."
380
+ msgstr "Ecwid is compatible with your<br>“Responsive” WordPress theme<br>out of the box."
381
+
382
+ msgid "Free and always up to date"
383
+ msgstr "Free and always up to date"
384
+
385
+ msgid "Free plan always available with tons of features<br>at no additional cost. Seamless upgrades occur<br>automatically for free."
386
+ msgstr "Free plan always available with tons of features<br>at no additional cost. Seamless upgrades occur<br>automatically for free."
387
+
388
+ msgid "Responsive design"
389
+ msgstr "Responsive design"
390
+
391
+ msgid "Your store looks perfect<br />on all devices"
392
+ msgstr "Your store looks perfect<br />on all devices"
393
+
394
+ msgid "PCI-DSS Certified"
395
+ msgstr "PCI-DSS Certified"
396
+
397
+ msgid "Secure checkout with over 40<br />payment options"
398
+ msgstr "Secure checkout with over 40<br />payment options"
399
+
400
+ msgid "Global Reach"
401
+ msgstr "Global Reach"
402
+
403
+ msgid "More than 700,000 merchants in 175 countries"
404
+ msgstr "More than 700,000 merchants in 175 countries"
405
+
406
+ msgid "Start selling <br>on your WordPress <nobr>site for free</nobr>"
407
+ msgstr "Start selling <br>on your WordPress <nobr>site for free</nobr>"
408
+
409
+ msgid "Get Started, Create Ecwid Account"
410
+ msgstr "Get Started, Create Ecwid Account"
411
+
412
+ msgid "Connect your store to this site"
413
+ msgstr "Connect your store to this site"
414
+
415
+ msgid "Reconnect your store<br /> to this WordPress site"
416
+ msgstr "Reconnect your store<br /> to this WordPress site"
417
+
418
+ msgid "Reconnect Ecwid store"
419
+ msgstr "Reconnect Ecwid store"
420
+
421
+ msgid "New features available, reconnect to be in touch with our updates"
422
+ msgstr "New features available, reconnect to be in touch with our updates"
423
+
424
+ msgid "Add store"
425
+ msgstr "Add store"
426
+
427
+ msgid "Store settings"
428
+ msgstr "Store settings"
429
+
430
+ msgid "Choose widgets to show"
431
+ msgstr "Choose widgets to show"
432
+
433
+ msgid "Product catalog will be shown automatically"
434
+ msgstr "Product catalog will be shown automatically"
435
+
436
+ msgid "Show search"
437
+ msgstr "Show search"
438
+
439
+ msgid "Show minicart"
440
+ msgstr "Show minicart"
441
+
442
+ msgid "Show horizontal categories"
443
+ msgstr "Show horizontal categories"
444
+
445
+ msgid "Additionally, you can add store controls to your website's toolbar using <a %s>WordPress native widgets</a>"
446
+ msgstr "Additionally, you can add store controls to your website's toolbar using <a %s>WordPress native widgets</a>"
447
+
448
+ msgid "Demo store"
449
+ msgstr "Demo store"
450
+
451
+ msgid "Ecwid plugin settings"
452
+ msgstr "Ecwid plugin settings"
453
+
454
+ msgid "Save and close"
455
+ msgstr "Save and close"
456
+
457
+ msgid "Your store will be shown here!"
458
+ msgstr "Your store will be shown here!"
459
+
460
+ msgid "Demo Store"
461
+ msgstr "Demo Store"
462
+
languages/ecwid-shopping-cart.pot CHANGED
@@ -1,3 +1,12 @@
 
 
 
 
 
 
 
 
 
1
  msgid "Get help"
2
  msgstr ""
3
 
@@ -22,22 +31,16 @@ msgstr ""
22
  msgid "Store"
23
  msgstr ""
24
 
25
- msgid "<strong>Ecwid shopping cart is almost ready</strong>. Please visit <a target=\"_blank\" href=\"%s\">the created page</a> to see your store with demo products. In order to finish the installation, please go to the <a href=\"admin.php?page=ecwid\"><strong>Ecwid settings</strong></a> and configure the plugin."
26
- msgstr ""
27
-
28
- msgid "Do you like your Ecwid online store? We'd appreciate it if you add your review and vote for the plugin on Wordpress site."
29
- msgstr ""
30
-
31
  msgid "Ecwid shopping cart settings"
32
  msgstr ""
33
 
34
  msgid "Ecwid Store"
35
  msgstr ""
36
 
37
- msgid "General settings"
38
  msgstr ""
39
 
40
- msgid "General"
41
  msgstr ""
42
 
43
  msgid "Appearance settings"
@@ -52,10 +55,28 @@ msgstr ""
52
  msgid "Advanced"
53
  msgstr ""
54
 
55
- msgid "Setup"
56
  msgstr ""
57
 
58
- msgid "Hidden category"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  msgstr ""
60
 
61
  msgid "Your store's minicart"
@@ -79,30 +100,81 @@ msgstr ""
79
  msgid "Ecwid Vertical Categories"
80
  msgstr ""
81
 
82
- msgid "If you like Ecwid and want to help it grow and become the most popular e-commerce solution, you can now add a fancy 'Powered by Ecwid' badge on your site to show your visitors that you're a proud user of Ecwid."
83
  msgstr ""
84
 
85
- msgid "Ecwid Badge"
86
  msgstr ""
87
 
88
- msgid "Ecwid shopping cart widget"
89
  msgstr ""
90
 
91
- msgid "Ecwid shopping cart"
92
  msgstr ""
93
 
94
- msgid "Ecwid e-commerce widgets"
95
  msgstr ""
96
 
97
- msgid "Ecwid ecommerce solution"
98
  msgstr ""
99
 
100
- msgid "Ecwid free shopping cart"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
  msgstr ""
102
 
103
  msgid "Price"
104
  msgstr ""
105
 
 
 
 
106
  msgid "Ecwid Shopping Cart — Advanced settings"
107
  msgstr ""
108
 
@@ -187,128 +259,204 @@ msgstr ""
187
  msgid "Default view mode on search results"
188
  msgstr ""
189
 
190
- msgid "Ecwid Shopping Cart General settings"
191
  msgstr ""
192
 
193
- msgid "Thank you for choosing Ecwid to build your online store"
194
  msgstr ""
195
 
196
- msgid "The first step towards opening your online business: <br />Let’s get started and add a store to your WordPress website in <strong>3</strong> simple steps."
197
  msgstr ""
198
 
199
- msgid "Register at Ecwid"
200
  msgstr ""
201
 
202
- msgid "Create a new Ecwid account which you will use to manage your store and inventory. The registration is free."
203
  msgstr ""
204
 
205
- msgid "Create new Ecwid account"
206
  msgstr ""
207
 
208
- msgid "I already have Ecwid account, sign in"
209
  msgstr ""
210
 
211
- msgid "You will be able to sign up through your existing Google, Facebook or PayPal profiles as well."
212
  msgstr ""
213
 
214
- msgid "Find your Store ID"
215
  msgstr ""
216
 
217
- 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."
218
  msgstr ""
219
 
220
- msgid "Enter your Store ID"
221
  msgstr ""
222
 
223
- msgid "Enter your Store ID here:"
224
  msgstr ""
225
 
226
- msgid "Store ID"
227
  msgstr ""
228
 
229
- msgid "Save and connect your Ecwid store to the site"
230
  msgstr ""
231
 
232
- msgid "Questions? Visit <a href=\"http://help.ecwid.com/?source=wporg\">Ecwid support center</a>"
233
  msgstr ""
234
 
235
- msgid "Congratulations!"
236
  msgstr ""
237
 
238
- msgid "Your Ecwid store is now connected to your WordPress website"
239
  msgstr ""
240
 
241
- msgid "Greetings!"
242
  msgstr ""
243
 
244
- msgid "Your Ecwid store is connected to your WordPress website"
245
  msgstr ""
246
 
247
- msgid "Control panel"
248
  msgstr ""
249
 
250
- msgid "Account status"
251
  msgstr ""
252
 
253
- msgid "Paid"
254
  msgstr ""
255
 
256
- msgid "Free"
257
  msgstr ""
258
 
259
- msgid "Thank you for supporting Ecwid!"
260
  msgstr ""
261
 
262
- msgid "Upgrade your account to get access to more Ecwid plugin features"
263
  msgstr ""
264
 
265
- msgid "Billing and plans"
266
  msgstr ""
267
 
268
- msgid "Upgrade"
269
  msgstr ""
270
 
271
- msgid "If you want to connect another Ecwid store, you can <a %s>disconnect the current one and change Store ID</a>."
272
  msgstr ""
273
 
274
- msgid "Greetings! Your Ecwid store is now active."
275
  msgstr ""
276
 
277
- msgid "Take a few simple steps to complete store setup"
278
  msgstr ""
279
 
280
- msgid "Set up Ecwid Store"
281
  msgstr ""
282
 
283
- msgid "Never show this message again"
284
  msgstr ""
285
 
286
- msgid "Good job! Your store is set up and you're ready to sell."
287
  msgstr ""
288
 
289
- msgid "Now you can fine-tune your store's appearance"
290
  msgstr ""
291
 
292
- msgid "Visit Storefront"
293
  msgstr ""
294
 
295
- msgid "Configure Appearance"
296
  msgstr ""
297
 
298
- msgid "Your store is almost ready!"
299
  msgstr ""
300
 
301
- msgid "Connect your Ecwid account with this site to complete setup and start selling"
302
  msgstr ""
303
 
304
- msgid "Connect Your Ecwid Store"
305
  msgstr ""
306
 
307
- msgid "To add extra functions to your store, drag and drop Ecwid store elements on your site. When you're done, you can get back to modifying your settings."
308
  msgstr ""
309
 
310
- msgid "Back to Store Settings"
311
  msgstr ""
312
 
313
- msgid "Rate Ecwid at WordPress.org"
 
 
 
 
 
 
 
 
 
314
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid "Ecwid Shopping Cart"
2
+ msgstr ""
3
+
4
+ msgid "Ecwid Team"
5
+ msgstr ""
6
+
7
+ msgid "Ecwid is a free full-featured shopping cart. It can be easily integrated with any Wordpress blog and takes less than 5 minutes to set up."
8
+ msgstr ""
9
+
10
  msgid "Get help"
11
  msgstr ""
12
 
31
  msgid "Store"
32
  msgstr ""
33
 
 
 
 
 
 
 
34
  msgid "Ecwid shopping cart settings"
35
  msgstr ""
36
 
37
  msgid "Ecwid Store"
38
  msgstr ""
39
 
40
+ msgid "Setup"
41
  msgstr ""
42
 
43
+ msgid "Dashboard"
44
  msgstr ""
45
 
46
  msgid "Appearance settings"
55
  msgid "Advanced"
56
  msgstr ""
57
 
58
+ msgid "Hidden category"
59
  msgstr ""
60
 
61
+ msgid "If you like Ecwid and want to help it grow and become the most popular e-commerce solution, you can now add a fancy 'Powered by Ecwid' badge on your site to show your visitors that you're a proud user of Ecwid."
62
+ msgstr ""
63
+
64
+ msgid "Ecwid Badge"
65
+ msgstr ""
66
+
67
+ msgid "Ecwid shopping cart widget"
68
+ msgstr ""
69
+
70
+ msgid "Ecwid ecommerce solution"
71
+ msgstr ""
72
+
73
+ msgid "Ecwid free shopping cart"
74
+ msgstr ""
75
+
76
+ msgid "Ecwid shopping cart"
77
+ msgstr ""
78
+
79
+ msgid "Ecwid e-commerce widgets"
80
  msgstr ""
81
 
82
  msgid "Your store's minicart"
100
  msgid "Ecwid Vertical Categories"
101
  msgstr ""
102
 
103
+ msgid "A link to your store page"
104
  msgstr ""
105
 
106
+ msgid "Ecwid Store Page Link"
107
  msgstr ""
108
 
109
+ msgid "Shop"
110
  msgstr ""
111
 
112
+ msgid "A list of products recently viewed by a customer. Add this widget to the sidebar to let them later return to the products they saw in your shop."
113
  msgstr ""
114
 
115
+ msgid "Recently Viewed Products"
116
  msgstr ""
117
 
118
+ msgid "Number of products to show"
119
  msgstr ""
120
 
121
+ msgid "Greetings! Your Ecwid store is now active."
122
+ msgstr ""
123
+
124
+ msgid "Take a few simple steps to complete store setup"
125
+ msgstr ""
126
+
127
+ msgid "Set up Ecwid Store"
128
+ msgstr ""
129
+
130
+ msgid "Good job! Your store is set up and you're ready to sell."
131
+ msgstr ""
132
+
133
+ msgid "Now you can fine-tune your store's appearance"
134
+ msgstr ""
135
+
136
+ msgid "Visit Storefront"
137
+ msgstr ""
138
+
139
+ msgid "Configure Appearance"
140
+ msgstr ""
141
+
142
+ msgid "Your store is almost ready!"
143
+ msgstr ""
144
+
145
+ msgid "Connect your Ecwid account with this site to complete setup and start selling"
146
+ msgstr ""
147
+
148
+ msgid "Connect Your Ecwid Store"
149
+ msgstr ""
150
+
151
+ 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."
152
+ msgstr ""
153
+
154
+ msgid "Back to Store Settings"
155
+ msgstr ""
156
+
157
+ 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."
158
+ msgstr ""
159
+
160
+ msgid "Rate Ecwid at WordPress.org"
161
+ msgstr ""
162
+
163
+ msgid "Add Store"
164
+ msgstr ""
165
+
166
+ msgid "Edit Store"
167
+ msgstr ""
168
+
169
+ msgid "Edit Appearance"
170
  msgstr ""
171
 
172
  msgid "Price"
173
  msgstr ""
174
 
175
+ msgid "Never show this message again"
176
+ msgstr ""
177
+
178
  msgid "Ecwid Shopping Cart — Advanced settings"
179
  msgstr ""
180
 
259
  msgid "Default view mode on search results"
260
  msgstr ""
261
 
262
+ msgid "Connect your store<br /> to this WordPress site"
263
  msgstr ""
264
 
265
+ msgid "Connect Ecwid store"
266
  msgstr ""
267
 
268
+ msgid "After clicking button you need to login and accept permissions to use our plugin"
269
  msgstr ""
270
 
271
+ msgid "Connection error - after clicking button you need to login and accept permissions to use our plugin. Please, try again."
272
  msgstr ""
273
 
274
+ msgid "Don't have Ecwid account? Create it here"
275
  msgstr ""
276
 
277
+ msgid "Questions? Visit <a href=\"http://help.ecwid.com/?source=wporg\">Ecwid support center</a>"
278
  msgstr ""
279
 
280
+ msgid "Store ID"
281
  msgstr ""
282
 
283
+ msgid "Disconnect store"
284
  msgstr ""
285
 
286
+ msgid "Congratulations!"
287
  msgstr ""
288
 
289
+ msgid "Your Ecwid store is now connected<br /> to your WordPress website"
290
  msgstr ""
291
 
292
+ msgid "Greetings!"
293
  msgstr ""
294
 
295
+ msgid "Your Ecwid store is connected<br /> to your WordPress website"
296
  msgstr ""
297
 
298
+ msgid "Open control panel"
299
  msgstr ""
300
 
301
+ msgid "Plugin is installed successfully!"
302
  msgstr ""
303
 
304
+ msgid "There are just a few steps left to start selling<br />on your WordPress site"
305
  msgstr ""
306
 
307
+ msgid "There are few little steps left to start selling<br />on your WordPress site"
308
  msgstr ""
309
 
310
+ msgid "Register"
311
  msgstr ""
312
 
313
+ msgid "Create a free Ecwid account to manage your<br />store and inventory. No credit card required"
314
  msgstr ""
315
 
316
+ msgid "Connect"
317
  msgstr ""
318
 
319
+ msgid "Add your Ecwid store to your site<br />in two clicks"
320
  msgstr ""
321
 
322
+ msgid "Connect your Ecwid store to this site<br />in two clicks"
323
  msgstr ""
324
 
325
+ msgid "Start selling"
326
  msgstr ""
327
 
328
+ msgid "Your storefront is ready"
329
  msgstr ""
330
 
331
+ msgid "Create Ecwid store"
332
  msgstr ""
333
 
334
+ msgid "Connect your store"
335
  msgstr ""
336
 
337
+ msgid "Free registration, No credit card required"
338
  msgstr ""
339
 
340
+ msgid "Connection error: please click the button again and give permissions for this plugin<br /> to show your Ecwid store on this site."
341
  msgstr ""
342
 
343
+ msgid "You will be asked to log in to your Ecwid Control Panel<br />and give permissions to show your store on this site"
344
  msgstr ""
345
 
346
+ msgid "Already have Ecwid account?"
347
  msgstr ""
348
 
349
+ msgid "Connect your store to Wordpress site"
350
  msgstr ""
351
 
352
+ msgid "Don't have an Ecwid account?"
353
  msgstr ""
354
 
355
+ msgid "Register at Ecwid for free"
356
  msgstr ""
357
 
358
+ msgid "No credit card required"
359
  msgstr ""
360
 
361
+ msgid "Get ready to sell online"
362
  msgstr ""
363
 
364
+ msgid "Sell Everywhere<br>with your Ecwid store"
365
  msgstr ""
366
 
367
+ msgid "Start selling on your WordPress site. Then mirror your shop on your Facebook page, blog and marketplaces like Google Shopping, Yahoo and Shopping.com."
368
  msgstr ""
369
 
370
+ msgid "Use Ecwid's mobile-POS to swipe credit cards and sell on the go. Your orders and inventory are always synchronized with your online store."
371
  msgstr ""
372
 
373
+ msgid "Features"
374
  msgstr ""
375
 
376
+ msgid "Compatible with your theme"
377
  msgstr ""
378
 
379
+ msgid "Ecwid is compatible with your<br>“Responsive” WordPress theme<br>out of the box."
380
  msgstr ""
381
 
382
+ msgid "Free and always up to date"
383
  msgstr ""
384
 
385
+ msgid "Free plan always available with tons of features<br>at no additional cost. Seamless upgrades occur<br>automatically for free."
386
+ msgstr ""
387
+
388
+ msgid "Responsive design"
389
+ msgstr ""
390
+
391
+ msgid "Your store looks perfect<br />on all devices"
392
+ msgstr ""
393
+
394
+ msgid "PCI-DSS Certified"
395
  msgstr ""
396
+
397
+ msgid "Secure checkout with over 40<br />payment options"
398
+ msgstr ""
399
+
400
+ msgid "Global Reach"
401
+ msgstr ""
402
+
403
+ msgid "More than 700,000 merchants in 175 countries"
404
+ msgstr ""
405
+
406
+ msgid "Start selling <br>on your WordPress <nobr>site for free</nobr>"
407
+ msgstr ""
408
+
409
+ msgid "Get Started, Create Ecwid Account"
410
+ msgstr ""
411
+
412
+ msgid "Connect your store to this site"
413
+ msgstr ""
414
+
415
+ msgid "Reconnect your store<br /> to this WordPress site"
416
+ msgstr ""
417
+
418
+ msgid "Reconnect Ecwid store"
419
+ msgstr ""
420
+
421
+ msgid "New features available, reconnect to be in touch with our updates"
422
+ msgstr ""
423
+
424
+ msgid "Add store"
425
+ msgstr ""
426
+
427
+ msgid "Store settings"
428
+ msgstr ""
429
+
430
+ msgid "Choose widgets to show"
431
+ msgstr ""
432
+
433
+ msgid "Product catalog will be shown automatically"
434
+ msgstr ""
435
+
436
+ msgid "Show search"
437
+ msgstr ""
438
+
439
+ msgid "Show minicart"
440
+ msgstr ""
441
+
442
+ msgid "Show horizontal categories"
443
+ msgstr ""
444
+
445
+ msgid "Additionally, you can add store controls to your website's toolbar using <a %s>WordPress native widgets</a>"
446
+ msgstr ""
447
+
448
+ msgid "Demo store"
449
+ msgstr ""
450
+
451
+ msgid "Ecwid plugin settings"
452
+ msgstr ""
453
+
454
+ msgid "Save and close"
455
+ msgstr ""
456
+
457
+ msgid "Your store will be shown here!"
458
+ msgstr ""
459
+
460
+ msgid "Demo Store"
461
+ msgstr ""
462
+
readme.txt CHANGED
@@ -1,303 +1,307 @@
1
- === Ecwid Shopping Cart ===
2
- Contributors: ecwid
3
- Tags: ecwid, shopping cart, ecommerce, wordpress ecommerce, wp e-commerce, paypal, e-commerce, online store, store, shop, cart, online shop, shopping, digital goods, downloadable products, product catalog, ecomerce, products, facebook, f-commerce
4
- Requires at least: 2.8
5
- Tested up to: 4.1
6
- Stable tag: 2.8
7
-
8
- Ecwid is a full-featured shopping cart that can be added to any Wordpress site in less than 5 minutes. Start using Ecwid for free today.
9
-
10
- == Description ==
11
- **Wordpress.com officially recommends Ecwid as an e-commerce solution to millions of its users!**
12
-
13
- [Ecwid](http://www.ecwid.com?source=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.
14
-
15
-
16
- = Full-featured Shopping Cart =
17
-
18
- Ecwid is a free shopping cart solution that is designed to fit any existing site. Simply set up this plugin and your products, categories and checkout pages will automatically embed on your Wordpress site and adjust themselves to the given page size and layout.
19
-
20
-
21
- = Data Security and Seamless Upgrades =
22
-
23
- With Ecwid, your store data is fully hosted on our secure servers. So, regardless of the hosting you use, you get free of cost:
24
-
25
- * unlimited storage and regular backups
26
- * seamless upgrades and security updates
27
- * secure checkout via encrypted HTTPS connection
28
-
29
- So, you don't need to worry about software updates, security patches and server maintenance - we do that for you. Your store gets all the new features and bug fixes automatically.
30
-
31
-
32
- = Mobile Responsive Design =
33
-
34
- Ecwid works fine on any Wordpress site, especially on those running mobile-optimized themes. Your store looks perfect on any smartphone and automatically adapts to your customer’s screen size: laptops, tablets, smart TVs or smart watches. Check out this [demo](http://www.ecwid.com/demo?source=wporg-plugin-site)
35
-
36
-
37
- = Social Commerce =
38
-
39
- Unlock power of social commerce with Ecwid -- add your existing store to Facebook in a few clicks and sell to millions of Facebook users. Ecwid will automatically synchronize your products, customers, orders and inventory between your Wordpress and Facebook store fronts. Ecwid is the **#1 e-commerce app on Facebook**. Join!
40
-
41
-
42
- = Sell Everywhere =
43
-
44
- With Ecwid, you can mirror your shop on many websites, blogs, social sites and marketplaces like *Google Shopping*, *Yahoo* and *Shopping.com* and sell simultaneously everywhere. Add your store to as many sites as you want, manage it from one place.
45
-
46
-
47
- = Lighting Fast =
48
-
49
- New-gen technologies make Ecwid much faster than usual shopping carts regardless the hosting service you use.
50
-
51
-
52
- = Free =
53
-
54
- Although Ecwid is packed with high-value features, Free plan is always available with no setup charges and no transaction fees. Get your store up and running without paying anything. As your business grows, you can consider upgrading to one of our premium plans to get more great features. See also: [Ecwid plan and pricing](http://www.ecwid.com/pricing?source=wporg-plugin-site)
55
-
56
- = See In Action =
57
-
58
- * [Demo Store](http://www.ecwid.com/demo?source=wporg-plugin-site "Ecwid demo")
59
- * [Ecwid Control panel](https://my.ecwid.com/?source=wporg-plugin-site "Ecwid Control Panel") (you will be able to create a free Ecwid account)
60
-
61
-
62
- = Ecwid Site =
63
-
64
- * [www.ecwid.com](http://www.ecwid.com/?source=wporg-plugin-site "Ecwid site")
65
-
66
- == Installation ==
67
-
68
- = Automatic installation (the easiest way) =
69
-
70
- 1. In your Wordpress admin backend, navigate to *Plugins → Add New*
71
- 1. Under Search, type in `Ecwid` and click *Search*
72
- 1. In the search results find the *Ecwid Shopping Cart* plugin and click *Install now* to install it
73
- 1. When plugin is installed click *Activate Plugin* link
74
- 1. Navigate to *Ecwid Store → General* page in your Wordpress admin backend and follow the instruction provided there
75
-
76
-
77
- = Alternative ways =
78
-
79
- **Uploading the plugin zip archive in Wordpress admin backend**
80
-
81
- 1. Download Ecwid plugin from this page (click *Download* button)
82
- 1. In your Wordpress admin backend, navigate to *Plugins → Add new*
83
- 1. Click *Upload* link and choose the saved zip file in the appeared dialog window.
84
- 1. Click *Install*
85
-
86
- **Uploading plugin folder to Wordpress directory on your server**
87
-
88
- 1. Download Ecwid plugin from this page (click *Download* button)
89
- 1. Unpack the downloaded zip archive
90
- 1. Upload ecwid-shopping-cart directory from the archive to the `/wp-content/plugins/` directory on your server
91
-
92
- Please refer to this article for the details and troubleshooting on plugin installation in Wordpress:
93
- http://codex.wordpress.org/Managing_Plugins#Installing_Plugins
94
-
95
- == Screenshots ==
96
-
97
- 1. Store home page
98
- 2. Category page
99
- 3. Product details page
100
- 4. Shopping bag
101
- 5. Ecwid control panel
102
- 6. Adding new product
103
- 7. Shipping settings
104
- 8. Translations
105
-
106
- == Frequently Asked Questions ==
107
-
108
- * [FAQ](http://help.ecwid.com/customer/portal/articles/1085017-wordpress-downloadable- "Install Ecwid on Wordpress")
109
- * [Help Center](http://help.ecwid.com/?source=wporg-plugin-site "Ecwid Help")
110
- * [Ecwid site](http://www.ecwid.com/?source=wporg-plugin-site "Ecwid Site")
111
-
112
- == Changelog ==
113
- = 2.8 =
114
- - **Integration with the XML sitemap functionality of Yoast and All in One SEO Pack plugins.** Ecwid has been integrated with Google XML Sitemaps plugin allowing you to generate a sitemap containing the links to your products and categories. Now, the sitemaps generated by Yoast SEO and All in One SEO plugins will also include store pages, if you're on a paid Ecwid plan.
115
- - **Improved design of Ecwid sidebar controls in the Appearance/Widgets page in Wordpress backend.** Store sidebar widgets controls are now more noticeable and responsive.
116
- - **Improved compatibility with the Cloudflare's Rocketloader.** Rocket loader tool sometimes blocked Ecwid scripts from loading. We added another improvements to prevent such issues.
117
- - **Fixes and improvements of the meta title tag generation on product and categories pages.**
118
- - **A few minor fixes and adjustments.**
119
-
120
- = 2.7.4.1 =
121
- - Additional fixes for the "title" tags on product pages following the 2.7.4 version's updates.
122
-
123
- = 2.7.4 =
124
- - Improvements of 'title' and 'canonical' meta tags generation. The update prevents incorrect meta tags appearing in some WordPress themes in WordPress 4.1
125
-
126
- = 2.7.3 =
127
- - Several bug fixes and minor improvements for the new "Add Store" button in WordPress Editor
128
-
129
- = 2.7.2 =
130
- - **A new sidebar widget: Ecwid Store Page Link.** The widget adds your store page link to the site's sidebar. You may want to use it with blog-focused WordPress themes that don't have a navigation menu, e.g. the upcoming "Twenty Fifteen" theme. Also, you can consider adding the widget to your sidebar to make your store page more visible to your visitors.
131
- - **Wordpress 4.1 and Twenty Fifteen theme compatibility.** The new WordPress version is coming soon and bringing a brand new 'Twenty Fifteen' theme. Ecwid plugin is now totally ready for the upcoming changes and will work OK in the new environment. Feel free to upgrade your site to Wordpress 4.1 as soon as it's released.
132
- - A few minor improvements and bugfixes for the new "Add Store" button released in the version 2.7
133
-
134
- = 2.7.1 =
135
- - Fixed a few issues with the store appearance settings that were discovered in the recently released update (v2.7)
136
-
137
- = 2.7 =
138
- - **A brand new 'Add store' tool in WordPress editor toolbar.** Ecwid is now integrated with WordPress WYSIWYG editor: click the 'Add Store' button in the page editor toolbar, chose widgets to show, adjust the appearance and place your store on any page of your site. Now you can decide what store widgets to show and configure store appearance right in the page editor.
139
- - **New "[ecwid]" shortcode.** The new shortcode allows you to control every aspect of your store appearance by means of tweaking the shortcode parameters right in the store page code. Display/hide the search widget, choose the minicart layout you like, display different store categories on different site pages and so on. This shortcode serves the "Add Store" button mentioned above and almost every tweak is available in the new "Add Store" window so you don't have to edit any code in most cases. Still, an advanced Wordpress user may consider using shortcodes for more flexible and quick integration.
140
- - **Improved behavior of single product widgets.** If you put a single product widget on your site using the [ecwid_product] shortcode, you might notice that it opens a popup with the customer cart when a customer purchases the product. Now single product widgets are smarter: when the customer decides to buy a product and opens a cart page, the main store page on your site will be opened providing the customer with the built-in cart&checkout functionality. The checkout layout will fit better your site design and provide better buying experience when it's embedded into a page rather than in a popup-like window.
141
- - **Fix for the Envision theme.** The Envision theme didn't display Ecwid widgets properly because of a custom page content generation it uses. We issued a workaround from our side to let all Envision users install and use Ecwid plugin on their sites. If you use Envision theme and want to set up an online store on your site, go ahead and install Ecwid plugin, it will work OK for you.
142
- - **Fixes of PHP notices.** Some of Ecwid users discovered a few PHP notices (warnings) on their site referring to the Ecwid plugin. Although those didn't break anything, they could be quite annoying. We cleaned up the plugin code to get rid of those warning messages, now the plugin should work without any odd message.
143
-
144
- = 2.6 =
145
- - **Ecwid's new SEO URLs compatibility.** The new Ecwid clean URLs have been released a few days ago for all Ecwid users. Our WordPress plugin is already fully compatible with the new URLs. Your store pages will be better indexed by search engines and the search results will look more attractive as the links themselves will mention the product/category they lead to. Of course, Ecwid will handle all redirects, backward compatibility with the old URL scheme and avoid any duplicate issues. Enjoy the new SE-friendly URLs with no trouble.
146
- - **Improved formatting of product snippets markup.** In this update we tidied up in the product HTML representations generated for search engines and fixes a few issues in the products data markup. In particular, the price and availability tags have been re-formatted according to the Google recommendations to ensure better search engine results.
147
- - **A few improvements and fixes for Twenty Fourteen and Responsive themes layout.** Ecwid looks nice on the vast majority of WordPress themes. Additionally, we strive to make it look even better on the most popular themes. This update brings a few more minor layout fixes for the sites with "Responsive" and "Twenty Fourteen" themes installed.
148
-
149
- = 2.5 =
150
- - **Extended compatibility with the "Responsive" WordPress theme.** Ecwid plugin is by design compatible with any theme and automatically adapts itself to any layout and screen size. This makes your store looks good on any device your customers use. One of the most popular free themes for Wordpress -- Responsive -- is also famous for its responsive design. In this update, we adjusted our plugin to better integrate with Responsive theme and Ecwid stores now look a way better on WordPress sites with Responsive themes to provide better user experience on any device and to generate more sales. If you're thinking which WP theme to choose for your site, you should definitely try the "Responsive" theme with Ecwid.
151
- - **Added compatibility with WordPress 4.0.** WordPress 4.0 is just around the corner and we already prepared our plugin for it. We enhanced the plugin installation process to be compatible with the new plugins management coming with WordPress 4.0 and tested every plugin's function to make sure your stores are ready for the upcoming WordPress update.
152
- - **Automatic store page recovery functionality.** Some Ecwid users previously faced issues when they deleted or replaced the plugin's generated store page on their Wordpress sites. We added a smart mechanism to Ecwid plugin to automatically detect such situations and prevent any possible troubles connected with them. Now, it you decide to move your store from one page to another within your Wordpress site or temporary hide your store page, the plugin will detect that, find an alternative store page on your site (if any) and keep the links and all the store functionality working OK regardless of whether you currently have a new store page or not. So, whatever update you're making on your site pages, you can rest assured your Ecwid store works fine, be it the product browser, single product snippet or a sidebar widget.
153
- - **Fixed broken link in single product widgets.** We fixed a minor issue with broken links in single product widgets, that was reported to us recently. You can add a single product to any page of your site as usually by means of [ecwid_product] shortcode -- everything will work fine. All existing single product widget will continue working as well -- no actions is required from your side.
154
- - **Fixed a few layout issues on the plugin's setting pages.** During the recent updates, we were improving the plugin setting pages interfaces. This update brought a few more fixes to the plugin settings pages to make them more user-friendly.
155
- - **Several fixes for old WordPress versions.** WordPress is often updated with new features and bug fixes. Still, there are some merchants who use the old versions. While encouraging everyone to update their sites regularly, we want our plugin work great for all users. So, in this update, we added a few fixes addressing issues in the old Wordpress versions (2.8 - 3.1)
156
-
157
- = 2.4.3.2 =
158
- - **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.
159
- - **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.
160
- - **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.
161
- - **Several minor fixes and enhancements**
162
- - **Added in 2.4.3.1:** fixed incompatibility of the plugin v2.4.3 with the servers running PHP 5.2.x
163
- - **Added in 2.4.3.2:** additional fix for the outdated PHP versions (5.2.x)
164
-
165
- = 2.4.2 =
166
- - Minor issue is fixed on the plugin's "General settings" page
167
-
168
- = 2.4.1 =
169
- - Added compatibility with the new versions of "Google XML Sitemaps" plugin (v4.0 and higher)
170
-
171
- = 2.4 =
172
- - **Ability to add a single product to a page or post on your site using new [ecwid\_product] shortcode.** In addition to embedding a whole product catalog on your Wordpress site, you can also feature a single product on a separate page or blog post of your site and allow your customers to purchase the product right from that page. To embed a product on a page or post, add [ecwid\_product id="12345"] shortcode to the page/post in your Wordpress backend. Do not forget to replace 12345 in this example with the actual product ID.
173
-
174
- - **Better SEO for store pages.** Ecwid plug-in now automatically adds product attributes to SEO-optimized versions of product pages on your site to let the search engines index attributes like UPC, brand and others along with the other product properties. Also, some improvements were applied to the format of product HTML snippets to meet the Google recommendations on how to better organize product information (title, descriptions, price etc) on the product details pages. These improvements will help search engines to better index your products and optimize their appearance in search results.
175
-
176
- - **Slight improvements of store layout for mobile devices.** All Ecwid stores are mobile-friendly by design, i.e. they adapt themselves to the given layout and look good on mobile devices, so if your site is mobile-optimized, your Ecwid store will be as well. Earlier, if you use horizontal categories widget on your Wordpress site, you might notice that it didn't fit the given width on narrow screens, e.g. when opened on a mobile device. Now, the plugin automatically hides horizontal categories widget on narrow screens to ensure better look on mobile-optimized sites.
177
-
178
- - **Several improvements and bug fixes for plugin settings pages, store appearance and SEO.**
179
-
180
- = 2.3.2 =
181
- - **Fixed an issue in sitemap functionality**. Ecwid uses third party plugin to generate an XML sitemap (Google XML Sitemaps) for store products and categories. The current integration had a bug which caused an error message in Wordpress admin backend for users on Free Ecwid plan. Now it's fixed and everything should work OK.
182
-
183
- = 2.3.1 =
184
- - Automatic generation of the rel="canonical" links for SEO. Canonical links are aimed to specify the preferred (canonical) URL of the web page for search engines to prevent possible duplicate content issues. Ecwid plugin now generates such links automatically for product and categories pages in your store to provide search crawlers with well-structured content and help them better index your store.
185
- - Improved compatibility with CloudFlare Rocket Loader. The merchants who use CloudFlare Rocket Loader extensions on their sites might previously experience issues with loading of their Ecwid stores. We've further improved the plugin code to prevent such issues in the future. Now Ecwid plugin should perfectly work with CloudFlare extensions.
186
- - Several minor fixes and enhancements
187
-
188
- = 2.3 =
189
- - Added compatibility with Google XML Sitemaps plugin. Now you can submit your store items links along with the other site pages to search engines. To use this feature, please install the "Google XML Sitemaps" plugin (http://wordpress.org/plugins/google-sitemap-generator/), generate a sitemap (it will include your products and categories links) and submit it to the search engines to help them better crawl and categorize your site.
190
-
191
- - Improved compatibility with SEO Ultimate plugin. Ecwid plugin always displays your store pages in a proper SEO-friendly format to make the store indexable by search engines. Moreover, we constantly adjust the plugin to make it work fine with popular third party SEO modules. So Ecwid is perfectly compatible with "Wordpress SEO by Yoast", "All in one SEO Pack", "Platinum SEO Pack" and now with "SEO Ultimate" plugin.
192
-
193
- - Minor design improvements of the plugin settings pages to make them mobile-friendly for better compatibility with the backend layout of new Wordpress versions. Now you can manage Ecwid plugin settings in your Wordpress administrator panel using your mobile device.
194
-
195
- - New "Ecwid badges" widget is available. If you like Ecwid and want to help it grow and become the most popular e-commerce solution, you can now add a fancy 'Powered by Ecwid' badge on your site to show your visitors that you're a proud user of Ecwid. Please find the new widget under 'Appearance Widgets' section in your Wordpress backend.
196
-
197
- = 2.2.1 =
198
- - Fixed layout error on General Settings page in Firefox
199
-
200
- = 2.2 =
201
- - Improved compatibility with the new Wordpress version 3.8 which brings great features like brand new responsive theme, revamped admin backend and other improvements. Ecwid plugin is now ready for that, so your store will work perfectly with the new Wordpress version
202
- - The plugin settings pages are now available in seven languages: English, Italian, Russian, French, German, Spanish, Brazilian Portuguese. Ecwid itself is available in 45 languages, so customers from all over the world can purchase from your store
203
- - Design improvements of the plugin settings pages including Retina-ready icons
204
-
205
- = 2.1 =
206
- - Our plugin backend is now available in Italian, Russian and English. Thanks to Luciano Del Fico for the great help with the Italian translation.
207
-
208
- - Improvements and bug fixes, including
209
- - Better SEO for store pages: search engines will now index product options list and category descriptions
210
- - Compatibility with WP Minify (Wordpress sites optimization plugin)
211
- - Improved compatibility with Yoast WP SEO plugin: Ecwid SEO page titles are shown properly with enabled Yoast's "Force Rewrite Titles" option
212
- - Minor text and design tweaks of the plugin settings pages
213
-
214
-
215
- = 2.0 =
216
- - **New revamped plugin settings**: the new settings layout makes the plugin easy and intuitive for starters, yet powerful and advanced for experienced merchants.
217
-
218
- - **Multilingual plugin backend**: the plugin settings now support multilanguage. Currently available in English and Russian. More translations are coming!
219
-
220
- - **SEO improvements**
221
- - Auto generated meta description tags for the product and category pages. Now, Google should properly index product/category descriptions and display them in the search results.
222
- - <title> tags for categories. The SEO category pages in your store now include both title and description tags so they will appear in Google search results properly.
223
-
224
- - **Smooth HTTP/HTTPS switch**: Ecwid always transfers all sensitive data using secure HTTPS connection and a special 'HTTPS' option in the Ecwid plugin settings is not necessary anymore. Now, the plugin detects connection type and adjust Ecwid integration codes automatically. No manual adjustments are needed regardless of whether you run your site under HTTP or HTTPS.
225
-
226
- - **Improved compatibility with CloudFlare Rocket Loader**: previously, using CloudFlare Rocket Loader along with Ecwid might cause intermittent loading issues for some stores. We've improved the plugin code to prevent such issues.
227
-
228
- = 1.8.1 =
229
- - [!] Fixed meta title tag display issue on the main store page appeared with the version 1.8 : in some cases, the store page title tag was stripped. Now it should work OK.
230
-
231
- = 1.8 =
232
- - [+] Improved compatibility with popular SEO plugins (Yoast WordPress SEO, All in one SEO Pack and Platinum SEO pack) : now Ecwid prevents them from generating wrong title and canonical tags on the product pages.
233
- - [+] Ability to display separate categories on separate pages with custom shortcodes. Now, the plugin allows setting different default categories for different store pages. So if you have multiple store pages and want to display specific categories on them, you can set up a default category for each of them in the [ecwid\_productbrowser] shortcode like this: [ecwid\_productbrowser default\_category\_id="12345"] . On the other hand, if you have one store page, you can set the default category on the plugin settings page as usual.
234
- - [+] A few more SEO improvements:
235
- - Product browser's default category ID setting is now taken into consideration by SEO part of the plugin. If you have multiple store pages displaying specific categories of your shop, search engines will index those pages starting from the proper category (not from the store's root)
236
- - <meta fragment="!"> tag is now displayed on every page where [ecwid\_productbrowser] tag is added so search engines will better index each store page
237
- - [+] We also released a lot of new Ecwid features. You can read about them there: http://www.ecwid.com/blog/new-releases/
238
-
239
- = 1.7 =
240
- - [+] various additions to the indexable representation of Ecwid pages (product category in the title and on the page, product options, product SKU). Thanks to Uliya B.
241
- = 1.5 =
242
- - [!] fixed a problem where in some rare occasions the SEO catalog would show a PHP error.
243
- = 1.4 =
244
- - [!] enhanced the backward compatibility with the older inline SEO links
245
- - [+] increased the priority of the product-specific titles in order to work side-by-side with various SEO-related plugins.
246
- = 1.3 =
247
- - [+] Backward compatibility with old Inline SEO Catalog links.
248
- = 1.2 =
249
- - [+] A lot of changes in Ecwid shopping cart: http://www.ecwid.com/blog/new-releases/
250
- - [+] Support of the Google’s “AJAX Crawling” API for native indexing of AJAX applications has been added. This will significantly improve the indexation of Ecwid stores and is a successor of the Inline SEO Catalog feature. More details at https://developers.google.com/webmasters/ajax-crawling/ (This feature requires a paid Ecwid subscription)
251
- - [+] Auto-generated titles for product pages.
252
- - [+] Support of microformats to get rich snippets in search engine results pages.
253
- - [+] New Ecwid section has been added to the admin menu.
254
-
255
- = 1.1.2 =
256
- - [!] Issue with the way how widgets are embedded into the page for the free users was fixed.
257
-
258
- = 1.1.1 =
259
- - [!] Issue with the way how inline SEO catalog is embedded into the page was fixed.
260
-
261
- = 1.1 =
262
- - [+] Improved the compatibility with AJAX-based themes for WP and some web search engines out there.
263
-
264
- = 1.0 =
265
- - [!] The "Single Sign-on" feature didn't work properly in some cases. Fixed.
266
-
267
- = 0.9 =
268
- - [+] The "Single Sign-on" feature has been added. This feature allows your customers to sign into your WordPress site and fully use your store without having to sign into Ecwid.
269
-
270
- = 0.8 =
271
- - [+] New minicart widget: http://kb.ecwid.com/w/page/15853298/Minicart#Miniview
272
- - [+] Stores are loaded faster now, if some Ecwid sidebar widgets are enabled.
273
- - [+] Inline SEO Catalog generates "clean" SEO-friendly page titles now.
274
- - [!] Issue with Inline SEO Catalog and enabled "Canonical URLs" feature has been fixed.
275
-
276
- = 0.7 =
277
- - [!] The "Inline SEO catalog" feature didn't work correctly with WP
278
- permalinks. Fixed.
279
-
280
- = 0.6 =
281
- - [+] The "Inline SEO catalog" option was added.
282
-
283
- = 0.5 =
284
- - [+] Plugin settings page was updated.
285
- - [+] Two new options: "Full link to your mobile catalog" and "Default category ID".
286
-
287
- = 0.4 =
288
- - [+] Instruction in the plugin settings was updated.
289
- - [+] New plugin option to use on secure pages was added.
290
- - [+] Some code tweaks and optimizations.
291
-
292
- = 0.3 =
293
- - [+] Ecwid integration code was updated to the last vesion
294
- - [+] New product browser parameters: http://kb.ecwid.com/Product-Browser
295
- - [+] New built-in "ecwid_ProductBrowserURL" feature: http://kb.ecwid.com/ecwid_ProductBrowserURL
296
-
297
- = 0.2 =
298
- - [+] New sidebar widgets were added: search box, minicart and vertical categories
299
- - [+] New options effecting the store appearance
300
- - [!] Minor bugfixes
301
-
302
- = 0.1 =
303
- - [+] Initial version
 
 
 
 
1
+ === Ecwid Shopping Cart ===
2
+ Contributors: ecwid
3
+ Tags: ecwid, shopping cart, ecommerce, wordpress ecommerce, wp e-commerce, paypal, e-commerce, online store, store, shop, cart, online shop, shopping, digital goods, downloadable products, product catalog, ecomerce, products, facebook, f-commerce
4
+ Requires at least: 2.8
5
+ Tested up to: 4.1
6
+ Stable tag: 3.0
7
+
8
+ Ecwid is a full-featured shopping cart that can be added to any Wordpress site in less than 5 minutes. Start using Ecwid for free today.
9
+
10
+ == Description ==
11
+ **Wordpress.com officially recommends Ecwid as an e-commerce solution to millions of its users!**
12
+
13
+ [Ecwid](http://www.ecwid.com?source=wporg-plugin-site "Ecwid site") is a powerful and easy-to-use shopping cart solution that allows you to sell on your WordPress website. Join over *700,000* sellers in *175* countries and sell globally with over *40* international payment options, real-time shipping integrations and support of *45* languages.
14
+
15
+ = Full-featured Shopping Cart =
16
+
17
+ Ecwid is a free e-commerce solution that is designed to fit any existing site. Simply set up this plugin and your products, categories and checkout pages will automatically embed on your WordPress site and adjust themselves to the given page size and layout. Quickly launch your online shop and use [Ecwid's rich feature set](http://www.ecwid.com/features?source=wporg-plugin-site "Ecwid features") to attract more customers to your WordPress store.
18
+
19
+ = Data Security and Seamless Upgrades =
20
+
21
+ With Ecwid, your store data is fully hosted on our secure servers. So, regardless of the hosting you use, you get free of cost:
22
+
23
+ * unlimited storage and regular backups
24
+ * seamless upgrades and security updates
25
+ * secure checkout via encrypted HTTPS connection
26
+
27
+ So, you don't need to worry about software updates, security patches and server maintenance - we do that for you. Your online store gets all the new features and bug fixes automatically.
28
+
29
+
30
+ = Mobile Responsive Design =
31
+
32
+ Ecwid works fine on any Wordpress site, especially on those running mobile-optimized themes. Your store looks perfect on any smartphone and automatically adapts to your customer’s screen size: laptops, tablets, smart TVs or smart watches. Check out this [demo](http://www.ecwid.com/demo?source=wporg-plugin-site)
33
+
34
+
35
+ = Social Commerce =
36
+
37
+ Unlock power of social commerce with Ecwid – add your existing online store to Facebook in a few clicks and sell to millions of Facebook users. Ecwid will automatically synchronize your products, customers, orders and inventory between your WordPress and Facebook store fronts. Ecwid is the **#1 e-commerce app on Facebook**. Join!
38
+
39
+
40
+ = Sell Everywhere =
41
+
42
+ With Ecwid, you can mirror your online shop on many websites, blogs, social sites and marketplaces like *Google Shopping*, *Yahoo* and *Shopping.com* and sell simultaneously everywhere. Add your store to as many sites as you want, manage it from one place.
43
+
44
+
45
+ = Lightning Fast =
46
+
47
+ New-gen technologies make Ecwid much faster than usual shopping carts regardless the hosting service you use.
48
+
49
+
50
+ = Free =
51
+ Although Ecwid is packed with high-value features, Free plan is always available with no setup charges and no transaction fees. Get your online store up and running without paying anything. As your business grows, you can consider upgrading to one of our premium plans to get more ecommerce features. See also: [Ecwid plan and pricing](http://www.ecwid.com/pricing?source=wporg-plugin-site)
52
+
53
+ = See In Action =
54
+
55
+ * [Demo Store](http://www.ecwid.com/demo?source=wporg-plugin-site "Ecwid demo")
56
+ * [Ecwid Control panel](https://my.ecwid.com/?source=wporg-plugin-site "Ecwid Control Panel") (you will be able to create a free Ecwid account)
57
+
58
+
59
+ = Ecwid Site =
60
+
61
+ * [www.ecwid.com](http://www.ecwid.com/?source=wporg-plugin-site "Ecwid site")
62
+
63
+ == Installation ==
64
+
65
+ = Automatic installation (the easiest way) =
66
+
67
+ 1. In your Wordpress admin backend, navigate to *Plugins → Add New*
68
+ 1. Under Search, type in `Ecwid` and click *Search*
69
+ 1. In the search results find the *Ecwid Shopping Cart* plugin and click *Install now* to install it
70
+ 1. When plugin is installed click *Activate Plugin* link
71
+ 1. Navigate to *Ecwid Store → General* page in your Wordpress admin backend and follow the instruction provided there
72
+
73
+
74
+ = Alternative ways =
75
+
76
+ **Uploading the plugin zip archive in Wordpress admin backend**
77
+
78
+ 1. Download Ecwid plugin from this page (click *Download* button)
79
+ 1. In your Wordpress admin backend, navigate to *Plugins → Add new*
80
+ 1. Click *Upload* link and choose the saved zip file in the appeared dialog window.
81
+ 1. Click *Install*
82
+
83
+ **Uploading plugin folder to Wordpress directory on your server**
84
+
85
+ 1. Download Ecwid plugin from this page (click *Download* button)
86
+ 1. Unpack the downloaded zip archive
87
+ 1. Upload ecwid-shopping-cart directory from the archive to the `/wp-content/plugins/` directory on your server
88
+
89
+ Please refer to this article for the details and troubleshooting on plugin installation in Wordpress:
90
+ http://codex.wordpress.org/Managing_Plugins#Installing_Plugins
91
+
92
+ == Screenshots ==
93
+
94
+ 1. Store home page
95
+ 2. Category page
96
+ 3. Product details page
97
+ 4. Shopping bag
98
+ 5. Ecwid control panel
99
+ 6. Adding new product
100
+ 7. Shipping settings
101
+ 8. Translations
102
+
103
+ == Frequently Asked Questions ==
104
+
105
+ * [FAQ](http://help.ecwid.com/customer/portal/articles/1085017-wordpress-downloadable- "Install Ecwid on Wordpress")
106
+ * [Help Center](http://help.ecwid.com/?source=wporg-plugin-site "Ecwid Help")
107
+ * [Ecwid site](http://www.ecwid.com/?source=wporg-plugin-site "Ecwid Site")
108
+
109
+ == Changelog ==
110
+ = 3.0 =
111
+ - **New sidebar widget: Recently Viewed Products.** A new Ecwid's sidebar widget is now available – your site can now show the products that the customer has recently visited. The links and images in the sidebar are updated automatically, so the customer can return to the product they previously opened and probably decide to buy it. This will increase visibility of your products for the customers and generate more sales. Enable the new widget under Appearance->Widgets menu in your admin backend.
112
+ - **New design of the plugin Dashboard.** The dashboard ("Ecwid") page in the plugin backend is now nicer and more useful.
113
+ - **Completely redesigned Registration page.** This is for the new users of the plugin. When installing the plugin, a user will now see a beautiful welcome page that will introduce them to Ecwid and guide through the setup process.
114
+ - **New easier store connection.** Previously, to connect an Ecwid store with a Wordpress site and display store products, a new user had to copy and paste their store ID from Ecwid Control Panel. Now, even this easy step became easier – the user only needs to click a few buttons to authorize themselves and the plugin will automatically detect and connect their store. For those with technical background: we use oAuth2 for this, which is now a part of the newest Ecwid API.
115
+
116
+
117
+ = 2.8 =
118
+ - **Integration with the XML sitemap functionality of Yoast and All in One SEO Pack plugins.** Ecwid has been integrated with Google XML Sitemaps plugin allowing you to generate a sitemap containing the links to your products and categories. Now, the sitemaps generated by Yoast SEO and All in One SEO plugins will also include store pages, if you're on a paid Ecwid plan.
119
+ - **Improved design of Ecwid sidebar controls in the Appearance/Widgets page in Wordpress backend.** Store sidebar widgets controls are now more noticeable and responsive.
120
+ - **Improved compatibility with the Cloudflare's Rocketloader.** Rocket loader tool sometimes blocked Ecwid scripts from loading. We added another improvements to prevent such issues.
121
+ - **Fixes and improvements of the meta title tag generation on product and categories pages.**
122
+ - **A few minor fixes and adjustments.**
123
+
124
+ = 2.7.4.1 =
125
+ - Additional fixes for the "title" tags on product pages following the 2.7.4 version's updates.
126
+
127
+ = 2.7.4 =
128
+ - Improvements of 'title' and 'canonical' meta tags generation. The update prevents incorrect meta tags appearing in some WordPress themes in WordPress 4.1
129
+
130
+ = 2.7.3 =
131
+ - Several bug fixes and minor improvements for the new "Add Store" button in WordPress Editor
132
+
133
+ = 2.7.2 =
134
+ - **A new sidebar widget: Ecwid Store Page Link.** The widget adds your store page link to the site's sidebar. You may want to use it with blog-focused WordPress themes that don't have a navigation menu, e.g. the upcoming "Twenty Fifteen" theme. Also, you can consider adding the widget to your sidebar to make your store page more visible to your visitors.
135
+ - **Wordpress 4.1 and Twenty Fifteen theme compatibility.** The new WordPress version is coming soon and bringing a brand new 'Twenty Fifteen' theme. Ecwid plugin is now totally ready for the upcoming changes and will work OK in the new environment. Feel free to upgrade your site to Wordpress 4.1 as soon as it's released.
136
+ - A few minor improvements and bugfixes for the new "Add Store" button released in the version 2.7
137
+
138
+ = 2.7.1 =
139
+ - Fixed a few issues with the store appearance settings that were discovered in the recently released update (v2.7)
140
+
141
+ = 2.7 =
142
+ - **A brand new 'Add store' tool in WordPress editor toolbar.** Ecwid is now integrated with WordPress WYSIWYG editor: click the 'Add Store' button in the page editor toolbar, chose widgets to show, adjust the appearance and place your store on any page of your site. Now you can decide what store widgets to show and configure store appearance right in the page editor.
143
+ - **New "[ecwid]" shortcode.** The new shortcode allows you to control every aspect of your store appearance by means of tweaking the shortcode parameters right in the store page code. Display/hide the search widget, choose the minicart layout you like, display different store categories on different site pages and so on. This shortcode serves the "Add Store" button mentioned above and almost every tweak is available in the new "Add Store" window so you don't have to edit any code in most cases. Still, an advanced Wordpress user may consider using shortcodes for more flexible and quick integration.
144
+ - **Improved behavior of single product widgets.** If you put a single product widget on your site using the [ecwid_product] shortcode, you might notice that it opens a popup with the customer cart when a customer purchases the product. Now single product widgets are smarter: when the customer decides to buy a product and opens a cart page, the main store page on your site will be opened providing the customer with the built-in cart&checkout functionality. The checkout layout will fit better your site design and provide better buying experience when it's embedded into a page rather than in a popup-like window.
145
+ - **Fix for the Envision theme.** The Envision theme didn't display Ecwid widgets properly because of a custom page content generation it uses. We issued a workaround from our side to let all Envision users install and use Ecwid plugin on their sites. If you use Envision theme and want to set up an online store on your site, go ahead and install Ecwid plugin, it will work OK for you.
146
+ - **Fixes of PHP notices.** Some of Ecwid users discovered a few PHP notices (warnings) on their site referring to the Ecwid plugin. Although those didn't break anything, they could be quite annoying. We cleaned up the plugin code to get rid of those warning messages, now the plugin should work without any odd message.
147
+
148
+ = 2.6 =
149
+ - **Ecwid's new SEO URLs compatibility.** The new Ecwid clean URLs have been released a few days ago for all Ecwid users. Our WordPress plugin is already fully compatible with the new URLs. Your store pages will be better indexed by search engines and the search results will look more attractive as the links themselves will mention the product/category they lead to. Of course, Ecwid will handle all redirects, backward compatibility with the old URL scheme and avoid any duplicate issues. Enjoy the new SE-friendly URLs with no trouble.
150
+ - **Improved formatting of product snippets markup.** In this update we tidied up in the product HTML representations generated for search engines and fixes a few issues in the products data markup. In particular, the price and availability tags have been re-formatted according to the Google recommendations to ensure better search engine results.
151
+ - **A few improvements and fixes for Twenty Fourteen and Responsive themes layout.** Ecwid looks nice on the vast majority of WordPress themes. Additionally, we strive to make it look even better on the most popular themes. This update brings a few more minor layout fixes for the sites with "Responsive" and "Twenty Fourteen" themes installed.
152
+
153
+ = 2.5 =
154
+ - **Extended compatibility with the "Responsive" WordPress theme.** Ecwid plugin is by design compatible with any theme and automatically adapts itself to any layout and screen size. This makes your store looks good on any device your customers use. One of the most popular free themes for Wordpress -- Responsive -- is also famous for its responsive design. In this update, we adjusted our plugin to better integrate with Responsive theme and Ecwid stores now look a way better on WordPress sites with Responsive themes to provide better user experience on any device and to generate more sales. If you're thinking which WP theme to choose for your site, you should definitely try the "Responsive" theme with Ecwid.
155
+ - **Added compatibility with WordPress 4.0.** WordPress 4.0 is just around the corner and we already prepared our plugin for it. We enhanced the plugin installation process to be compatible with the new plugins management coming with WordPress 4.0 and tested every plugin's function to make sure your stores are ready for the upcoming WordPress update.
156
+ - **Automatic store page recovery functionality.** Some Ecwid users previously faced issues when they deleted or replaced the plugin's generated store page on their Wordpress sites. We added a smart mechanism to Ecwid plugin to automatically detect such situations and prevent any possible troubles connected with them. Now, it you decide to move your store from one page to another within your Wordpress site or temporary hide your store page, the plugin will detect that, find an alternative store page on your site (if any) and keep the links and all the store functionality working OK regardless of whether you currently have a new store page or not. So, whatever update you're making on your site pages, you can rest assured your Ecwid store works fine, be it the product browser, single product snippet or a sidebar widget.
157
+ - **Fixed broken link in single product widgets.** We fixed a minor issue with broken links in single product widgets, that was reported to us recently. You can add a single product to any page of your site as usually by means of [ecwid_product] shortcode -- everything will work fine. All existing single product widget will continue working as well -- no actions is required from your side.
158
+ - **Fixed a few layout issues on the plugin's setting pages.** During the recent updates, we were improving the plugin setting pages interfaces. This update brought a few more fixes to the plugin settings pages to make them more user-friendly.
159
+ - **Several fixes for old WordPress versions.** WordPress is often updated with new features and bug fixes. Still, there are some merchants who use the old versions. While encouraging everyone to update their sites regularly, we want our plugin work great for all users. So, in this update, we added a few fixes addressing issues in the old Wordpress versions (2.8 - 3.1)
160
+
161
+ = 2.4.3.2 =
162
+ - **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.
163
+ - **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.
164
+ - **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.
165
+ - **Several minor fixes and enhancements**
166
+ - **Added in 2.4.3.1:** fixed incompatibility of the plugin v2.4.3 with the servers running PHP 5.2.x
167
+ - **Added in 2.4.3.2:** additional fix for the outdated PHP versions (5.2.x)
168
+
169
+ = 2.4.2 =
170
+ - Minor issue is fixed on the plugin's "General settings" page
171
+
172
+ = 2.4.1 =
173
+ - Added compatibility with the new versions of "Google XML Sitemaps" plugin (v4.0 and higher)
174
+
175
+ = 2.4 =
176
+ - **Ability to add a single product to a page or post on your site using new [ecwid\_product] shortcode.** In addition to embedding a whole product catalog on your Wordpress site, you can also feature a single product on a separate page or blog post of your site and allow your customers to purchase the product right from that page. To embed a product on a page or post, add [ecwid\_product id="12345"] shortcode to the page/post in your Wordpress backend. Do not forget to replace 12345 in this example with the actual product ID.
177
+
178
+ - **Better SEO for store pages.** Ecwid plug-in now automatically adds product attributes to SEO-optimized versions of product pages on your site to let the search engines index attributes like UPC, brand and others along with the other product properties. Also, some improvements were applied to the format of product HTML snippets to meet the Google recommendations on how to better organize product information (title, descriptions, price etc) on the product details pages. These improvements will help search engines to better index your products and optimize their appearance in search results.
179
+
180
+ - **Slight improvements of store layout for mobile devices.** All Ecwid stores are mobile-friendly by design, i.e. they adapt themselves to the given layout and look good on mobile devices, so if your site is mobile-optimized, your Ecwid store will be as well. Earlier, if you use horizontal categories widget on your Wordpress site, you might notice that it didn't fit the given width on narrow screens, e.g. when opened on a mobile device. Now, the plugin automatically hides horizontal categories widget on narrow screens to ensure better look on mobile-optimized sites.
181
+
182
+ - **Several improvements and bug fixes for plugin settings pages, store appearance and SEO.**
183
+
184
+ = 2.3.2 =
185
+ - **Fixed an issue in sitemap functionality**. Ecwid uses third party plugin to generate an XML sitemap (Google XML Sitemaps) for store products and categories. The current integration had a bug which caused an error message in Wordpress admin backend for users on Free Ecwid plan. Now it's fixed and everything should work OK.
186
+
187
+ = 2.3.1 =
188
+ - Automatic generation of the rel="canonical" links for SEO. Canonical links are aimed to specify the preferred (canonical) URL of the web page for search engines to prevent possible duplicate content issues. Ecwid plugin now generates such links automatically for product and categories pages in your store to provide search crawlers with well-structured content and help them better index your store.
189
+ - Improved compatibility with CloudFlare Rocket Loader. The merchants who use CloudFlare Rocket Loader extensions on their sites might previously experience issues with loading of their Ecwid stores. We've further improved the plugin code to prevent such issues in the future. Now Ecwid plugin should perfectly work with CloudFlare extensions.
190
+ - Several minor fixes and enhancements
191
+
192
+ = 2.3 =
193
+ - Added compatibility with Google XML Sitemaps plugin. Now you can submit your store items links along with the other site pages to search engines. To use this feature, please install the "Google XML Sitemaps" plugin (http://wordpress.org/plugins/google-sitemap-generator/), generate a sitemap (it will include your products and categories links) and submit it to the search engines to help them better crawl and categorize your site.
194
+
195
+ - Improved compatibility with SEO Ultimate plugin. Ecwid plugin always displays your store pages in a proper SEO-friendly format to make the store indexable by search engines. Moreover, we constantly adjust the plugin to make it work fine with popular third party SEO modules. So Ecwid is perfectly compatible with "Wordpress SEO by Yoast", "All in one SEO Pack", "Platinum SEO Pack" and now with "SEO Ultimate" plugin.
196
+
197
+ - Minor design improvements of the plugin settings pages to make them mobile-friendly for better compatibility with the backend layout of new Wordpress versions. Now you can manage Ecwid plugin settings in your Wordpress administrator panel using your mobile device.
198
+
199
+ - New "Ecwid badges" widget is available. If you like Ecwid and want to help it grow and become the most popular e-commerce solution, you can now add a fancy 'Powered by Ecwid' badge on your site to show your visitors that you're a proud user of Ecwid. Please find the new widget under 'Appearance → Widgets' section in your Wordpress backend.
200
+
201
+ = 2.2.1 =
202
+ - Fixed layout error on General Settings page in Firefox
203
+
204
+ = 2.2 =
205
+ - Improved compatibility with the new Wordpress version 3.8 which brings great features like brand new responsive theme, revamped admin backend and other improvements. Ecwid plugin is now ready for that, so your store will work perfectly with the new Wordpress version
206
+ - The plugin settings pages are now available in seven languages: English, Italian, Russian, French, German, Spanish, Brazilian Portuguese. Ecwid itself is available in 45 languages, so customers from all over the world can purchase from your store
207
+ - Design improvements of the plugin settings pages including Retina-ready icons
208
+
209
+ = 2.1 =
210
+ - Our plugin backend is now available in Italian, Russian and English. Thanks to Luciano Del Fico for the great help with the Italian translation.
211
+
212
+ - Improvements and bug fixes, including
213
+ - Better SEO for store pages: search engines will now index product options list and category descriptions
214
+ - Compatibility with WP Minify (Wordpress sites optimization plugin)
215
+ - Improved compatibility with Yoast WP SEO plugin: Ecwid SEO page titles are shown properly with enabled Yoast's "Force Rewrite Titles" option
216
+ - Minor text and design tweaks of the plugin settings pages
217
+
218
+
219
+ = 2.0 =
220
+ - **New revamped plugin settings**: the new settings layout makes the plugin easy and intuitive for starters, yet powerful and advanced for experienced merchants.
221
+
222
+ - **Multilingual plugin backend**: the plugin settings now support multilanguage. Currently available in English and Russian. More translations are coming!
223
+
224
+ - **SEO improvements**
225
+ - Auto generated meta description tags for the product and category pages. Now, Google should properly index product/category descriptions and display them in the search results.
226
+ - <title> tags for categories. The SEO category pages in your store now include both title and description tags so they will appear in Google search results properly.
227
+
228
+ - **Smooth HTTP/HTTPS switch**: Ecwid always transfers all sensitive data using secure HTTPS connection and a special 'HTTPS' option in the Ecwid plugin settings is not necessary anymore. Now, the plugin detects connection type and adjust Ecwid integration codes automatically. No manual adjustments are needed regardless of whether you run your site under HTTP or HTTPS.
229
+
230
+ - **Improved compatibility with CloudFlare Rocket Loader**: previously, using CloudFlare Rocket Loader along with Ecwid might cause intermittent loading issues for some stores. We've improved the plugin code to prevent such issues.
231
+
232
+ = 1.8.1 =
233
+ - [!] Fixed meta title tag display issue on the main store page appeared with the version 1.8 : in some cases, the store page title tag was stripped. Now it should work OK.
234
+
235
+ = 1.8 =
236
+ - [+] Improved compatibility with popular SEO plugins (Yoast WordPress SEO, All in one SEO Pack and Platinum SEO pack) : now Ecwid prevents them from generating wrong title and canonical tags on the product pages.
237
+ - [+] Ability to display separate categories on separate pages with custom shortcodes. Now, the plugin allows setting different default categories for different store pages. So if you have multiple store pages and want to display specific categories on them, you can set up a default category for each of them in the [ecwid\_productbrowser] shortcode like this: [ecwid\_productbrowser default\_category\_id="12345"] . On the other hand, if you have one store page, you can set the default category on the plugin settings page as usual.
238
+ - [+] A few more SEO improvements:
239
+ - Product browser's default category ID setting is now taken into consideration by SEO part of the plugin. If you have multiple store pages displaying specific categories of your shop, search engines will index those pages starting from the proper category (not from the store's root)
240
+ - <meta fragment="!"> tag is now displayed on every page where [ecwid\_productbrowser] tag is added so search engines will better index each store page
241
+ - [+] We also released a lot of new Ecwid features. You can read about them there: http://www.ecwid.com/blog/new-releases/
242
+
243
+ = 1.7 =
244
+ - [+] various additions to the indexable representation of Ecwid pages (product category in the title and on the page, product options, product SKU). Thanks to Uliya B.
245
+ = 1.5 =
246
+ - [!] fixed a problem where in some rare occasions the SEO catalog would show a PHP error.
247
+ = 1.4 =
248
+ - [!] enhanced the backward compatibility with the older inline SEO links
249
+ - [+] increased the priority of the product-specific titles in order to work side-by-side with various SEO-related plugins.
250
+ = 1.3 =
251
+ - [+] Backward compatibility with old Inline SEO Catalog links.
252
+ = 1.2 =
253
+ - [+] A lot of changes in Ecwid shopping cart: http://www.ecwid.com/blog/new-releases/
254
+ - [+] Support of the Google’s “AJAX Crawling” API for native indexing of AJAX applications has been added. This will significantly improve the indexation of Ecwid stores and is a successor of the Inline SEO Catalog feature. More details at https://developers.google.com/webmasters/ajax-crawling/ (This feature requires a paid Ecwid subscription)
255
+ - [+] Auto-generated titles for product pages.
256
+ - [+] Support of microformats to get rich snippets in search engine results pages.
257
+ - [+] New Ecwid section has been added to the admin menu.
258
+
259
+ = 1.1.2 =
260
+ - [!] Issue with the way how widgets are embedded into the page for the free users was fixed.
261
+
262
+ = 1.1.1 =
263
+ - [!] Issue with the way how inline SEO catalog is embedded into the page was fixed.
264
+
265
+ = 1.1 =
266
+ - [+] Improved the compatibility with AJAX-based themes for WP and some web search engines out there.
267
+
268
+ = 1.0 =
269
+ - [!] The "Single Sign-on" feature didn't work properly in some cases. Fixed.
270
+
271
+ = 0.9 =
272
+ - [+] The "Single Sign-on" feature has been added. This feature allows your customers to sign into your WordPress site and fully use your store without having to sign into Ecwid.
273
+
274
+ = 0.8 =
275
+ - [+] New minicart widget: http://kb.ecwid.com/w/page/15853298/Minicart#Miniview
276
+ - [+] Stores are loaded faster now, if some Ecwid sidebar widgets are enabled.
277
+ - [+] Inline SEO Catalog generates "clean" SEO-friendly page titles now.
278
+ - [!] Issue with Inline SEO Catalog and enabled "Canonical URLs" feature has been fixed.
279
+
280
+ = 0.7 =
281
+ - [!] The "Inline SEO catalog" feature didn't work correctly with WP
282
+ permalinks. Fixed.
283
+
284
+ = 0.6 =
285
+ - [+] The "Inline SEO catalog" option was added.
286
+
287
+ = 0.5 =
288
+ - [+] Plugin settings page was updated.
289
+ - [+] Two new options: "Full link to your mobile catalog" and "Default category ID".
290
+
291
+ = 0.4 =
292
+ - [+] Instruction in the plugin settings was updated.
293
+ - [+] New plugin option to use on secure pages was added.
294
+ - [+] Some code tweaks and optimizations.
295
+
296
+ = 0.3 =
297
+ - [+] Ecwid integration code was updated to the last vesion
298
+ - [+] New product browser parameters: http://kb.ecwid.com/Product-Browser
299
+ - [+] New built-in "ecwid_ProductBrowserURL" feature: http://kb.ecwid.com/ecwid_ProductBrowserURL
300
+
301
+ = 0.2 =
302
+ - [+] New sidebar widgets were added: search box, minicart and vertical categories
303
+ - [+] New options effecting the store appearance
304
+ - [!] Minor bugfixes
305
+
306
+ = 0.1 =
307
+ - [+] Initial version
templates/connect.php ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="wrap ecwid-admin ecwid-connect">
2
+ <div class="box">
3
+ <div class="head"><?php ecwid_embed_svg('ecwid_logo_symbol_RGB');?>
4
+ <h3>
5
+ <?php _e( 'Ecwid Shopping Cart', 'ecwid-shopping-cart' ); ?>
6
+ </h3>
7
+ </div>
8
+ <div class="greeting-image">
9
+ <img src="<?php echo(esc_attr(ECWID_PLUGIN_URL)); ?>/images/store_inprogress.png" width="142" />
10
+ </div>
11
+
12
+ <div class="greeting-message mobile-br">
13
+ <?php _e( 'Connect your store<br /> to this WordPress site', 'ecwid-shopping-cart' ); ?>
14
+ </div>
15
+
16
+ <div class="connect-button">
17
+ <a href="<?php echo esc_attr($ecwid_oauth->get_auth_dialog_url()); ?>"><?php _e( 'Connect Ecwid store', 'ecwid-shopping-cart' ); ?></a>
18
+ </div>
19
+
20
+ <?php if (!$connection_error): ?>
21
+
22
+ <div class="note initial">
23
+ <?php _e( 'After clicking button you need to login and accept permissions to use our plugin', 'ecwid-shopping-cart' ); ?>
24
+ </div>
25
+
26
+ <?php else: ?>
27
+
28
+ <div class="note auth-error">
29
+ <span>
30
+ <?php _e( 'Connection error - after clicking button you need to login and accept permissions to use our plugin. Please, try again.', 'ecwid-shopping-cart' ); ?>
31
+ </span>
32
+ </div>
33
+
34
+ <?php endif; ?>
35
+
36
+ <div class="create-account-link">
37
+ <a href="">
38
+ <?php _e( "Don't have Ecwid account? Create it here", 'ecwid-shopping-cart' ); ?>
39
+ </a>
40
+ </div>
41
+ </div>
42
+ <p><?php _e('Questions? Visit <a href="http://help.ecwid.com/?source=wporg">Ecwid support center</a>', 'ecwid-shopping-cart'); ?></p>
43
+ </div>
templates/dashboard.php CHANGED
@@ -1,75 +1,58 @@
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 — Dashboard', 'ecwid-shopping-cart'); ?></h2>
5
- <?php settings_fields('ecwid_options_page'); ?>
6
- <fieldset>
7
-
8
- <input type="hidden" name="settings_section" value="general" />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
 
10
- <div class="greeting-box complete">
11
- <div class="image-container">
12
- <img class="greeting-image" src="<?php echo(esc_attr(ECWID_PLUGIN_URL)); ?>/images/store_ready.png" width="142" />
 
13
  </div>
14
-
15
- <div class="messages-container">
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>
28
- <hr />
29
- <div class="section">
30
- <div class="left">
31
- <span class="main-info">
32
- <?php _e('Store ID', 'ecwid-shopping-cart'); ?>: <strong><?php echo esc_attr(get_ecwid_store_id()); ?></strong>
33
- </span>
34
  </div>
35
- <div class="right two-buttons">
36
- <a class="pure-button" target="_blank" href="https://my.ecwid.com/cp/?source=wporg#t1=&t2=Dashboard">
37
- <?php _e('Control panel', 'ecwid-shopping-cart'); ?>
38
- </a>
39
- <a class="pure-button" target="_blank" href="<?php echo esc_attr(get_page_link(get_option('ecwid_store_page_id'))); ?>">
40
- <?php _e('Visit storefront', 'ecwid-shopping-cart'); ?>
41
- </a>
42
  </div>
43
- </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">
62
- <?php
63
- echo sprintf(
64
- __('If you want to connect another Ecwid store, you can <a %s>disconnect the current one and change Store ID</a>.', 'ecwid-shopping-cart'),
65
- 'href="#" onClick="javascript:document.forms[\'settings\'].submit(); return false;"'
66
- );
67
- ?>
68
 
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 ecwid-admin ecwid-dashboard">
2
+ <div class="box">
3
+ <div class="head">
4
+ <?php ecwid_embed_svg('ecwid_logo_symbol_RGB');?>
5
+ <h3>
6
+ <?php _e( 'Ecwid Shopping Cart', 'ecwid-shopping-cart' ); ?>
7
+ </h3>
8
+ <div class="store-id drop-down">
9
+ <span>
10
+ <?php _e( 'Store ID', 'ecwid-shopping-cart' ); ?> : <?php echo get_ecwid_store_id(); ?>
11
+ </span>
12
+ <ul>
13
+ <li>
14
+ <a href="admin-post.php?action=ecwid_disconnect"><?php _e( 'Disconnect store', 'ecwid-shopping-cart' ); ?></a>
15
+ </li>
16
+ </ul>
17
+ </div>
18
+ </div>
19
+ <div class="body">
20
+ <div class="greeting-image">
21
+ <img src="<?php echo(esc_attr(ECWID_PLUGIN_URL)); ?>/images/store_ready.png" width="142" />
22
+ </div>
23
 
24
+ <div class="greeting">
25
+ <?php if (@$_GET['settings-updated']): ?>
26
+ <div class="greeting-title">
27
+ <?php _e('Congratulations!', 'ecwid-shopping-cart'); ?>
28
  </div>
29
+ <div class="greeting-message mobile-br">
30
+ <?php _e( 'Your Ecwid store is now connected<br /> to your WordPress website', 'ecwid-shopping-cart' ); ?>
 
 
 
 
 
 
 
 
 
 
31
  </div>
32
+ <?php else: ?>
33
+
34
+ <div class="greeting-title">
35
+ <?php _e('Greetings!', 'ecwid-shopping-cart'); ?>
 
 
 
36
  </div>
37
+ <div class="greeting-message mobile-br">
38
+ <?php _e( 'Your Ecwid store is connected<br /> to your WordPress website', 'ecwid-shopping-cart' ); ?>
 
 
 
 
 
39
  </div>
40
+ <?php endif; ?>
41
 
42
+ <ul class="greeting-links">
43
+ <li>
44
+ <a href="<?php echo ecwid_get_store_page_url(); ?>"><?php _e('Visit storefront', 'ecwid-shopping-cart'); ?></a>
45
+ </li>
46
+ <li>
47
+ <a href="//my.ecwid.com/cp?source=wporg"><?php _e('Open control panel', 'ecwid-shopping-cart'); ?></a>
48
+ </li>
49
+ </ul>
50
 
 
 
 
 
 
 
 
51
 
 
 
 
 
 
 
 
52
 
53
  </div>
54
+ </div>
55
 
56
+ </div>
57
+ <p><?php _e('Questions? Visit <a href="http://help.ecwid.com/?source=wporg">Ecwid support center</a>', 'ecwid-shopping-cart'); ?></p>
 
 
58
  </div>
templates/landing.php ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="ecwid-landing <?php echo $register ? 'register' : 'connect'; echo $connection_error ? ' conn-error': ''; ?>">
2
+ <div class="ecwid-thank">
3
+ <h1 class="on-register">
4
+ <span><?php _e('Plugin is installed successfully!', 'ecwid-shopping-cart'); ?></span>
5
+ <?php _e('There are just a few steps left to start selling<br />on your WordPress site', 'ecwid-shopping-cart'); ?>
6
+ </h1>
7
+ <h1 class="on-connect">
8
+ <span><?php _e('Plugin is installed successfully!', 'ecwid-shopping-cart'); ?></span>
9
+ <?php _e('There are few little steps left to start selling<br />on your WordPress site', 'ecwid-shopping-cart'); ?>
10
+ </h1>
11
+ <div class="ecwid-thank-steps">
12
+ <div class="ecwid-thank-step ecwid-thank-step-one<?php echo $register ?'' : ' active'; ?>">
13
+ <div class="ecwid-thank-step-image"><img src="<?php echo ECWID_PLUGIN_URL; ?>images/landing/ecwid.svg" class="none-active"><img src="<?php echo ECWID_PLUGIN_URL; ?>images/landing/ecwid-active.svg" class="active"></div>
14
+ <div class="ecwid-thank-step-description">
15
+ <h2><?php _e('Register', 'ecwid-shopping-cart'); ?></h2>
16
+ <p><?php _e('Create a free Ecwid account to manage your<br />store and inventory. No credit card required', 'ecwid-shopping-cart'); ?></p>
17
+ </div>
18
+ </div>
19
+ <div class="ecwid-thank-step ecwid-thank-step-two">
20
+ <div class="ecwid-thank-step-image"><img src="<?php echo ECWID_PLUGIN_URL; ?>images/landing/plug.svg" class="none-active"><img src="<?php echo ECWID_PLUGIN_URL; ?>images/landing/plug-active.svg" class="active"></div>
21
+ <div class="ecwid-thank-step-description">
22
+ <h2>
23
+ <?php _e('Connect', 'ecwid-shopping-cart'); ?>
24
+ </h2>
25
+ <p class="on-register"><?php _e('Add your Ecwid store to your site<br />in two clicks', 'ecwid-shopping-cart'); ?></p>
26
+ <p class="on-connect"><?php _e('Connect your Ecwid store to this site<br />in two clicks', 'ecwid-shopping-cart'); ?></p>
27
+ </div>
28
+ </div>
29
+ <div class="ecwid-thank-step ecwid-thank-step-three">
30
+ <div class="ecwid-thank-step-image">
31
+ <img src="<?php echo ECWID_PLUGIN_URL; ?>images/landing/dollar.svg" class="none-active">
32
+ <img src="<?php echo ECWID_PLUGIN_URL; ?>images/landing/dollar-active.svg" class="active">
33
+ </div>
34
+ <div class="ecwid-thank-step-description">
35
+ <h2><?php _e('Start selling', 'ecwid-shopping-cart'); ?></h2>
36
+ <p><?php _e('Your storefront is ready', 'ecwid-shopping-cart'); ?></p>
37
+ </div>
38
+ </div>
39
+ </div>
40
+ <div class="ecwid-button">
41
+ <a target="_blank" href="https://my.ecwid.com/cp/?source=wporg#register" class="button button--blue on-register" onclick="javascript:switch_to_connect()">
42
+ <?php _e('Create Ecwid store', 'ecwid-shopping-cart'); ?>
43
+ </a>
44
+ <button class="button button--green on-connect" onclick="javascript:location.href='<?php echo esc_attr($ecwid_oauth->get_auth_dialog_url()); ?>';">
45
+ <?php _e('Connect your store', 'ecwid-shopping-cart'); ?>
46
+ </button>
47
+ <div class="button-description-mobile on-register">
48
+ <?php _e('Free registration, No credit card required', 'ecwid-shopping-cart'); ?>
49
+ </div>
50
+ <div class="button-description-mobile on-error ecwid-connection-error">
51
+ <?php _e( 'Connection error: please click the button again and give permissions for this plugin<br /> to show your Ecwid store on this site.', 'ecwid-shopping-cart' ); ?>
52
+ </div>
53
+ <div class="button-description-mobile on-connect on-no-error">
54
+ <?php _e('You will be asked to log in to your Ecwid Control Panel<br />and give permissions to show your store on this site', 'ecwid-shopping-cart'); ?>
55
+ </div>
56
+ <div class="ecwid-button-description on-register">
57
+ <?php _e('Already have Ecwid account?', 'ecwid-shopping-cart'); ?>
58
+ <a href="<?php echo esc_attr($ecwid_oauth->get_auth_dialog_url()); ?>"><?php _e('Connect your store to Wordpress site', 'ecwid-shopping-cart'); ?></a>
59
+ </div>
60
+ <div class="ecwid-button-description on-connect">
61
+ <?php _e('Don\'t have an Ecwid account?', 'ecwid-shopping-cart'); ?>
62
+ <a target="_blank" href="https://my.ecwid.com/cp/?source=wporg#register" onclick="javascript:switch_to_connect();"><?php _e('Register at Ecwid for free', 'ecwid-shopping-cart'); ?></a>
63
+ </div>
64
+ <div class="button-description-mobile on-register">
65
+ <?php _e('You will be asked to log in to your Ecwid Control Panel<br />and give permissions to show your store on this site', 'ecwid-shopping-cart'); ?>
66
+ </div>
67
+ <div class="button-description-mobile on-connect">
68
+ <?php _e('No credit card required', 'ecwid-shopping-cart'); ?>
69
+ </div>
70
+ <div class="button-description-mobile">
71
+ <h3><?php _e('Get ready to sell online', 'ecwid-shopping-cart'); ?></h3>
72
+ </div>
73
+ </div>
74
+ <div class="ecwid-thank-background">
75
+ <div class="ecwid-thank-background-tablet"><img src="<?php echo ECWID_PLUGIN_URL; ?>images/landing/tablet-iphone.png"></div>
76
+ </div>
77
+ </div>
78
+ <div class="ecwid-description">
79
+ <div class="ecwid-description-inner">
80
+ <div class="ecwid-description-image"><img src="<?php echo ECWID_PLUGIN_URL; ?>images/landing/ecwid-description-image.jpg"></div>
81
+ <div class="ecwid-description-text">
82
+ <h2><?php _e('Sell Everywhere<br>with your Ecwid store', 'ecwid-shopping-cart'); ?></h2>
83
+ <p><?php _e('Start selling on your WordPress site. Then mirror your shop on your Facebook page, blog and marketplaces like Google Shopping, Yahoo and Shopping.com.', 'ecwid-shopping-cart'); ?></p>
84
+ <p><?php _e('Use Ecwid\'s mobile-POS to swipe credit cards and sell on the go. Your orders and inventory are always synchronized with your online store.', 'ecwid-shopping-cart'); ?></p>
85
+ </div>
86
+ </div>
87
+ </div>
88
+ <div class="ecwid-features">
89
+ <div class="ecwid-features-inner">
90
+ <h2><?php _e('Features', 'ecwid-shopping-cart'); ?></h2>
91
+ <div class="ecwid-features-top">
92
+ <div class="ecwid-features-top-item">
93
+ <div class="ecwid-features-top-item-image">
94
+ <img src="<?php echo ECWID_PLUGIN_URL; ?>images/landing/wordpress.svg">
95
+ </div>
96
+ <div class="ecwid-features-top-item-text">
97
+ <h3><?php _e('Compatible with your theme', 'ecwid-shopping-cart'); ?></h3>
98
+ <p><?php echo sprintf(__('Ecwid is compatible with your<br>“%s” WordPress theme<br>out of the box.', 'ecwid-shopping-cart'), ecwid_get_theme_name()); ?></p>
99
+ </div>
100
+ </div>
101
+ <div class="ecwid-features-top-item">
102
+ <div class="ecwid-features-top-item-image">
103
+ <img src="<?php echo ECWID_PLUGIN_URL; ?>images/landing/gift.svg" class="gift">
104
+ </div>
105
+ <div class="ecwid-features-top-item-text">
106
+ <h3><?php _e('Free and always up to date', 'ecwid-shopping-cart'); ?></h3>
107
+ <p><?php _e('Free plan always available with tons of features<br>at no additional cost. Seamless upgrades occur<br>automatically for free.', 'ecwid-shopping-cart'); ?></p>
108
+ </div>
109
+ </div>
110
+ </div>
111
+ <div class="ecwid-features-bottom">
112
+ <div class="ecwid-features-bottom-item">
113
+ <div class="ecwid-features-bottom-item-image">
114
+ <img src="<?php echo ECWID_PLUGIN_URL; ?>images/landing/responsive-grow.svg">
115
+ </div>
116
+ <div class="ecwid-features-bottom-item-text">
117
+ <h3><?php _e('Responsive design', 'ecwid-shopping-cart'); ?></h3>
118
+ <p><?php _e('Your store looks perfect<br />on all devices', 'ecwid-shopping-cart'); ?></p>
119
+ </div>
120
+ </div>
121
+ <div class="ecwid-features-bottom-item">
122
+ <div class="ecwid-features-bottom-item-image">
123
+ <img src="<?php echo ECWID_PLUGIN_URL; ?>images/landing/secure-pci.svg" class="secure">
124
+ </div>
125
+ <div class="ecwid-features-bottom-item-text">
126
+ <h3><?php _e('PCI-DSS Certified', 'ecwid-shopping-cart'); ?></h3>
127
+ <p><?php _e('Secure checkout with over 40<br />payment options', 'ecwid-shopping-cart'); ?></p>
128
+ </div>
129
+ </div>
130
+ <div class="ecwid-features-bottom-item">
131
+ <div class="ecwid-features-bottom-item-image">
132
+ <img src="<?php echo ECWID_PLUGIN_URL; ?>images/landing/global.svg">
133
+ </div>
134
+ <div class="ecwid-features-bottom-item-text">
135
+ <h3><?php _e('Global Reach', 'ecwid-shopping-cart'); ?></h3>
136
+ <p><?php _e('More than 700,000 merchants in 175 countries', 'ecwid-shopping-cart'); ?></p>
137
+ </div>
138
+ </div>
139
+ </div>
140
+ </div>
141
+ </div>
142
+ <div class="ecwid-start">
143
+ <h2><?php _e('Start selling <br>on your WordPress <nobr>site for free</nobr>', 'ecwid-shopping-cart'); ?>
144
+ </h2>
145
+ <div class="ecwid-button">
146
+ <a target="_blank" href="https://my.ecwid.com/cp/?source=wporg#register" class="button button--blue on-register" onclick="javascript:switch_to_connect();">
147
+ <?php _e('Get Started, Create Ecwid Account', 'ecwid-shopping-cart'); ?>
148
+ </a>
149
+ <a class="button button--green on-connect" href="<?php echo esc_attr($ecwid_oauth->get_auth_dialog_url()); ?>';">
150
+ <?php _e('Connect your store', 'ecwid-shopping-cart'); ?>
151
+ </a>
152
+ <div class="ecwid-button-description on-register">
153
+ <?php _e('Already have Ecwid account?', 'ecwid-shopping-cart'); ?>
154
+ <a href="<?php echo esc_attr($ecwid_oauth->get_auth_dialog_url()); ?>"><?php _e('Connect your store to this site', 'ecwid-shopping-cart'); ?></a>
155
+ </div>
156
+ <div class="ecwid-button-description on-connect">
157
+ <?php _e('Don\'t have an Ecwid account?', 'ecwid-shopping-cart'); ?>
158
+ <a target="_blank" href="https://my.ecwid.com/cp/?source=wporg#register" onclick="javascript:switch_to_connect()"><?php _e('Register at Ecwid for free', 'ecwid-shopping-cart'); ?></a>
159
+ </div>
160
+
161
+ </div>
162
+ </div>
163
+ </div>
templates/reconnect.php ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="wrap ecwid-admin ecwid-connect">
2
+ <div class="box">
3
+ <h3>
4
+ <?php ecwid_embed_svg('ecwid_logo_symbol_RGB');?>
5
+ <?php _e( 'Ecwid Shopping Cart', 'ecwid-shopping-cart' ); ?>
6
+ <span class="close"></span>
7
+ </h3>
8
+ <div class="greeting-image">
9
+ <img src="<?php echo(esc_attr(ECWID_PLUGIN_URL)); ?>/images/store_inprogress.png" width="142" />
10
+ </div>
11
+
12
+ <div class="greeting-message mobile-br">
13
+ <?php _e( 'Reconnect your store<br /> to this WordPress site', 'ecwid-shopping-cart' ); ?>
14
+ </div>
15
+
16
+ <div class="connect-button">
17
+ <a href="<?php echo esc_attr($ecwid_oauth->get_auth_dialog_url()); ?>"><?php _e( 'Reconnect Ecwid store', 'ecwid-shopping-cart' ); ?></a>
18
+ </div>
19
+
20
+ <div class="note initial">
21
+ <?php _e( 'New features available, reconnect to be in touch with our updates', 'ecwid-shopping-cart' ); ?>
22
+ </div>
23
+
24
+ <div class="create-account-link">
25
+ <a href="">
26
+ <?php _e( "Don't have Ecwid account? Create it here", 'ecwid-shopping-cart' ); ?>
27
+ </a>
28
+ </div>
29
+ </div>
30
+ <p><?php _e('Questions? Visit <a href="http://help.ecwid.com/?source=wporg">Ecwid support center</a>', 'ecwid-shopping-cart'); ?></p>
31
+ </div>