WooCommerce Product Archive Customiser - Version 0.4.0

Version Description

  • 13/06/2014 =
  • Fix - Rating option
  • Localization - Added .pot.
Download this release

Release Info

Developer jameskoster
Plugin Icon wp plugin WooCommerce Product Archive Customiser
Version 0.4.0
Comparing to
See all releases

Code changes from version 0.3.0 to 0.4.0

archive-customiser.php CHANGED
@@ -2,10 +2,9 @@
2
  /*
3
  Plugin Name: WooCommerce Product Archive Customiser
4
  Plugin URI: http://jameskoster.co.uk/tag/product-archive-customiser/
5
- Version: 0.3.0
6
  Description: Allows you to customise WooCommerce product archives. Change the number of product columns and the number of products displayed per page. Toggle the display of core elements and enable some that are not included in WooCommerce core such as stock levels and product categories.
7
  Author: jameskoster
8
- Tested up to: 3.8.1
9
  Author URI: http://jameskoster.co.uk
10
  Text Domain: woocommerce-product-archive-customiser
11
  Domain Path: /languages/
@@ -243,7 +242,7 @@ if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', g
243
  }
244
 
245
  // Rating
246
- if ( get_option( 'wc_pac_price' ) == 'no' ) {
247
  remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_rating', 5 );
248
  }
249
 
2
  /*
3
  Plugin Name: WooCommerce Product Archive Customiser
4
  Plugin URI: http://jameskoster.co.uk/tag/product-archive-customiser/
5
+ Version: 0.4.0
6
  Description: Allows you to customise WooCommerce product archives. Change the number of product columns and the number of products displayed per page. Toggle the display of core elements and enable some that are not included in WooCommerce core such as stock levels and product categories.
7
  Author: jameskoster
 
8
  Author URI: http://jameskoster.co.uk
9
  Text Domain: woocommerce-product-archive-customiser
10
  Domain Path: /languages/
242
  }
243
 
244
  // Rating
245
+ if ( get_option( 'wc_pac_rating' ) == 'no' ) {
246
  remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_rating', 5 );
247
  }
248
 
languages/woocommerce-product-archive-customiser.pot ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2014
2
+ # This file is distributed under the same license as the package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: \n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/woocommerce-product-archive-customiser\n"
7
+ "POT-Creation-Date: 2014-05-15 10:36:50+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
+ "Language-Team: LANGUAGE <LL@li.org>\n"
14
+
15
+ #: archive-customiser.php:40
16
+ msgid "Product Archives"
17
+ msgstr ""
18
+
19
+ #: archive-customiser.php:41
20
+ msgid "Toggle the display of various components on product archives and change product layout."
21
+ msgstr ""
22
+
23
+ #: archive-customiser.php:46
24
+ msgid "Product Columns"
25
+ msgstr ""
26
+
27
+ #: archive-customiser.php:47
28
+ msgid "The number of columns that products are arranged in to on archives"
29
+ msgstr ""
30
+
31
+ #: archive-customiser.php:52
32
+ msgid "2"
33
+ msgstr ""
34
+
35
+ #: archive-customiser.php:53
36
+ msgid "3"
37
+ msgstr ""
38
+
39
+ #: archive-customiser.php:54
40
+ msgid "4"
41
+ msgstr ""
42
+
43
+ #: archive-customiser.php:55
44
+ msgid "5"
45
+ msgstr ""
46
+
47
+ #: archive-customiser.php:59
48
+ msgid "Products per page"
49
+ msgstr ""
50
+
51
+ #: archive-customiser.php:60
52
+ msgid "The number of products displayed per page"
53
+ msgstr ""
54
+
55
+ #: archive-customiser.php:66
56
+ msgid "Display"
57
+ msgstr ""
58
+
59
+ #: archive-customiser.php:67
60
+ msgid "Product Count"
61
+ msgstr ""
62
+
63
+ #: archive-customiser.php:73
64
+ msgid "Per Page Dropdown"
65
+ msgstr ""
66
+
67
+ #: archive-customiser.php:79
68
+ msgid "Product Sorting"
69
+ msgstr ""
70
+
71
+ #: archive-customiser.php:85
72
+ msgid "Sale Flashes"
73
+ msgstr ""
74
+
75
+ #: archive-customiser.php:91
76
+ msgid "Add to cart buttons"
77
+ msgstr ""
78
+
79
+ #: archive-customiser.php:97
80
+ msgid "Thumbnails"
81
+ msgstr ""
82
+
83
+ #: archive-customiser.php:103
84
+ msgid "Prices"
85
+ msgstr ""
86
+
87
+ #: archive-customiser.php:109
88
+ msgid "Ratings"
89
+ msgstr ""
90
+
91
+ #: archive-customiser.php:115
92
+ msgid "Product categories"
93
+ msgstr ""
94
+
95
+ #: archive-customiser.php:121
96
+ msgid "Stock"
97
+ msgstr ""
98
+
99
+ #: archive-customiser.php:127
100
+ msgid "\"New\" badges"
101
+ msgstr ""
102
+
103
+ #: archive-customiser.php:133
104
+ msgid "Display the \"New\" badge for how many days?"
105
+ msgstr ""
106
+
107
+ #: archive-customiser.php:188
108
+ msgid "WooCommerce"
109
+ msgstr ""
110
+
111
+ #: archive-customiser.php:342
112
+ msgid "New"
113
+ msgstr ""
114
+
115
+ #: archive-customiser.php:356
116
+ msgid "Out of stock"
117
+ msgstr ""
118
+
119
+ #: archive-customiser.php:358
120
+ msgid " In stock"
121
+ msgstr ""
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: jameskoster
3
  Tags: woocommerce, ecommerce, products
4
  Requires at least: 3.5
5
- Tested up to: 3.8.1
6
- Stable tag: 0.3.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -49,6 +49,10 @@ function remove_pac_styles() {
49
 
50
  == Changelog ==
51
 
 
 
 
 
52
  = 0.3.0 - 04/02/2014 =
53
  * WooCommerce 2.1 compatibility.
54
  * Fixed a notice when using the products per page selector feature.
2
  Contributors: jameskoster
3
  Tags: woocommerce, ecommerce, products
4
  Requires at least: 3.5
5
+ Tested up to: 4.0
6
+ Stable tag: 0.4.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
49
 
50
  == Changelog ==
51
 
52
+ = 0.4.0 - 13/06/2014 =
53
+ * Fix - Rating option
54
+ * Localization - Added .pot.
55
+
56
  = 0.3.0 - 04/02/2014 =
57
  * WooCommerce 2.1 compatibility.
58
  * Fixed a notice when using the products per page selector feature.