WooCommerce Customizer - Version 2.1.0

Version Description

  • Misc - WooCommerce 2.3 Compatibility
Download this release

Release Info

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

Code changes from version 2.0.1 to 2.1.0

i18n/languages/woocommerce-customizer.pot CHANGED
@@ -1,15 +1,15 @@
1
- # Copyright (C) 2014 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.0.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: 2014-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
 
@@ -34,9 +34,9 @@ msgid "Checkout"
34
  msgstr ""
35
 
36
  #: build/includes/class-wc-customizer-settings.php:73
37
- #: build/includes/class-wc-customizer-settings.php:320
38
  #: includes/class-wc-customizer-settings.php:73
39
- #: includes/class-wc-customizer-settings.php:320
40
  msgid "Misc"
41
  msgstr ""
42
 
@@ -215,97 +215,97 @@ msgstr ""
215
  msgid "Changes the message displayed if the coupon form is enabled on checkout"
216
  msgstr ""
217
 
218
- #: build/includes/class-wc-customizer-settings.php:312
219
- #: includes/class-wc-customizer-settings.php:312
220
  msgid "Login text"
221
  msgstr ""
222
 
223
- #: build/includes/class-wc-customizer-settings.php:313
224
- #: includes/class-wc-customizer-settings.php:313
225
  msgid "Changes the message displayed if customers can login at checkout"
226
  msgstr ""
227
 
228
- #: build/includes/class-wc-customizer-settings.php:326
229
- #: includes/class-wc-customizer-settings.php:326
230
  msgid "Create Account checkbox default"
231
  msgstr ""
232
 
233
- #: build/includes/class-wc-customizer-settings.php:327
234
- #: includes/class-wc-customizer-settings.php:327
235
  msgid "Control the default state for the Create Account checkbox"
236
  msgstr ""
237
 
238
- #: build/includes/class-wc-customizer-settings.php:330
239
- #: includes/class-wc-customizer-settings.php:330
240
  msgid "Checked"
241
  msgstr ""
242
 
243
- #: build/includes/class-wc-customizer-settings.php:331
244
- #: includes/class-wc-customizer-settings.php:331
245
  msgid "Unchecked"
246
  msgstr ""
247
 
248
- #: build/includes/class-wc-customizer-settings.php:338
249
- #: includes/class-wc-customizer-settings.php:338
250
  msgid "Submit Order button"
251
  msgstr ""
252
 
253
- #: build/includes/class-wc-customizer-settings.php:339
254
- #: includes/class-wc-customizer-settings.php:339
255
  msgid "Changes the Place Order button text on checkout"
256
  msgstr ""
257
 
258
- #: build/includes/class-wc-customizer-settings.php:352
259
- #: includes/class-wc-customizer-settings.php:352
260
  msgid "Tax"
261
  msgstr ""
262
 
263
- #: build/includes/class-wc-customizer-settings.php:358
264
- #: includes/class-wc-customizer-settings.php:358
265
  msgid "Tax Label"
266
  msgstr ""
267
 
268
- #: build/includes/class-wc-customizer-settings.php:359
269
- #: includes/class-wc-customizer-settings.php:359
270
  msgid "Changes the Taxes label. Defaults to Tax for USA, VAT for European countries"
271
  msgstr ""
272
 
273
- #: build/includes/class-wc-customizer-settings.php:365
274
- #: includes/class-wc-customizer-settings.php:365
275
  msgid "Including Tax Label"
276
  msgstr ""
277
 
278
- #: build/includes/class-wc-customizer-settings.php:366
279
- #: includes/class-wc-customizer-settings.php:366
280
  msgid ""
281
  "Changes the Including Taxes label. Defaults to Inc. tax for USA, Inc. VAT "
282
  "for European countries"
283
  msgstr ""
284
 
285
- #: build/includes/class-wc-customizer-settings.php:372
286
- #: includes/class-wc-customizer-settings.php:372
287
  msgid "Excluding Tax Label"
288
  msgstr ""
289
 
290
- #: build/includes/class-wc-customizer-settings.php:373
291
- #: includes/class-wc-customizer-settings.php:373
292
  msgid ""
293
  "Changes the Excluding Taxes label. Defaults to Exc. tax for USA, Exc. VAT "
294
  "for European countries"
295
  msgstr ""
296
 
297
- #: build/includes/class-wc-customizer-settings.php:380
298
- #: includes/class-wc-customizer-settings.php:380
299
  msgid "Images"
300
  msgstr ""
301
 
302
- #: build/includes/class-wc-customizer-settings.php:386
303
- #: includes/class-wc-customizer-settings.php:386
304
  msgid "Placeholder Image source"
305
  msgstr ""
306
 
307
- #: build/includes/class-wc-customizer-settings.php:387
308
- #: includes/class-wc-customizer-settings.php:387
309
  msgid "Change the default placeholder image by setting this to a valid image URL"
310
  msgstr ""
311
 
1
+ # Copyright (C) 2015 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.1.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: 2015-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
 
34
  msgstr ""
35
 
36
  #: build/includes/class-wc-customizer-settings.php:73
37
+ #: build/includes/class-wc-customizer-settings.php:321
38
  #: includes/class-wc-customizer-settings.php:73
39
+ #: includes/class-wc-customizer-settings.php:321
40
  msgid "Misc"
41
  msgstr ""
42
 
215
  msgid "Changes the message displayed if the coupon form is enabled on checkout"
216
  msgstr ""
217
 
218
+ #: build/includes/class-wc-customizer-settings.php:313
219
+ #: includes/class-wc-customizer-settings.php:313
220
  msgid "Login text"
221
  msgstr ""
222
 
223
+ #: build/includes/class-wc-customizer-settings.php:314
224
+ #: includes/class-wc-customizer-settings.php:314
225
  msgid "Changes the message displayed if customers can login at checkout"
226
  msgstr ""
227
 
228
+ #: build/includes/class-wc-customizer-settings.php:327
229
+ #: includes/class-wc-customizer-settings.php:327
230
  msgid "Create Account checkbox default"
231
  msgstr ""
232
 
233
+ #: build/includes/class-wc-customizer-settings.php:328
234
+ #: includes/class-wc-customizer-settings.php:328
235
  msgid "Control the default state for the Create Account checkbox"
236
  msgstr ""
237
 
238
+ #: build/includes/class-wc-customizer-settings.php:331
239
+ #: includes/class-wc-customizer-settings.php:331
240
  msgid "Checked"
241
  msgstr ""
242
 
243
+ #: build/includes/class-wc-customizer-settings.php:332
244
+ #: includes/class-wc-customizer-settings.php:332
245
  msgid "Unchecked"
246
  msgstr ""
247
 
248
+ #: build/includes/class-wc-customizer-settings.php:339
249
+ #: includes/class-wc-customizer-settings.php:339
250
  msgid "Submit Order button"
251
  msgstr ""
252
 
253
+ #: build/includes/class-wc-customizer-settings.php:340
254
+ #: includes/class-wc-customizer-settings.php:340
255
  msgid "Changes the Place Order button text on checkout"
256
  msgstr ""
257
 
258
+ #: build/includes/class-wc-customizer-settings.php:353
259
+ #: includes/class-wc-customizer-settings.php:353
260
  msgid "Tax"
261
  msgstr ""
262
 
263
+ #: build/includes/class-wc-customizer-settings.php:359
264
+ #: includes/class-wc-customizer-settings.php:359
265
  msgid "Tax Label"
266
  msgstr ""
267
 
268
+ #: build/includes/class-wc-customizer-settings.php:360
269
+ #: includes/class-wc-customizer-settings.php:360
270
  msgid "Changes the Taxes label. Defaults to Tax for USA, VAT for European countries"
271
  msgstr ""
272
 
273
+ #: build/includes/class-wc-customizer-settings.php:366
274
+ #: includes/class-wc-customizer-settings.php:366
275
  msgid "Including Tax Label"
276
  msgstr ""
277
 
278
+ #: build/includes/class-wc-customizer-settings.php:367
279
+ #: includes/class-wc-customizer-settings.php:367
280
  msgid ""
281
  "Changes the Including Taxes label. Defaults to Inc. tax for USA, Inc. VAT "
282
  "for European countries"
283
  msgstr ""
284
 
285
+ #: build/includes/class-wc-customizer-settings.php:373
286
+ #: includes/class-wc-customizer-settings.php:373
287
  msgid "Excluding Tax Label"
288
  msgstr ""
289
 
290
+ #: build/includes/class-wc-customizer-settings.php:374
291
+ #: includes/class-wc-customizer-settings.php:374
292
  msgid ""
293
  "Changes the Excluding Taxes label. Defaults to Exc. tax for USA, Exc. VAT "
294
  "for European countries"
295
  msgstr ""
296
 
297
+ #: build/includes/class-wc-customizer-settings.php:381
298
+ #: includes/class-wc-customizer-settings.php:381
299
  msgid "Images"
300
  msgstr ""
301
 
302
+ #: build/includes/class-wc-customizer-settings.php:387
303
+ #: includes/class-wc-customizer-settings.php:387
304
  msgid "Placeholder Image source"
305
  msgstr ""
306
 
307
+ #: build/includes/class-wc-customizer-settings.php:388
308
+ #: includes/class-wc-customizer-settings.php:388
309
  msgid "Change the default placeholder image by setting this to a valid image URL"
310
  msgstr ""
311
 
includes/class-wc-customizer-settings.php CHANGED
@@ -125,7 +125,7 @@ class WC_Customizer_Settings extends WC_Settings_Page {
125
 
126
  if ( ! empty( $_POST[ $field['id'] ] ) ) {
127
 
128
- $this->customizations[ $field['id'] ] = wp_kses_post( $_POST[ $field['id'] ] );
129
 
130
  } elseif ( isset( $this->customizations[ $field['id'] ] ) ) {
131
 
@@ -304,7 +304,8 @@ class WC_Customizer_Settings extends WC_Settings_Page {
304
  'id' => 'woocommerce_checkout_coupon_message',
305
  'title' => __( 'Coupon text', 'woocommerce-customizer' ),
306
  'desc_tip' => __( 'Changes the message displayed if the coupon form is enabled on checkout', 'woocommerce-customizer' ),
307
- 'type' => 'text'
 
308
  ),
309
 
310
  array(
125
 
126
  if ( ! empty( $_POST[ $field['id'] ] ) ) {
127
 
128
+ $this->customizations[ $field['id'] ] = wp_kses_post( stripslashes( $_POST[ $field['id'] ] ) );
129
 
130
  } elseif ( isset( $this->customizations[ $field['id'] ] ) ) {
131
 
304
  'id' => 'woocommerce_checkout_coupon_message',
305
  'title' => __( 'Coupon text', 'woocommerce-customizer' ),
306
  'desc_tip' => __( 'Changes the message displayed if the coupon form is enabled on checkout', 'woocommerce-customizer' ),
307
+ 'type' => 'text',
308
+ 'desc' => sprintf( '<code>%s ' . esc_attr( '<a href="#" class="showcoupon">%s</a>' ) . '</code>', 'Have a coupon?', 'Click here to enter your code' ),
309
  ),
310
 
311
  array(
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === WooCommerce Customizer ===
2
- Contributors: maxrice, justinstern, tamarazuk, skyverge
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
5
  Requires at least: 3.8
6
- Tested up to: 4.0
7
- Stable tag: 2.0.1
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -12,10 +12,12 @@ Helps you customize WooCommerce without writing any code!
12
 
13
  == Description ==
14
 
15
- WooCommerce includes a lot of filters so you can customize button text, labels, and more -- but you have to write PHP
16
  code to use them. This plugin provides a settings page where you can add your customizations and save them without
17
  needing to write any code or modify any templates, which is helpful for quick change testing.
18
 
 
 
19
  Here's the list of customizations you can make:
20
 
21
  * Add to Cart button text for all product types (within the shop loop and on a single product page)
@@ -27,11 +29,21 @@ Here's the list of customizations you can make:
27
  * Tax Label text
28
  * Placeholder image source
29
 
 
 
 
 
 
 
 
 
 
 
30
  == Installation ==
31
 
32
- 1. Upload `woocommerce-customizer` folder to the `/wp-content/plugins/` directory
33
  2. Activate the plugin through the 'Plugins' menu in WordPress
34
- 3. Go to 'Customizer' under the WooCommerce menu
35
  4. Start customizing!
36
 
37
  == Frequently Asked Questions ==
@@ -50,12 +62,14 @@ Yes! Fork the plugin on [GitHub](https://github.com/skyverge/woocommerce-customi
50
 
51
  == Screenshots ==
52
 
53
- 1. Settings Page
54
- 2. Customizations galore!
55
 
56
  == Changelog ==
57
 
58
- = 2.0.1 =
 
 
 
59
  * Fix error when upgrading to WooCommerce 2.2
60
 
61
  = 2.0.0 =
1
  === WooCommerce Customizer ===
2
+ Contributors: maxrice, tamarazuk, skyverge
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: 3.8
6
+ Tested up to: 4.1
7
+ Stable tag: 2.1.0
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
12
 
13
  == Description ==
14
 
15
+ WooCommerce includes tons of filters to let you customize button text, labels, and more, but you have to write PHP
16
  code to use them. This plugin provides a settings page where you can add your customizations and save them without
17
  needing to write any code or modify any templates, which is helpful for quick change testing.
18
 
19
+ > Requires WooCommerce 2.1+
20
+
21
  Here's the list of customizations you can make:
22
 
23
  * Add to Cart button text for all product types (within the shop loop and on a single product page)
29
  * Tax Label text
30
  * Placeholder image source
31
 
32
+ To make these changes, go to **WooCommerce &gt; Settings** and view the "Customizer" tab.
33
+
34
+ = Support Details =
35
+ 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).
36
+
37
+ = More Details =
38
+ - See the [product page](http://www.skyverge.com/product/woocommerce-customizer/) for full details.
39
+ - View more of SkyVerge's [free WooCommerce extensions](http://profiles.wordpress.org/skyverge/)
40
+ - View all [SkyVerge WooCommerce extensions](http://www.skyverge.com/shop/)
41
+
42
  == Installation ==
43
 
44
+ 1. Upload `woocommerce-customizer` folder to the `/wp-content/plugins/` directory or upload the zip file via the "Plugins &gt; Add New" menu
45
  2. Activate the plugin through the 'Plugins' menu in WordPress
46
+ 3. Go to the 'Customizer' tab under WooCommerce &gt; Settings
47
  4. Start customizing!
48
 
49
  == Frequently Asked Questions ==
62
 
63
  == Screenshots ==
64
 
65
+ 1. Settings Page for customizations galore!
 
66
 
67
  == Changelog ==
68
 
69
+ = 2.1.0 =
70
+ * Misc - WooCommerce 2.3 Compatibility
71
+
72
+ = 2.1.0 =
73
  * Fix error when upgrading to WooCommerce 2.2
74
 
75
  = 2.0.0 =
screenshot-1.png ADDED
Binary file
woocommerce-customizer.php CHANGED
@@ -5,9 +5,9 @@
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.0.1
9
  * Text Domain: wc-customizer
10
- * Domain Path: /languages/
11
  *
12
  * Copyright: (c) 2013-2014 SkyVerge, Inc. (info@skyverge.com)
13
  *
@@ -84,7 +84,7 @@ class WC_Customizer {
84
 
85
 
86
  /** plugin version number */
87
- const VERSION = '2.0.1';
88
 
89
  /** @var \WC_Customizer_Settings instance */
90
  public $settings;
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.1.0
9
  * Text Domain: wc-customizer
10
+ * Domain Path: /i18n/languages/
11
  *
12
  * Copyright: (c) 2013-2014 SkyVerge, Inc. (info@skyverge.com)
13
  *
84
 
85
 
86
  /** plugin version number */
87
+ const VERSION = '2.1.0';
88
 
89
  /** @var \WC_Customizer_Settings instance */
90
  public $settings;