WooCommerce Customizer - Version 2.4.0

Version Description

  • Fix - Image placeholder replacements are only shown in the shop, not in the WP admin
  • Localization - Includes Persian translation, props Saakhtani team!
  • Misc - Added support for WooCommerce 3.0
  • Misc - Removed support for WooCommerce 2.4
Download this release

Release Info

Developer SkyVerge
Plugin Icon WooCommerce Customizer
Version 2.4.0
Comparing to
See all releases

Code changes from version 2.3.1 to 2.4.0

i18n/languages/woocommerce-customizer-fa_IR.mo ADDED
Binary file
i18n/languages/woocommerce-customizer-fa_IR.po ADDED
@@ -0,0 +1,347 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce Customizer\n"
4
+ "POT-Creation-Date: 2016-09-25 10:38+0330\n"
5
+ "PO-Revision-Date: 2016-09-25 11:14+0330\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: \n"
8
+ "Language: fa_IR\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.8\n"
13
+ "X-Poedit-Basepath: ../..\n"
14
+ "X-Poedit-WPHeader: woocommerce-customizer.php\n"
15
+ "Plural-Forms: nplurals=1; plural=0;\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
18
+ "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
19
+ "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+ "X-Poedit-SearchPathExcluded-0: *.js\n"
22
+
23
+ #: includes/class-wc-customizer-settings.php:45
24
+ msgid "Customizer"
25
+ msgstr "سفارشی ساز"
26
+
27
+ #: includes/class-wc-customizer-settings.php:60
28
+ msgid "Shop Loop"
29
+ msgstr "حلقه فروشگاه"
30
+
31
+ #: includes/class-wc-customizer-settings.php:61
32
+ msgid "Product Page"
33
+ msgstr "صفحه محصول"
34
+
35
+ #: includes/class-wc-customizer-settings.php:62
36
+ msgid "Checkout"
37
+ msgstr "صفحه بررسی"
38
+
39
+ #: includes/class-wc-customizer-settings.php:63
40
+ #: includes/class-wc-customizer-settings.php:304
41
+ msgid "Misc"
42
+ msgstr "متفرقه"
43
+
44
+ #: includes/class-wc-customizer-settings.php:145
45
+ #: includes/class-wc-customizer-settings.php:256
46
+ msgid "Add to Cart Button Text"
47
+ msgstr "دکمه اضافه کردن به سبد خرید"
48
+
49
+ #: includes/class-wc-customizer-settings.php:151
50
+ msgid "Simple Product"
51
+ msgstr "محصول ساده"
52
+
53
+ #: includes/class-wc-customizer-settings.php:152
54
+ msgid ""
55
+ "Changes the add to cart button text for simple products on all loop pages"
56
+ msgstr ""
57
+ "متن دکمه اضافه کردن به سبد خرید را در تمامی صفحات و برای \"محصولات ساده\" "
58
+ "تغییر می دهد"
59
+
60
+ #: includes/class-wc-customizer-settings.php:158
61
+ msgid "Variable Product"
62
+ msgstr "محصولات متغیر"
63
+
64
+ #: includes/class-wc-customizer-settings.php:159
65
+ msgid ""
66
+ "Changes the add to cart button text for variable products on all loop pages"
67
+ msgstr ""
68
+ "متن دکمه اضافه کردن به سبد خرید را در تمامی صفحات و برای \"محصولات متغیر\" "
69
+ "تغییر می دهد"
70
+
71
+ #: includes/class-wc-customizer-settings.php:165
72
+ msgid "Grouped Product"
73
+ msgstr "محصولات گروهی"
74
+
75
+ #: includes/class-wc-customizer-settings.php:166
76
+ msgid ""
77
+ "Changes the add to cart button text for grouped products on all loop pages"
78
+ msgstr ""
79
+ "متن دکمه اضافه کردن به سبد خرید را در تمامی صفحات و برای \"محصولات گروهی\" "
80
+ "تغییر می دهد"
81
+
82
+ #: includes/class-wc-customizer-settings.php:172
83
+ msgid "Out of Stock Product"
84
+ msgstr "محصولات نا موجود"
85
+
86
+ #: includes/class-wc-customizer-settings.php:173
87
+ msgid ""
88
+ "Changes the add to cart button text for out of stock products on all loop "
89
+ "pages"
90
+ msgstr ""
91
+ "متن دکمه اضافه کردن به سبد خرید را در تمامی صفحات و برای \"محصولات نا موجود"
92
+ "\" تغییر می دهد"
93
+
94
+ #: includes/class-wc-customizer-settings.php:180
95
+ msgid "Layout"
96
+ msgstr "طرح و ترکیب"
97
+
98
+ #: includes/class-wc-customizer-settings.php:186
99
+ msgid "Products displayed per page"
100
+ msgstr "تعداد محصولات نمایش داده شده در هر صفحه"
101
+
102
+ #: includes/class-wc-customizer-settings.php:187
103
+ msgid "Changes the number of products displayed per page"
104
+ msgstr "تعداد محصولات نمایش داده شده در هر صفحه را تغییر می دهد"
105
+
106
+ #: includes/class-wc-customizer-settings.php:193
107
+ msgid "Product columns displayed per page"
108
+ msgstr "تعداد ستون های محصولات نمایش داده شده در هر صفحه"
109
+
110
+ #: includes/class-wc-customizer-settings.php:194
111
+ msgid "Changes the number of columns displayed per page"
112
+ msgstr "تعداد ستون های محصولات نمایش داده شده در هر صفحه را تغییر می دهد"
113
+
114
+ #: includes/class-wc-customizer-settings.php:200
115
+ msgid "Product thumbnail columns displayed"
116
+ msgstr "تعداد ستون های عکس بند انگشتی محصولات نمایش داده شده در هر صفحه"
117
+
118
+ #: includes/class-wc-customizer-settings.php:201
119
+ msgid "Changes the number of product thumbnail columns displayed"
120
+ msgstr ""
121
+ "تعداد ستون های عکس بند انگشتی محصولات نمایش داده شده در هر صفحه را تغییر می "
122
+ "دهد"
123
+
124
+ #: includes/class-wc-customizer-settings.php:214
125
+ msgid "Tab Titles"
126
+ msgstr "عنوان تب ها"
127
+
128
+ #: includes/class-wc-customizer-settings.php:220
129
+ #: includes/class-wc-customizer-settings.php:241
130
+ msgid "Product Description"
131
+ msgstr "توضیحات محصول"
132
+
133
+ #: includes/class-wc-customizer-settings.php:221
134
+ msgid "Changes the Production Description tab title"
135
+ msgstr "عنوان تب توضیحات محصول را تغییر می دهد"
136
+
137
+ #: includes/class-wc-customizer-settings.php:227
138
+ #: includes/class-wc-customizer-settings.php:248
139
+ msgid "Additional Information"
140
+ msgstr "اطلاعات اضافی"
141
+
142
+ #: includes/class-wc-customizer-settings.php:228
143
+ msgid "Changes the Additional Information tab title"
144
+ msgstr "عنوان تب اطلاعات اضافی محصول را تغییر می دهد"
145
+
146
+ #: includes/class-wc-customizer-settings.php:235
147
+ msgid "Tab Content Headings"
148
+ msgstr "هدینگ های محتوای تب ها"
149
+
150
+ #: includes/class-wc-customizer-settings.php:242
151
+ msgid "Changes the Product Description tab heading"
152
+ msgstr "هدینگ تب توضیحات محصول را تغییر می دهد"
153
+
154
+ #: includes/class-wc-customizer-settings.php:249
155
+ msgid "Changes the Additional Information tab heading"
156
+ msgstr "هدینگ تباطلاعات اضافی محصول را تغییر می دهد"
157
+
158
+ #: includes/class-wc-customizer-settings.php:262
159
+ msgid "All Product Types"
160
+ msgstr "همه انواع محصولات"
161
+
162
+ #: includes/class-wc-customizer-settings.php:263
163
+ msgid ""
164
+ "Changes the Add to Cart button text on the single product page for all "
165
+ "product type"
166
+ msgstr ""
167
+ "این گزینه متن دکمه \"اضافه کردن به سبد خرید\" را در \"صفحه محصول\" و برای "
168
+ "\"همه نوع محصول\" عوض می کند"
169
+
170
+ #: includes/class-wc-customizer-settings.php:275
171
+ msgid "Messages"
172
+ msgstr "پیام ها"
173
+
174
+ #: includes/class-wc-customizer-settings.php:281
175
+ msgid "Must be logged in text"
176
+ msgstr "متن پیام \"باید وارد شده باشید\""
177
+
178
+ #: includes/class-wc-customizer-settings.php:282
179
+ msgid ""
180
+ "Changes the message displayed when a customer must be logged in to checkout"
181
+ msgstr ""
182
+ "متنی که اعلام می کند مشتری برای بررسی و نهایی کردن خرید باید وارد شده باشد "
183
+ "را تغییر می دهد"
184
+
185
+ #: includes/class-wc-customizer-settings.php:288
186
+ msgid "Coupon text"
187
+ msgstr "متن کوپن"
188
+
189
+ #: includes/class-wc-customizer-settings.php:289
190
+ msgid "Changes the message displayed if the coupon form is enabled on checkout"
191
+ msgstr ""
192
+ "متن پیامی که حاوی فعال بودن پذیرش کوپن در فرم بررسی نهایی است را تغییر می دهد"
193
+
194
+ #: includes/class-wc-customizer-settings.php:296
195
+ msgid "Login text"
196
+ msgstr "متن ورود"
197
+
198
+ #: includes/class-wc-customizer-settings.php:297
199
+ msgid "Changes the message displayed if customers can login at checkout"
200
+ msgstr ""
201
+ "متن پیامی را که -اگر مشتریان قادر به ورود در صفحه بررسی نهایی باشند- نشان "
202
+ "داده می شود را تغییر می دهد."
203
+
204
+ #: includes/class-wc-customizer-settings.php:310
205
+ msgid "Create Account checkbox default"
206
+ msgstr "حالت پیشفرض چک باکس ساخت حساب کاربری"
207
+
208
+ #: includes/class-wc-customizer-settings.php:311
209
+ msgid "Control the default state for the Create Account checkbox"
210
+ msgstr "حالت پیشفرض چک باکس ساخت حساب کاربری را کنترل می کند"
211
+
212
+ #: includes/class-wc-customizer-settings.php:314
213
+ msgid "Checked"
214
+ msgstr "انتخاب شده"
215
+
216
+ #: includes/class-wc-customizer-settings.php:315
217
+ msgid "Unchecked"
218
+ msgstr "انتخاب نشده"
219
+
220
+ #: includes/class-wc-customizer-settings.php:322
221
+ msgid "Submit Order button"
222
+ msgstr "دکمه ارسال سفارش"
223
+
224
+ #: includes/class-wc-customizer-settings.php:323
225
+ msgid "Changes the Place Order button text on checkout"
226
+ msgstr "متن دکمه \"نهایی کردن خرید\" در قسمت بررسی نهایی را تغییر می دهد"
227
+
228
+ #: includes/class-wc-customizer-settings.php:336
229
+ msgid "Tax"
230
+ msgstr "مالیات"
231
+
232
+ #: includes/class-wc-customizer-settings.php:342
233
+ msgid "Tax Label"
234
+ msgstr "عنوان مالیات"
235
+
236
+ #: includes/class-wc-customizer-settings.php:343
237
+ msgid ""
238
+ "Changes the Taxes label. Defaults to Tax for USA, VAT for European countries"
239
+ msgstr ""
240
+ "تغییر عنوان مالیات ها ، پیشفرض عنوان TAX برای امریکا و VAT برای کشور های "
241
+ "اروپایی است"
242
+
243
+ #: includes/class-wc-customizer-settings.php:349
244
+ msgid "Including Tax Label"
245
+ msgstr "شامل عنوان مالیات"
246
+
247
+ #: includes/class-wc-customizer-settings.php:350
248
+ msgid ""
249
+ "Changes the Including Taxes label. Defaults to Inc. tax for USA, Inc. VAT "
250
+ "for European countries"
251
+ msgstr ""
252
+ "تغییر عنوان مالیات های شامل ، پیشفرض عنوان TAX برای امریکا و VAT برای کشور "
253
+ "های اروپایی است"
254
+
255
+ #: includes/class-wc-customizer-settings.php:356
256
+ msgid "Excluding Tax Label"
257
+ msgstr "به غیر از عنوان مالیات"
258
+
259
+ #: includes/class-wc-customizer-settings.php:357
260
+ msgid ""
261
+ "Changes the Excluding Taxes label. Defaults to Exc. tax for USA, Exc. VAT "
262
+ "for European countries"
263
+ msgstr ""
264
+ "تغییر عنوان مالیات های اضافی ، پیشفرض عنوان TAX برای امریکا و VAT برای کشور "
265
+ "های اروپایی است"
266
+
267
+ #: includes/class-wc-customizer-settings.php:364
268
+ msgid "Images"
269
+ msgstr "تصاویر"
270
+
271
+ #: includes/class-wc-customizer-settings.php:370
272
+ msgid "Placeholder Image source"
273
+ msgstr "آدرس تصویر جا نگه دار"
274
+
275
+ #: includes/class-wc-customizer-settings.php:371
276
+ msgid ""
277
+ "Change the default placeholder image by setting this to a valid image URL"
278
+ msgstr ""
279
+ "تصویر جا نگه دار پیشفرض ووکامرس را با تغییر آن به پیوند یکتای عکس جدید ، "
280
+ "تغییر می دهد"
281
+
282
+ #: woocommerce-customizer.php:50
283
+ #, php-format
284
+ msgid ""
285
+ "%1$sWooCommerce Customizer is inactive.%2$s This version requires "
286
+ "WooCommerce 2.4.13 or newer. Please %3$supdate WooCommerce to version 2.4.13 "
287
+ "or newer%4$s"
288
+ msgstr ""
289
+ "%1$s سفارشی ساز ووکامرس غیر فعال است.%2$s این نگارش برای کارکرد صحیح به "
290
+ "ووکامرس با نگارش 2.4.13 و یا نگارشی جدید تر نیازمند است. لطفا %3$s ووکامرس "
291
+ "را به نگارش 2.4.13 یا جدیدتر به روز رسانی کنید.%4$s"
292
+
293
+ #: woocommerce-customizer.php:70
294
+ #, php-format
295
+ msgid ""
296
+ "%1$sWooCommerce Customizer is inactive%2$s as it requires WooCommerce. "
297
+ "Please %3$sactivate WooCommerce version 2.4.13 or newer%4$s"
298
+ msgstr ""
299
+ "%1$s سفارشی ساز ووکامرس غیر فعال است.%2$s این نگارش برای کارکرد صحیح به "
300
+ "ووکامرس با نگارش 2.4.13 و یا نگارشی جدید تر نیازمند است. لطفا %3$s ووکامرس "
301
+ "را به نگارش 2.4.13 یا جدیدتر به روز رسانی کنید.%4$s"
302
+
303
+ #: woocommerce-customizer.php:163
304
+ #, php-format
305
+ msgid "You cannot clone instances of %s."
306
+ msgstr "شما نمی توانید موارد %s را تکثیر کنید"
307
+
308
+ #: woocommerce-customizer.php:175
309
+ #, php-format
310
+ msgid "You cannot unserialize instances of %s."
311
+ msgstr "شما نمی توانید موارد %s را از حالت سریالی خارج کنید."
312
+
313
+ #: woocommerce-customizer.php:355
314
+ msgid "Configure"
315
+ msgstr "پیکربندی"
316
+
317
+ #: woocommerce-customizer.php:356
318
+ msgid "FAQ"
319
+ msgstr "سوالات متداول"
320
+
321
+ #: woocommerce-customizer.php:357
322
+ msgid "Support"
323
+ msgstr "پشتیبانی"
324
+
325
+ #. Plugin Name of the plugin/theme
326
+ msgid "WooCommerce Customizer"
327
+ msgstr "سفارشی ساز ووکامرس"
328
+
329
+ #. Plugin URI of the plugin/theme
330
+ msgid "http://www.skyverge.com/product/woocommerce-customizer/"
331
+ msgstr "http://www.skyverge.com/product/woocommerce-customizer/"
332
+
333
+ #. Description of the plugin/theme
334
+ msgid ""
335
+ "Customize WooCommerce without code! Easily change add to cart button text "
336
+ "and more."
337
+ msgstr ""
338
+ "سفارشی ووکامرس بدون نیاز به برنامه نویسی ! به راحتی مورد های مختلف ووکامرس "
339
+ "را سفارشی کنید ..."
340
+
341
+ #. Author of the plugin/theme
342
+ msgid "SkyVerge"
343
+ msgstr "اسکای ورج - ترجمه از وبسایت ساختنی"
344
+
345
+ #. Author URI of the plugin/theme
346
+ msgid "http://www.skyverge.com"
347
+ msgstr "http://www.skyverge.com"
i18n/languages/woocommerce-customizer.pot CHANGED
@@ -1,15 +1,15 @@
1
- # Copyright (C) 2016 SkyVerge
2
  # This file is distributed under the GNU General Public License v3.0.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WooCommerce Customizer 2.3.1\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://github.com/skyverge/woocommerce-customizer/issues\n"
8
  "POT-Creation-Date: 2014-09-05 23:18:53+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
 
@@ -17,264 +17,264 @@ msgstr ""
17
  msgid "Customizer"
18
  msgstr ""
19
 
20
- #: includes/class-wc-customizer-settings.php:60
21
  msgid "Shop Loop"
22
  msgstr ""
23
 
24
- #: includes/class-wc-customizer-settings.php:61
25
  msgid "Product Page"
26
  msgstr ""
27
 
28
- #: includes/class-wc-customizer-settings.php:62
29
  msgid "Checkout"
30
  msgstr ""
31
 
32
- #: includes/class-wc-customizer-settings.php:63
33
- #: includes/class-wc-customizer-settings.php:304
34
  msgid "Misc"
35
  msgstr ""
36
 
37
- #: includes/class-wc-customizer-settings.php:145
38
- #: includes/class-wc-customizer-settings.php:256
39
  msgid "Add to Cart Button Text"
40
  msgstr ""
41
 
42
- #: includes/class-wc-customizer-settings.php:151
43
  msgid "Simple Product"
44
  msgstr ""
45
 
46
- #: includes/class-wc-customizer-settings.php:152
47
  msgid "Changes the add to cart button text for simple products on all loop pages"
48
  msgstr ""
49
 
50
- #: includes/class-wc-customizer-settings.php:158
51
  msgid "Variable Product"
52
  msgstr ""
53
 
54
- #: includes/class-wc-customizer-settings.php:159
55
  msgid "Changes the add to cart button text for variable products on all loop pages"
56
  msgstr ""
57
 
58
- #: includes/class-wc-customizer-settings.php:165
59
  msgid "Grouped Product"
60
  msgstr ""
61
 
62
- #: includes/class-wc-customizer-settings.php:166
63
  msgid "Changes the add to cart button text for grouped products on all loop pages"
64
  msgstr ""
65
 
66
- #: includes/class-wc-customizer-settings.php:172
67
  msgid "Out of Stock Product"
68
  msgstr ""
69
 
70
- #: includes/class-wc-customizer-settings.php:173
71
  msgid ""
72
  "Changes the add to cart button text for out of stock products on all loop "
73
  "pages"
74
  msgstr ""
75
 
76
- #: includes/class-wc-customizer-settings.php:180
77
  msgid "Layout"
78
  msgstr ""
79
 
80
- #: includes/class-wc-customizer-settings.php:186
81
  msgid "Products displayed per page"
82
  msgstr ""
83
 
84
- #: includes/class-wc-customizer-settings.php:187
85
  msgid "Changes the number of products displayed per page"
86
  msgstr ""
87
 
88
- #: includes/class-wc-customizer-settings.php:193
89
  msgid "Product columns displayed per page"
90
  msgstr ""
91
 
92
- #: includes/class-wc-customizer-settings.php:194
93
  msgid "Changes the number of columns displayed per page"
94
  msgstr ""
95
 
96
- #: includes/class-wc-customizer-settings.php:200
97
  msgid "Product thumbnail columns displayed"
98
  msgstr ""
99
 
100
- #: includes/class-wc-customizer-settings.php:201
101
  msgid "Changes the number of product thumbnail columns displayed"
102
  msgstr ""
103
 
104
- #: includes/class-wc-customizer-settings.php:214
105
  msgid "Tab Titles"
106
  msgstr ""
107
 
108
- #: includes/class-wc-customizer-settings.php:220
109
- #: includes/class-wc-customizer-settings.php:241
110
  msgid "Product Description"
111
  msgstr ""
112
 
113
- #: includes/class-wc-customizer-settings.php:221
114
  msgid "Changes the Production Description tab title"
115
  msgstr ""
116
 
117
- #: includes/class-wc-customizer-settings.php:227
118
- #: includes/class-wc-customizer-settings.php:248
119
  msgid "Additional Information"
120
  msgstr ""
121
 
122
- #: includes/class-wc-customizer-settings.php:228
123
  msgid "Changes the Additional Information tab title"
124
  msgstr ""
125
 
126
- #: includes/class-wc-customizer-settings.php:235
127
  msgid "Tab Content Headings"
128
  msgstr ""
129
 
130
- #: includes/class-wc-customizer-settings.php:242
131
  msgid "Changes the Product Description tab heading"
132
  msgstr ""
133
 
134
- #: includes/class-wc-customizer-settings.php:249
135
  msgid "Changes the Additional Information tab heading"
136
  msgstr ""
137
 
138
- #: includes/class-wc-customizer-settings.php:262
139
  msgid "All Product Types"
140
  msgstr ""
141
 
142
- #: includes/class-wc-customizer-settings.php:263
143
  msgid ""
144
  "Changes the Add to Cart button text on the single product page for all "
145
  "product type"
146
  msgstr ""
147
 
148
- #: includes/class-wc-customizer-settings.php:275
149
  msgid "Messages"
150
  msgstr ""
151
 
152
- #: includes/class-wc-customizer-settings.php:281
153
  msgid "Must be logged in text"
154
  msgstr ""
155
 
156
- #: includes/class-wc-customizer-settings.php:282
157
  msgid "Changes the message displayed when a customer must be logged in to checkout"
158
  msgstr ""
159
 
160
- #: includes/class-wc-customizer-settings.php:288
161
  msgid "Coupon text"
162
  msgstr ""
163
 
164
- #: includes/class-wc-customizer-settings.php:289
165
  msgid "Changes the message displayed if the coupon form is enabled on checkout"
166
  msgstr ""
167
 
168
- #: includes/class-wc-customizer-settings.php:296
169
  msgid "Login text"
170
  msgstr ""
171
 
172
- #: includes/class-wc-customizer-settings.php:297
173
  msgid "Changes the message displayed if customers can login at checkout"
174
  msgstr ""
175
 
176
- #: includes/class-wc-customizer-settings.php:310
177
  msgid "Create Account checkbox default"
178
  msgstr ""
179
 
180
- #: includes/class-wc-customizer-settings.php:311
181
  msgid "Control the default state for the Create Account checkbox"
182
  msgstr ""
183
 
184
- #: includes/class-wc-customizer-settings.php:314
185
  msgid "Checked"
186
  msgstr ""
187
 
188
- #: includes/class-wc-customizer-settings.php:315
189
  msgid "Unchecked"
190
  msgstr ""
191
 
192
- #: includes/class-wc-customizer-settings.php:322
193
  msgid "Submit Order button"
194
  msgstr ""
195
 
196
- #: includes/class-wc-customizer-settings.php:323
197
  msgid "Changes the Place Order button text on checkout"
198
  msgstr ""
199
 
200
- #: includes/class-wc-customizer-settings.php:336
201
  msgid "Tax"
202
  msgstr ""
203
 
204
- #: includes/class-wc-customizer-settings.php:342
205
  msgid "Tax Label"
206
  msgstr ""
207
 
208
- #: includes/class-wc-customizer-settings.php:343
209
  msgid "Changes the Taxes label. Defaults to Tax for USA, VAT for European countries"
210
  msgstr ""
211
 
212
- #: includes/class-wc-customizer-settings.php:349
213
  msgid "Including Tax Label"
214
  msgstr ""
215
 
216
- #: includes/class-wc-customizer-settings.php:350
217
  msgid ""
218
  "Changes the Including Taxes label. Defaults to Inc. tax for USA, Inc. VAT "
219
  "for European countries"
220
  msgstr ""
221
 
222
- #: includes/class-wc-customizer-settings.php:356
223
  msgid "Excluding Tax Label"
224
  msgstr ""
225
 
226
- #: includes/class-wc-customizer-settings.php:357
227
  msgid ""
228
  "Changes the Excluding Taxes label. Defaults to Exc. tax for USA, Exc. VAT "
229
  "for European countries"
230
  msgstr ""
231
 
232
- #: includes/class-wc-customizer-settings.php:364
233
  msgid "Images"
234
  msgstr ""
235
 
236
- #: includes/class-wc-customizer-settings.php:370
237
  msgid "Placeholder Image source"
238
  msgstr ""
239
 
240
- #: includes/class-wc-customizer-settings.php:371
241
  msgid "Change the default placeholder image by setting this to a valid image URL"
242
  msgstr ""
243
 
244
- #: woocommerce-customizer.php:50
245
  #. translators: %1$s and %2$s are <strong> tags. %3$s and %4$s are <a> tags
246
  msgid ""
247
  "%1$sWooCommerce Customizer is inactive.%2$s This version requires "
248
- "WooCommerce 2.4.13 or newer. Please %3$supdate WooCommerce to version "
249
- "2.4.13 or newer%4$s"
250
  msgstr ""
251
 
252
- #: woocommerce-customizer.php:70
253
  #. translators: %1$s and %2$s are <strong> tags. %3$s and %4$s are <a> tags
254
  msgid ""
255
  "%1$sWooCommerce Customizer is inactive%2$s as it requires WooCommerce. "
256
- "Please %3$sactivate WooCommerce version 2.4.13 or newer%4$s"
257
  msgstr ""
258
 
259
- #: woocommerce-customizer.php:163
260
  #. translators: Placeholders: %s - plugin name
261
  msgid "You cannot clone instances of %s."
262
  msgstr ""
263
 
264
- #: woocommerce-customizer.php:175
265
  #. translators: Placeholders: %s - plugin name
266
  msgid "You cannot unserialize instances of %s."
267
  msgstr ""
268
 
269
- #: woocommerce-customizer.php:355
270
  msgid "Configure"
271
  msgstr ""
272
 
273
- #: woocommerce-customizer.php:356
274
  msgid "FAQ"
275
  msgstr ""
276
 
277
- #: woocommerce-customizer.php:357
278
  msgid "Support"
279
  msgstr ""
280
 
1
+ # Copyright (C) 2017 SkyVerge
2
  # This file is distributed under the GNU General Public License v3.0.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WooCommerce Customizer 2.4.0\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://github.com/skyverge/woocommerce-customizer/issues\n"
8
  "POT-Creation-Date: 2014-09-05 23:18:53+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
 
17
  msgid "Customizer"
18
  msgstr ""
19
 
20
+ #: includes/class-wc-customizer-settings.php:62
21
  msgid "Shop Loop"
22
  msgstr ""
23
 
24
+ #: includes/class-wc-customizer-settings.php:63
25
  msgid "Product Page"
26
  msgstr ""
27
 
28
+ #: includes/class-wc-customizer-settings.php:64
29
  msgid "Checkout"
30
  msgstr ""
31
 
32
+ #: includes/class-wc-customizer-settings.php:65
33
+ #: includes/class-wc-customizer-settings.php:307
34
  msgid "Misc"
35
  msgstr ""
36
 
37
+ #: includes/class-wc-customizer-settings.php:148
38
+ #: includes/class-wc-customizer-settings.php:259
39
  msgid "Add to Cart Button Text"
40
  msgstr ""
41
 
42
+ #: includes/class-wc-customizer-settings.php:154
43
  msgid "Simple Product"
44
  msgstr ""
45
 
46
+ #: includes/class-wc-customizer-settings.php:155
47
  msgid "Changes the add to cart button text for simple products on all loop pages"
48
  msgstr ""
49
 
50
+ #: includes/class-wc-customizer-settings.php:161
51
  msgid "Variable Product"
52
  msgstr ""
53
 
54
+ #: includes/class-wc-customizer-settings.php:162
55
  msgid "Changes the add to cart button text for variable products on all loop pages"
56
  msgstr ""
57
 
58
+ #: includes/class-wc-customizer-settings.php:168
59
  msgid "Grouped Product"
60
  msgstr ""
61
 
62
+ #: includes/class-wc-customizer-settings.php:169
63
  msgid "Changes the add to cart button text for grouped products on all loop pages"
64
  msgstr ""
65
 
66
+ #: includes/class-wc-customizer-settings.php:175
67
  msgid "Out of Stock Product"
68
  msgstr ""
69
 
70
+ #: includes/class-wc-customizer-settings.php:176
71
  msgid ""
72
  "Changes the add to cart button text for out of stock products on all loop "
73
  "pages"
74
  msgstr ""
75
 
76
+ #: includes/class-wc-customizer-settings.php:183
77
  msgid "Layout"
78
  msgstr ""
79
 
80
+ #: includes/class-wc-customizer-settings.php:189
81
  msgid "Products displayed per page"
82
  msgstr ""
83
 
84
+ #: includes/class-wc-customizer-settings.php:190
85
  msgid "Changes the number of products displayed per page"
86
  msgstr ""
87
 
88
+ #: includes/class-wc-customizer-settings.php:196
89
  msgid "Product columns displayed per page"
90
  msgstr ""
91
 
92
+ #: includes/class-wc-customizer-settings.php:197
93
  msgid "Changes the number of columns displayed per page"
94
  msgstr ""
95
 
96
+ #: includes/class-wc-customizer-settings.php:203
97
  msgid "Product thumbnail columns displayed"
98
  msgstr ""
99
 
100
+ #: includes/class-wc-customizer-settings.php:204
101
  msgid "Changes the number of product thumbnail columns displayed"
102
  msgstr ""
103
 
104
+ #: includes/class-wc-customizer-settings.php:217
105
  msgid "Tab Titles"
106
  msgstr ""
107
 
108
+ #: includes/class-wc-customizer-settings.php:223
109
+ #: includes/class-wc-customizer-settings.php:244
110
  msgid "Product Description"
111
  msgstr ""
112
 
113
+ #: includes/class-wc-customizer-settings.php:224
114
  msgid "Changes the Production Description tab title"
115
  msgstr ""
116
 
117
+ #: includes/class-wc-customizer-settings.php:230
118
+ #: includes/class-wc-customizer-settings.php:251
119
  msgid "Additional Information"
120
  msgstr ""
121
 
122
+ #: includes/class-wc-customizer-settings.php:231
123
  msgid "Changes the Additional Information tab title"
124
  msgstr ""
125
 
126
+ #: includes/class-wc-customizer-settings.php:238
127
  msgid "Tab Content Headings"
128
  msgstr ""
129
 
130
+ #: includes/class-wc-customizer-settings.php:245
131
  msgid "Changes the Product Description tab heading"
132
  msgstr ""
133
 
134
+ #: includes/class-wc-customizer-settings.php:252
135
  msgid "Changes the Additional Information tab heading"
136
  msgstr ""
137
 
138
+ #: includes/class-wc-customizer-settings.php:265
139
  msgid "All Product Types"
140
  msgstr ""
141
 
142
+ #: includes/class-wc-customizer-settings.php:266
143
  msgid ""
144
  "Changes the Add to Cart button text on the single product page for all "
145
  "product type"
146
  msgstr ""
147
 
148
+ #: includes/class-wc-customizer-settings.php:278
149
  msgid "Messages"
150
  msgstr ""
151
 
152
+ #: includes/class-wc-customizer-settings.php:284
153
  msgid "Must be logged in text"
154
  msgstr ""
155
 
156
+ #: includes/class-wc-customizer-settings.php:285
157
  msgid "Changes the message displayed when a customer must be logged in to checkout"
158
  msgstr ""
159
 
160
+ #: includes/class-wc-customizer-settings.php:291
161
  msgid "Coupon text"
162
  msgstr ""
163
 
164
+ #: includes/class-wc-customizer-settings.php:292
165
  msgid "Changes the message displayed if the coupon form is enabled on checkout"
166
  msgstr ""
167
 
168
+ #: includes/class-wc-customizer-settings.php:299
169
  msgid "Login text"
170
  msgstr ""
171
 
172
+ #: includes/class-wc-customizer-settings.php:300
173
  msgid "Changes the message displayed if customers can login at checkout"
174
  msgstr ""
175
 
176
+ #: includes/class-wc-customizer-settings.php:313
177
  msgid "Create Account checkbox default"
178
  msgstr ""
179
 
180
+ #: includes/class-wc-customizer-settings.php:314
181
  msgid "Control the default state for the Create Account checkbox"
182
  msgstr ""
183
 
184
+ #: includes/class-wc-customizer-settings.php:317
185
  msgid "Checked"
186
  msgstr ""
187
 
188
+ #: includes/class-wc-customizer-settings.php:318
189
  msgid "Unchecked"
190
  msgstr ""
191
 
192
+ #: includes/class-wc-customizer-settings.php:325
193
  msgid "Submit Order button"
194
  msgstr ""
195
 
196
+ #: includes/class-wc-customizer-settings.php:326
197
  msgid "Changes the Place Order button text on checkout"
198
  msgstr ""
199
 
200
+ #: includes/class-wc-customizer-settings.php:339
201
  msgid "Tax"
202
  msgstr ""
203
 
204
+ #: includes/class-wc-customizer-settings.php:345
205
  msgid "Tax Label"
206
  msgstr ""
207
 
208
+ #: includes/class-wc-customizer-settings.php:346
209
  msgid "Changes the Taxes label. Defaults to Tax for USA, VAT for European countries"
210
  msgstr ""
211
 
212
+ #: includes/class-wc-customizer-settings.php:352
213
  msgid "Including Tax Label"
214
  msgstr ""
215
 
216
+ #: includes/class-wc-customizer-settings.php:353
217
  msgid ""
218
  "Changes the Including Taxes label. Defaults to Inc. tax for USA, Inc. VAT "
219
  "for European countries"
220
  msgstr ""
221
 
222
+ #: includes/class-wc-customizer-settings.php:359
223
  msgid "Excluding Tax Label"
224
  msgstr ""
225
 
226
+ #: includes/class-wc-customizer-settings.php:360
227
  msgid ""
228
  "Changes the Excluding Taxes label. Defaults to Exc. tax for USA, Exc. VAT "
229
  "for European countries"
230
  msgstr ""
231
 
232
+ #: includes/class-wc-customizer-settings.php:367
233
  msgid "Images"
234
  msgstr ""
235
 
236
+ #: includes/class-wc-customizer-settings.php:373
237
  msgid "Placeholder Image source"
238
  msgstr ""
239
 
240
+ #: includes/class-wc-customizer-settings.php:374
241
  msgid "Change the default placeholder image by setting this to a valid image URL"
242
  msgstr ""
243
 
244
+ #: woocommerce-customizer.php:48
245
  #. translators: %1$s and %2$s are <strong> tags. %3$s and %4$s are <a> tags
246
  msgid ""
247
  "%1$sWooCommerce Customizer is inactive.%2$s This version requires "
248
+ "WooCommerce 2.5.5 or newer. Please %3$supdate WooCommerce to version 2.5.5 "
249
+ "or newer%4$s"
250
  msgstr ""
251
 
252
+ #: woocommerce-customizer.php:68
253
  #. translators: %1$s and %2$s are <strong> tags. %3$s and %4$s are <a> tags
254
  msgid ""
255
  "%1$sWooCommerce Customizer is inactive%2$s as it requires WooCommerce. "
256
+ "Please %3$sactivate WooCommerce version 2.5.5 or newer%4$s"
257
  msgstr ""
258
 
259
+ #: woocommerce-customizer.php:161
260
  #. translators: Placeholders: %s - plugin name
261
  msgid "You cannot clone instances of %s."
262
  msgstr ""
263
 
264
+ #: woocommerce-customizer.php:173
265
  #. translators: Placeholders: %s - plugin name
266
  msgid "You cannot unserialize instances of %s."
267
  msgstr ""
268
 
269
+ #: woocommerce-customizer.php:360
270
  msgid "Configure"
271
  msgstr ""
272
 
273
+ #: woocommerce-customizer.php:361
274
  msgid "FAQ"
275
  msgstr ""
276
 
277
+ #: woocommerce-customizer.php:362
278
  msgid "Support"
279
  msgstr ""
280
 
includes/class-wc-customizer-settings.php CHANGED
@@ -18,7 +18,7 @@
18
  *
19
  * @package WC-Customizer/Classes
20
  * @author SkyVerge
21
- * @copyright Copyright (c) 2013-2016, SkyVerge, Inc.
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
@@ -49,9 +49,11 @@ class WC_Customizer_Settings extends WC_Settings_Page {
49
  $this->customizations = get_option( 'wc_customizer_active_customizations', array() );
50
  }
51
 
 
52
  /**
53
  * Get sections
54
  *
 
55
  * @return array
56
  */
57
  public function get_sections() {
@@ -64,6 +66,7 @@ class WC_Customizer_Settings extends WC_Settings_Page {
64
  );
65
  }
66
 
 
67
  /**
68
  * Render the settings for the current section
69
  *
18
  *
19
  * @package WC-Customizer/Classes
20
  * @author SkyVerge
21
+ * @copyright Copyright (c) 2013-2017, SkyVerge, Inc.
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
49
  $this->customizations = get_option( 'wc_customizer_active_customizations', array() );
50
  }
51
 
52
+
53
  /**
54
  * Get sections
55
  *
56
+ * @since 2.0.0
57
  * @return array
58
  */
59
  public function get_sections() {
66
  );
67
  }
68
 
69
+
70
  /**
71
  * Render the settings for the current section
72
  *
readme.txt CHANGED
@@ -1,12 +1,12 @@
1
  === WooCommerce Customizer ===
2
- Contributors: SkyVerge, maxrice, tamarazuk, chasewiseman, nekojira
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=paypal@skyverge.com&item_name=Donation+for+WooCommerce+Customizer
4
- Tags: woocommerce, woocommerce shop, woocommerce filters
5
  Requires at least: 4.1
6
- Tested up to: 4.5.2
7
- Requires WooCommerce at least: 2.4.13
8
- Tested WooCommerce up to: 2.6.0
9
- Stable tag: 2.3.1
10
  License: GPLv3 or later
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
12
 
@@ -18,22 +18,22 @@ WooCommerce includes tons of filters to let you customize button text, labels, a
18
  code to use them. This plugin provides a settings page where you can add your customizations and save them without
19
  needing to write any code or modify any templates, which is helpful for quick change testing.
20
 
21
- > Requires WooCommerce 2.4.13+
22
 
23
  Here are some customizations you can make:
24
 
25
- * Add to Cart button text for all product types (within the shop loop and on a single product page)
26
- * The number of products displayed per page
27
- * Heading text for the 'Product Description' and 'Additional Information' tab.
28
- * Checkout page coupon / login text
29
- * Checkout page "Create Account" checkbox default
30
- * Checkout page 'Submit Order' button text
31
- * Tax Label text
32
- * Placeholder image source
33
 
34
  To make these changes, go to **WooCommerce &gt; Settings** and view the "Customizer" tab.
35
 
36
- > **Note**: This plugin does not support multisite and cannot be network activated. To use this on a multisite network, you must install the plugin individually on each site.
37
 
38
  = Support Details =
39
  We do support our free plugins and extensions, but please understand that support for premium products takes priority. We typically check the forums every few days (with a maximum delay of one week).
@@ -45,7 +45,7 @@ We do support our free plugins and extensions, but please understand that suppor
45
 
46
  == Installation ==
47
 
48
- 1. Upload `woocommerce-customizer` folder to the `/wp-content/plugins/` directory or upload the zip file via the "Plugins &gt; Add New" menu
49
  2. Activate the plugin through the 'Plugins' menu in WordPress
50
  3. Go to the 'Customizer' tab under WooCommerce &gt; Settings
51
  4. Start customizing!
@@ -58,7 +58,7 @@ Most likely because a filter does not yet exist within WooCommerce, or a filter
58
 
59
  = Why don't the settings show up under the WooCommerce Settings? =
60
 
61
- Do you have this network activated for a multisite installation? If so, you'll need to remove the plugin, then install it on each child site as needed, as the plugin does not support being network activated.
62
 
63
  = I found a bug! What do I do? =
64
 
@@ -74,6 +74,12 @@ Yes! Fork the plugin on [GitHub](https://github.com/skyverge/woocommerce-customi
74
 
75
  == Changelog ==
76
 
 
 
 
 
 
 
77
  = 2.3.1 =
78
  * Fix - Fixes "headers already sent" error if WooCommerce is out of date
79
 
1
  === WooCommerce Customizer ===
2
+ Contributors: SkyVerge, maxrice, tamarazuk, chasewiseman, nekojira, beka.rice
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=paypal@skyverge.com&item_name=Donation+for+WooCommerce+Customizer
4
+ Tags: woocommerce, woocommerce shop, woocommerce filters, woocommerce text
5
  Requires at least: 4.1
6
+ Tested up to: 4.7.3
7
+ WC requires at least: 2.5.5
8
+ WC tested up to: 3.0
9
+ Stable tag: 2.4.0
10
  License: GPLv3 or later
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
12
 
18
  code to use them. This plugin provides a settings page where you can add your customizations and save them without
19
  needing to write any code or modify any templates, which is helpful for quick change testing.
20
 
21
+ > **Requires** WooCommerce 2.5.5+
22
 
23
  Here are some customizations you can make:
24
 
25
+ * Add to Cart button text for different product types (within the shop loop and on a single product page)
26
+ * The number of products displayed per page
27
+ * Heading text for the 'Product Description' and 'Additional Information' tab.
28
+ * Checkout page coupon / login text
29
+ * Checkout page "Create Account" checkbox default
30
+ * Checkout page 'Submit Order' button text
31
+ * Tax Label text
32
+ * Placeholder image source
33
 
34
  To make these changes, go to **WooCommerce &gt; Settings** and view the "Customizer" tab.
35
 
36
+ > **Note**: This plugin does not support multisite and cannot be network activated. To use this on a multisite network, you must activate the plugin individually on each site.
37
 
38
  = Support Details =
39
  We do support our free plugins and extensions, but please understand that support for premium products takes priority. We typically check the forums every few days (with a maximum delay of one week).
45
 
46
  == Installation ==
47
 
48
+ 1. You can (a) Search Plugins &gt; Add New for "WooCommerce Customizer", (b) Upload `woocommerce-customizer` folder to the `/wp-content/plugins/` directory, or (c) upload the zip file via the "Plugins &gt; Add New" menu
49
  2. Activate the plugin through the 'Plugins' menu in WordPress
50
  3. Go to the 'Customizer' tab under WooCommerce &gt; Settings
51
  4. Start customizing!
58
 
59
  = Why don't the settings show up under the WooCommerce Settings? =
60
 
61
+ Do you have this network activated for a multisite installation? If so, you'll need to remove the plugin, then activate it on each child site as needed, as the plugin does not support being network activated.
62
 
63
  = I found a bug! What do I do? =
64
 
74
 
75
  == Changelog ==
76
 
77
+ = 2.4.0 =
78
+ * Fix - Image placeholder replacements are only shown in the shop, not in the WP admin
79
+ * Localization - Includes Persian translation, props [Saakhtani team](http://saakhtani.ir/)!
80
+ * Misc - Added support for WooCommerce 3.0
81
+ * Misc - Removed support for WooCommerce 2.4
82
+
83
  = 2.3.1 =
84
  * Fix - Fixes "headers already sent" error if WooCommerce is out of date
85
 
screenshot-1.png CHANGED
Binary file
woocommerce-customizer.php CHANGED
@@ -5,11 +5,11 @@
5
  * Description: Customize WooCommerce without code! Easily change add to cart button text and more.
6
  * Author: SkyVerge
7
  * Author URI: http://www.skyverge.com
8
- * Version: 2.3.1
9
  * Text Domain: woocommerce-customizer
10
  * Domain Path: /i18n/languages/
11
  *
12
- * Copyright: (c) 2013-2016 SkyVerge, Inc. (info@skyverge.com)
13
  *
14
  * License: GNU General Public License v3.0
15
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -17,7 +17,7 @@
17
  * @package WC-Customizer
18
  * @author SkyVerge
19
  * @category Utility
20
- * @copyright Copyright (c) 2013-2016, SkyVerge, Inc.
21
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
22
  */
23
 
@@ -25,14 +25,12 @@ defined( 'ABSPATH' ) or exit;
25
 
26
  // Check if WooCommerce is active
27
  if ( ! WC_Customizer::is_woocommerce_active() ) {
28
-
29
  add_action( 'admin_notices', 'wc_customizer_render_wc_inactive_notice' );
30
  return;
31
  }
32
 
33
  // WC version check
34
- if ( version_compare( get_option( 'woocommerce_db_version' ), '2.4.13', '<' ) ) {
35
-
36
  add_action( 'admin_notices', 'wc_customizer_render_outdated_wc_version_notice' );
37
  return;
38
  }
@@ -47,7 +45,7 @@ function wc_customizer_render_outdated_wc_version_notice() {
47
 
48
  $message = sprintf(
49
  /* translators: %1$s and %2$s are <strong> tags. %3$s and %4$s are <a> tags */
50
- __( '%1$sWooCommerce Customizer is inactive.%2$s This version requires WooCommerce 2.4.13 or newer. Please %3$supdate WooCommerce to version 2.4.13 or newer%4$s', 'woocommerce-customizer' ),
51
  '<strong>',
52
  '</strong>',
53
  '<a href="' . admin_url( 'plugins.php' ) . '">',
@@ -67,7 +65,7 @@ function wc_customizer_render_wc_inactive_notice() {
67
 
68
  $message = sprintf(
69
  /* translators: %1$s and %2$s are <strong> tags. %3$s and %4$s are <a> tags */
70
- __( '%1$sWooCommerce Customizer is inactive%2$s as it requires WooCommerce. Please %3$sactivate WooCommerce version 2.4.13 or newer%4$s', 'woocommerce-customizer' ),
71
  '<strong>',
72
  '</strong>',
73
  '<a href="' . admin_url( 'plugins.php' ) . '">',
@@ -113,7 +111,7 @@ class WC_Customizer {
113
 
114
 
115
  /** plugin version number */
116
- const VERSION = '2.3.1';
117
 
118
  /** @var \WC_Customizer single instance of this plugin */
119
  protected static $instance;
@@ -217,6 +215,13 @@ class WC_Customizer {
217
  add_filter( 'woocommerce_product_add_to_cart_text', array( $this, 'customize_add_to_cart_text' ), 10, 2 );
218
  }
219
 
 
 
 
 
 
 
 
220
  } else {
221
 
222
  add_filter( $filter_name, array( $this, 'customize' ) );
@@ -435,7 +440,10 @@ function wc_customizer() {
435
 
436
  /**
437
  * The WC_Customizer global object
 
 
438
  * @deprecated 2.3.0
 
439
  * @name $wc_customizer
440
  * @global WC_Customizer $GLOBALS['wc_customizer']
441
  */
5
  * Description: Customize WooCommerce without code! Easily change add to cart button text and more.
6
  * Author: SkyVerge
7
  * Author URI: http://www.skyverge.com
8
+ * Version: 2.4.0
9
  * Text Domain: woocommerce-customizer
10
  * Domain Path: /i18n/languages/
11
  *
12
+ * Copyright: (c) 2013-2017, SkyVerge, Inc. (info@skyverge.com)
13
  *
14
  * License: GNU General Public License v3.0
15
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
17
  * @package WC-Customizer
18
  * @author SkyVerge
19
  * @category Utility
20
+ * @copyright Copyright (c) 2013-2017, SkyVerge, Inc.
21
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
22
  */
23
 
25
 
26
  // Check if WooCommerce is active
27
  if ( ! WC_Customizer::is_woocommerce_active() ) {
 
28
  add_action( 'admin_notices', 'wc_customizer_render_wc_inactive_notice' );
29
  return;
30
  }
31
 
32
  // WC version check
33
+ if ( version_compare( get_option( 'woocommerce_db_version' ), '2.5.5', '<' ) ) {
 
34
  add_action( 'admin_notices', 'wc_customizer_render_outdated_wc_version_notice' );
35
  return;
36
  }
45
 
46
  $message = sprintf(
47
  /* translators: %1$s and %2$s are <strong> tags. %3$s and %4$s are <a> tags */
48
+ __( '%1$sWooCommerce Customizer is inactive.%2$s This version requires WooCommerce 2.5.5 or newer. Please %3$supdate WooCommerce to version 2.5.5 or newer%4$s', 'woocommerce-customizer' ),
49
  '<strong>',
50
  '</strong>',
51
  '<a href="' . admin_url( 'plugins.php' ) . '">',
65
 
66
  $message = sprintf(
67
  /* translators: %1$s and %2$s are <strong> tags. %3$s and %4$s are <a> tags */
68
+ __( '%1$sWooCommerce Customizer is inactive%2$s as it requires WooCommerce. Please %3$sactivate WooCommerce version 2.5.5 or newer%4$s', 'woocommerce-customizer' ),
69
  '<strong>',
70
  '</strong>',
71
  '<a href="' . admin_url( 'plugins.php' ) . '">',
111
 
112
 
113
  /** plugin version number */
114
+ const VERSION = '2.4.0';
115
 
116
  /** @var \WC_Customizer single instance of this plugin */
117
  protected static $instance;
215
  add_filter( 'woocommerce_product_add_to_cart_text', array( $this, 'customize_add_to_cart_text' ), 10, 2 );
216
  }
217
 
218
+ } elseif ( 'woocommerce_placeholder_img_src' === $filter_name ) {
219
+
220
+ // only filter placeholder images on the frontend
221
+ if ( ! is_admin() ) {
222
+ add_filter( $filter_name, array( $this, 'customize' ) );
223
+ }
224
+
225
  } else {
226
 
227
  add_filter( $filter_name, array( $this, 'customize' ) );
440
 
441
  /**
442
  * The WC_Customizer global object
443
+ * TODO: Remove with WC 3.1 compat {BR 2017-03-09}
444
+ *
445
  * @deprecated 2.3.0
446
+ *
447
  * @name $wc_customizer
448
  * @global WC_Customizer $GLOBALS['wc_customizer']
449
  */