Advanced AJAX Product Filters - Version 1.2.8

Version Description

  • Fix - Subscribe
  • Fix - Feature request send
Download this release

Release Info

Developer dholovnia
Plugin Icon wp plugin Advanced AJAX Product Filters
Version 1.2.8
Comparing to
See all releases

Code changes from version 1.2.7 to 1.2.8

README.md ADDED
@@ -0,0 +1,390 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Advanced AJAX Product Filters ===
2
+ Plugin Name: Advanced AJAX Product Filters
3
+ Contributors: dholovnia, berocket
4
+ Donate link: http://berocket.com/product/woocommerce-ajax-products-filter
5
+ Tags: filters, product filters, ajax product filters, ajax filter, ajax filter widget, color filter, size filter, product onsale filter, product preview, product category filter, product reset filter, product sort by filter, stock filter, product tag filter, price range filter, price box filter, advanced product filters, woocommerce filters, woocommerce product filters, woocommerce products filter, woocommerce ajax product filters, widget, plugin, woocommerce item filters, filters plugin, ajax filters plugin, filter woocommerce products, filter woocommerce products plugin, wc filters, wc filters products, wc products filters, wc ajax products filters, wc product filters, wc advanced product filters, woocommerce layered nav, woocommerce layered navigation, ajax filtered nav, ajax filtered navigation, price filter, ajax price filter, woocommerce product sorting, sidebar filter, sidebar ajax filter, taxonomy filter, category filter, attribute filter, attributes filter, woocommerce product sort, ajax products filter plugin for woocommerce, rocket, berocket, berocket woocommerce ajax products filter
6
+ Requires at least: 4.0
7
+ Tested up to: 4.9.8
8
+ Stable tag: 1.2.8
9
+ License: GPLv2 or later
10
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
+
12
+ WooCommerce AJAX Product Filters - Advanced product filtering ability for your WooCommerce shop. Add unlimited filters with one widget.
13
+
14
+ == Description ==
15
+
16
+ WooCommerce AJAX Product Filters - Advanced product filtering ability for your WooCommerce shop. Add unlimited filters with one widget.
17
+ = Features: =
18
+
19
+ * AJAX Filters, Pagination and Sorting!
20
+ * Unlimited Filters
21
+ * Multiple User Interface Elements
22
+ * Great support for custom/premium themes
23
+ * SEO Friendly Urls ( with HTML5 PushState )
24
+ * Filter Visibility By Product Category And Globals.
25
+ * Accessible through shortcode
26
+ * Filter box height limit with scroll themes
27
+ * Working great with custom widget area
28
+ * Drag and Drop Filter Building
29
+ * And More...
30
+
31
+ = Additional Features in Paid Plugin: =
32
+
33
+ * Filter by Attribute, Tag, Custom Taxonomy, Color, Image, Sale status, Sub-categories and Availability( in stock | out of stock | any )
34
+ * Nice URLs for SEO Friendly URLs
35
+ * Customize filters look through admin
36
+ * Option to re-count products amount in values when some value selected
37
+ * Tag Cloud for Tag filter
38
+ * Description can be added for the attributes
39
+ * Slider can use strings as a value
40
+ * Filters can be collapsed by clicking on title, option to collapse filter on start
41
+ * Price Filter Custom Min and Max values
42
+ * Price as checkbox with min and max values
43
+ * Add custom CSS on admin settings page
44
+ * Show icons before/after widget title and/or before/after values
45
+ * Option to upload "Loading..." gif image and set label after/before/above/under it
46
+ * Scroll top position can be controlled by the admin
47
+ * Option to hide on mobile devices
48
+ * Enhancements of the free features
49
+ * Shortcode Builder for Easy Shortcode Creation
50
+ * Show amount of products before update with "Update button" widget
51
+ * Optimization to Handle up to 5 000 Products Total
52
+ * Option to Set Values for the Price Slider Manually
53
+ * Selected Filters Area
54
+ * Reset button and Search box widget
55
+ * Cache for Widgets
56
+ * Filters Visibility by Pages
57
+ * Display only selected attribute values or hide selected attribute values
58
+
59
+
60
+ = Plugin Links: =
61
+ [Paid Plugin](http://berocket.com/product/woocommerce-ajax-products-filter)
62
+ [Demo](http://woocommerce-products-filter.berocket.com/shop/)
63
+ [Demo Description](http://woocommerce-products-filter.berocket.com/)
64
+
65
+ = Wanna try admin side? =
66
+ [Admin Demo](http://berocket.com/product/woocommerce-ajax-products-filter#try-admin) - Get access to this plugin's admin and try it from inside. Change things and watch how they work.
67
+
68
+ = Premium plugin video =
69
+ [youtube https://youtu.be/8gaMj-IxUj0]
70
+ [youtube https://youtu.be/KMjHgOA-4gM]
71
+ [youtube https://youtu.be/yo0vx5kSlLU]
72
+ *we don't have video with free plugin right now but we are working on it*
73
+
74
+ = Compatibility with WooCommerce plugins =
75
+ Advanced AJAX Product Filters has been tested and compatibility is certain with the following WooCommerce plugins that you can add to your site:
76
+
77
+ * [**Advanced Product Labels for WooCommerce**](https://wordpress.org/plugins/advanced-product-labels-for-woocommerce/)
78
+ * [**Load More Products for WooCommerce**](https://wordpress.org/plugins/load-more-products-for-woocommerce/)
79
+ * [**Brands for WooCommerce**](https://wordpress.org/plugins/brands-for-woocommerce/)
80
+ * [**Grid/List View for WooCommerce**](https://wordpress.org/plugins/gridlist-view-for-woocommerce/)
81
+ * [**Product Preview for WooCommerce**](https://wordpress.org/plugins/product-preview-for-woocommerce/)
82
+ * [**Products Compare for WooCommerce**](https://wordpress.org/plugins/products-compare-for-woocommerce/)
83
+ * [**Wishlist and Waitlist for WooCommerce**](https://wordpress.org/plugins/wish-wait-list-for-woocommerce/)
84
+
85
+ Nevertheless, it could be compatible with many other WooCommerce plugins that have not been tested yet. If you want to inform us about compatibility with other plugins, please, [email to us](http://berocket.com/contact).
86
+
87
+
88
+ = Shortcode: =
89
+ * In editor `[br_filters attribute=price type=slider title="Price Filter"]`
90
+ * In PHP `do_shortcode('[br_filters attribute=price type=slider title="Price Filter"]');`
91
+
92
+ = Shortcode Options: =
93
+ * `attribute`(required) - product attribute, eg price or length. Don't forget that woocommerce adding pa_ suffix for created attributes.
94
+ So if you create new attribute `jump` its name is `pa_jump`
95
+ * `type`(required) - checkbox, radio, slider or select
96
+ * `operator` - OR or AND
97
+ * `title` - whatever you want to see as title. Can be empty
98
+ * `product_cat` - parent category id
99
+ * `cat_propagation` - should we propagate this filter to child categories? set 1 to turn this on
100
+ * `height` - max filter box height. When height is met scroll will be added
101
+ * `scroll_theme` - pretty clear name, scroll theme. Will be used if height is set and real height of box is more
102
+
103
+
104
+ = Advanced Settings (Widget area): =
105
+
106
+ * Product Category - if you want to pin your filter to category of the product this is good place to do it.
107
+ Eg. You selling Phones and Cases for them. If user choose Category "Phones" filter "Have Wi-Fi" will appear
108
+ but if user will choose "Cases" it will not be there as Admin set that "Have Wi-Fi" filter will be visible only on
109
+ "Phones" category.
110
+ * Filter Box Height - if your filter have too much options it is nice to limit height of the filter to not prolong
111
+ the page too much. Scroll will appear.
112
+ * Scroll theme - if "Filter Box Height" is set and box length is more than "Filter Box Height" scroll appear and
113
+ how it looks depends on the theme you choose.
114
+
115
+
116
+ = Advanced Settings (Plugin Settings): =
117
+ * Plugin settings can be found in admin area, WooCommerce -> Product Filters
118
+ * "No Products" message - Text that will be shown if no products found
119
+ * "No Products" class - Add class and use it to style "No Products" box
120
+ * Products selector - Selector for tag that is holding products
121
+ * Sorting control - Take control over WooCommerce's sorting selectbox
122
+ * SEO friendly urls - url will be changed when filter is selected/changed
123
+ * Turn all filters off - If you want to hide filters without losing current configuration just turn them off
124
+
125
+
126
+
127
+ == Installation ==
128
+
129
+ = Step 1: =
130
+ * First you need to add attributes to the products ( WooCommerce plugin should be installed and activated already )
131
+ * Go to Admin area -> Products -> Attributes and add attributes your products will have, add them all
132
+ * Click attribute's name where type is select and add values to it. Predefine product options
133
+ * Go to your products and add attributes to each of them
134
+
135
+ = Step 2: =
136
+ * Install and activate plugin
137
+ * First of all go to Admin area -> WooCommerce -> Product Filter and check what global options you can manage
138
+ * After that go to Admin area -> Appearance -> Widgets
139
+ * In Available Widgets ( left side of the screen ) find AJAX Product Filters
140
+ * Drag it to Sidebar you choose
141
+ * Enter title, choose attribute that will be used for filtering products, choose filter type,
142
+ choose operator( whether product should have all selected values (AND) or one of them (OR) ),
143
+ * Click save and go to your shop to check how it work.
144
+ * That's it =)
145
+
146
+
147
+ == Frequently Asked Questions ==
148
+
149
+ = Is it compatible with all WordPress themes? =
150
+ Compatibility with all themes is impossible, because they are too many, but generally if themes are developed according to WordPress and WooCommerce guidelines, BeRocket plugins are compatible with them.
151
+
152
+ = How can I get support if my WooCommerce plugin is not working? =
153
+ If you have problems with our plugins or something is not working as it should, first follow this preliminary steps:
154
+
155
+ * Test the plugin with a WordPress default theme, to be sure that the error is not caused by the theme you are currently using.
156
+ * Deactivate all plugins you are using and check if the problem is still occurring.
157
+ * Ensure that your plugin version, your theme version and your WordPress and WooCommerce version (if required) are updated and that the problem you are experiencing has not already been solved in a later plugin update.
158
+
159
+ If none of the previous listed actions helps you solve the problem, then, submit a ticket in the forum and describe your problem accurately, specify WordPress and WooCommerce versions you are using and any other information that might help us solve your problem as quickly as possible. Thanks!
160
+
161
+
162
+ = How can I get more features for my WooCommerce plugin? =
163
+ You can get more features with the premium version of Advanced AJAX Product Filters, available on [BeRocket page](http://berocket.com/product/woocommerce-ajax-products-filter). Here you can read more about the premium features of the plugin and make it give it its best shot!
164
+
165
+
166
+ = How can I try the full-featured plugin? =
167
+ You can try this plugin's admin side [here](http://berocket.com/product/woocommerce-ajax-products-filter#try-admin). Configure plugin the way you need to check the results.
168
+
169
+ ---
170
+
171
+ == Screenshots ==
172
+ 1. General settings
173
+ 2. JavaScript settings
174
+ 3. Widget
175
+
176
+ ---
177
+
178
+ == Changelog ==
179
+
180
+ = 1.2.6 =
181
+ * Upgrade - better plugin menu items location
182
+ * Upgrade - Categories filter
183
+ * Upgrade - Reset filters button
184
+ * Upgrade - Values order
185
+ * Upgrade - Custom CSS
186
+ * Upgrade - Option to hide widget on mobile
187
+
188
+ = 1.2.5 =
189
+ * Enhancement - Product categories filtering
190
+ * Enhancement - Select2 script for dropdown menu in filters
191
+ * Enhancement - Option to use GET request instead POST request(for better compatibility with some caching)
192
+ * Enhancement - Setup Wizard
193
+ * Enhancement - Auto selectors
194
+ * Fix - Displaying categories and subcategories
195
+ * Fix - Compatibility with new version of Load More plugin
196
+ * Fix - Other fixes
197
+
198
+ = 1.2.4 =
199
+ * Upgrade - WordPress 4.9 compatibility
200
+
201
+ = 1.2.3 =
202
+ * Upgrade - more useful subscribe
203
+ * Fix - updater fix
204
+
205
+ = 1.2.2 =
206
+ * Upgrade - Font Awesome
207
+ * Upgrade - New admin notices
208
+
209
+ = 1.2.1 =
210
+ * Upgrade - Option to subscribe
211
+ * Upgrade - Better advertisement
212
+
213
+ = 1.2.0 =
214
+ * Premium Feature - best support for the themes moved from premium version of the plugin. If you have any issues ith theme update and set Template ajax load fix to jQuery
215
+ * Enhancement - No Products message
216
+ * Enhancement - No Products class
217
+ * Enhancement - Count Results holder
218
+ * Enhancement - Pagination holder
219
+ * Fix - no errors if terms found
220
+ * Fix - remove notices
221
+
222
+ = 1.1.8.1 =
223
+ * Fix - WooCommerce 3.0.1 issues
224
+ * Fix - Premium plugin link on settings page.
225
+
226
+ = 1.1.8 =
227
+ * Fix - Better compatibility with WPML
228
+
229
+ = 1.1.7 =
230
+ * Fix - Remove notices on PHP 7 and newer
231
+ * Fix - Fix fo Currency Exchange plugin
232
+ * Fix - Styles for admin panel
233
+ * Fix - Remove sliders from all filters
234
+
235
+ = 1.1.7 =
236
+ * Fix - Remove notices on PHP 7 and newer
237
+ * Fix - Fix fo Currency Exchange plugin
238
+ * Fix - Styles for admin panel
239
+ * Fix - Remove sliders from all filters
240
+
241
+ = 1.1.6 =
242
+ * Fix - Price for currency exchange
243
+ * Fix - Optimization for price widget
244
+ * Fix - Custom JavaScript errors
245
+
246
+ = 1.1.5 =
247
+ * Fix - Shortcode doesn't work
248
+ * Fix - Optimization for price filters
249
+ * Fix - Filters work incorrect on search page
250
+ * Fix - Some strings is not translated with WPML
251
+ * Fix - Optimization for hiding attribute values without products
252
+
253
+ = 1.1.4 =
254
+ * Enhancement - Russian translation
255
+ * Fix - Translation
256
+ * Fix - Network activation
257
+ * Fix - Displaying of filter with price
258
+ * Fix - Get normal min/max prices for filter with price
259
+ * Fix - Widgets displays incorrect with some themes
260
+ * Fix - Not filtering with some plugins
261
+ * Fix - Scrollbar displays incorrect with some themes
262
+
263
+ = 1.1.3 =
264
+ * Enhancement - load only products from last AJAX request
265
+ * Enhancement - Uses HTML for widgets from theme
266
+ * Enhancement/Fix - Attributes page support
267
+ * Fix - Hash links didn't works with plugin
268
+ * Fix - Widgets don't display on page with latest version of WooCommerce
269
+ * Fix - Remove PHP errors
270
+
271
+ = 1.1.0.7 =
272
+ * Enhancement - Option to hide selected values and/or without products. Add at the bottom button to show them
273
+ * Enhancement - Filters are using product variations now
274
+ * Enhancement - translation( WPML ) support
275
+ * Enhancement/Fix - radio-box had issues and there was no chance to remove selection
276
+ * Fix - Pagination has issues with link building
277
+ * Fix - Jump to first page wasn't working correctly and jump each time even when user want to change page
278
+
279
+ = 1.1.0.6 =
280
+ * Enhancement - Scroll to the top
281
+ * Enhancement/Fix - Hash for old browsers added for better support
282
+ * Enhancement/Fix - Sort by default WooCommerce value
283
+ * Fix - out-of-stock filter working correctly
284
+
285
+ = 1.1.0.5 =
286
+ * Enhancement - Option to add text before and after price input fields
287
+ * Enhancement - Jump to first page when filter changed
288
+ * Fix - Now only used values must be shown, not all
289
+ * Fix - Products are limited by category we are in
290
+ * Fix - Products amount on the first page is correct now
291
+
292
+ = 1.1.0.4 =
293
+ * Minor fix
294
+
295
+ = 1.1.0.3 =
296
+ * Enhancement - Custom CSS class can be added per widget/filter
297
+ * Enhancement - Update button. If added products will be updated only when user click Update button
298
+ * Enhancement - Radio-box can be unselected by clicking it again
299
+ * Enhancement/Fix - Urls are shortened using better structure to save filters. `~` symbol is not used now
300
+ * Fix - issue with shortened tags for shortcode.
301
+ * Fix - on widgets page widget now has subcategories(hierarchy)
302
+ * Fix - all categories are visible, not only that have products inside(popular)
303
+ * Minor fixes
304
+
305
+ = 1.1.0.2 =
306
+ * Fix - another js issue that stops plugin from work
307
+ * Fix - order by name, name_numeric and attribute ID wasn't working
308
+
309
+ = 1.1.0.1 =
310
+ * Fix - js issue that stops plugin from work
311
+
312
+ = 1.1.0 =
313
+ * Enhancement - Show all values - on plugin settings page you can enable option to show all values no matter if they are used or not
314
+ * Enhancement - Values order - you can set values order when editing attribute. You can set how to order (by id, name or custom). If
315
+ you set to order `by custom` you can drag&drop values up and down and set your own order.
316
+ * Small fixes
317
+
318
+ = 1.0.4.5 =
319
+ * Enhancement - values order added. Now order of values can be controlled through attribute options
320
+ * Enhancement/Fix - Better support for for category pages
321
+ * Other small fixes
322
+
323
+ = 1.0.4.4 =
324
+ * Enhancement - adding callback for before_update, on_update, after_update events.
325
+ * Other small fixes
326
+
327
+ = 1.0.4.3 =
328
+ * Enhancement - shortcode added
329
+ * Critical/Fix - If slider match none its values wasn't counted
330
+ * Enhancement/Fix - Changing attribute data location from url to action-element, providing more flexibility for template
331
+ * Enhancement/Templating - Using full products loop instead of including product content template
332
+ * Fix - Pagination with SEO url issue
333
+
334
+ = 1.0.4.2 =
335
+ * Enhancement/Fix - Better support for SEO urls with permalinks on/off
336
+ * Fix - Critical bug that was returning incorrect products.
337
+
338
+ = 1.0.4.1 =
339
+ * Enhancement - Adding AJAX for pagination.
340
+ * Enhancement - Adding PushState for pagination.
341
+ * Enhancement/Fix - Pagination wasn't updating when filters used.
342
+ * Enhancement/Fix - Text with amount of results (Eg "Showing all 2 results") wasn't updating after filters applied
343
+ * Enhancement/Fix - When choosing Slider in admin Operator became hidden
344
+ * Fix - All sliders except price wasn't working with SEO url
345
+ * Fix - When changing attribute to/from price in admin all filters jumping
346
+ * Fix - After filter applied all products was showed. Even those with Draft status.
347
+
348
+ = 1.0.4 =
349
+ * Enhancement - SEO friendly urls with possibility for users to share/bookmark their search. Will be shortened in future
350
+ * Enhancement - Option added to turn SEO friendly urls on/off. Off by default as this is first version of this feature
351
+ * Enhancement - Option to turn filters on/off globally
352
+ * Enhancement - Option to take control over (default) sorting function, make it AJAXy and work with filters
353
+ * Fix - Sorting remain correct after using filters. Sorting wasn't counted before
354
+ * Fix - If there are 2 or more sliders they are not working correctly.
355
+ * Fix - Values in slider was converted to float even when value ia not a price.
356
+ * Fix - If there are 2 or more values for attribute it was not validated when used in slider.
357
+
358
+ = 1.0.3.6 =
359
+ * Fix - Removed actions that provide warning messages
360
+ * Enhancement - Actions and filters inside plugin
361
+
362
+ = 1.0.3.3 =
363
+ * Enhancement/Fix - Showing products and options now depending on woocommerce_hide_out_of_stock_items option
364
+ * Enhancement/Fix - If not enough data available( quantity of options < 2 ) filters will not be shown.
365
+ * Fix - If in category, only products/options from this category will be shown
366
+
367
+ = 1.0.3.2 =
368
+ * Fix - wrong path was committed in previous version that killed plugin
369
+
370
+ = 1.0.3 =
371
+ * Enhancement - CSS and JavaScript files minimized
372
+ * Enhancement - Settings page added
373
+ * Enhancement - "No Products" message and it's class can be changed through admin
374
+ * Enhancement - Option added that can enable control over sorting( if visible )
375
+ * Enhancement - User can select several categories instead of one. Now you don't need to create several same filters
376
+ for different categories.
377
+ * Enhancement - Added option "include subcats?". if selected filter will be shown in selected categories and their
378
+ subcategories
379
+ * Fix - Adding support to themes that require product div to have "product" class
380
+ * Fix - Slider in categories wasn't initialized
381
+ * Fix - Subcategories wasn't working. Only Main categories were showing filters
382
+ * Templating - return woocommerce/theme default structure for product
383
+ * Templating - html parts moved to separate files in templates folder. You can overwrite them by creating folder
384
+ "woocommerce-filters" and file with same name as in plugin templates folder.
385
+
386
+ = 1.0.2 =
387
+ * Fix - better support for older PHP versions
388
+
389
+ = 1.0.1 =
390
+ * First public version
contributors.txt ADDED
@@ -0,0 +1 @@
 
1
+ BeRocket
includes/admin_notices.php CHANGED
@@ -752,10 +752,11 @@ if( ! class_exists( 'berocket_admin_notices' ) ) {
752
  $plugins = array_unique($plugins);
753
  $plugins = implode(',', $plugins);
754
  update_option('berocket_email_subscribed', true);
755
- curl_setopt($ch, CURLOPT_URL,"http://berocket.com/main/subscribe");
756
  curl_setopt($ch, CURLOPT_POST, 1);
757
- curl_setopt($ch, CURLOPT_POSTFIELDS, "email=" . sanitize_email($_POST['email']) . "&plugins=" . $plugins);
758
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
 
759
  echo curl_exec ($ch);
760
  curl_close ($ch);
761
  }
752
  $plugins = array_unique($plugins);
753
  $plugins = implode(',', $plugins);
754
  update_option('berocket_email_subscribed', true);
755
+ curl_setopt($ch, CURLOPT_URL,"https://berocket.com/main/subscribe");
756
  curl_setopt($ch, CURLOPT_POST, 1);
757
+ curl_setopt($ch, CURLOPT_POSTFIELDS, "subs_email=" . sanitize_email($_POST['email']) . "&plugins=" . $plugins);
758
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
759
+ curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
760
  echo curl_exec ($ch);
761
  curl_close ($ch);
762
  }
includes/updater.php CHANGED
@@ -423,7 +423,6 @@ if ( ! class_exists( 'BeRocket_updater' ) ) {
423
  <style>
424
  .toplevel_page_berocket_account .dashicons-before img {
425
  max-width: 16px;
426
- max-height: 16px;
427
  }
428
  </style>
429
  <?php
423
  <style>
424
  .toplevel_page_berocket_account .dashicons-before img {
425
  max-width: 16px;
 
426
  }
427
  </style>
428
  <?php
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: http://berocket.com/product/woocommerce-ajax-products-filter
5
  Tags: filters, product filters, ajax product filters, ajax filter, ajax filter widget, color filter, size filter, product onsale filter, product preview, product category filter, product reset filter, product sort by filter, stock filter, product tag filter, price range filter, price box filter, advanced product filters, woocommerce filters, woocommerce product filters, woocommerce products filter, woocommerce ajax product filters, widget, plugin, woocommerce item filters, filters plugin, ajax filters plugin, filter woocommerce products, filter woocommerce products plugin, wc filters, wc filters products, wc products filters, wc ajax products filters, wc product filters, wc advanced product filters, woocommerce layered nav, woocommerce layered navigation, ajax filtered nav, ajax filtered navigation, price filter, ajax price filter, woocommerce product sorting, sidebar filter, sidebar ajax filter, taxonomy filter, category filter, attribute filter, attributes filter, woocommerce product sort, ajax products filter plugin for woocommerce, rocket, berocket, berocket woocommerce ajax products filter
6
  Requires at least: 4.0
7
  Tested up to: 4.9.8
8
- Stable tag: 1.2.7
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -17,6 +17,11 @@ WooCommerce AJAX Product Filters - Advanced product filtering ability for your W
17
 
18
  = New Feature in version 1.2.5 - Filter by Product Categories! =
19
 
 
 
 
 
 
20
  = Features: =
21
 
22
  &#9989; AJAX Filters, Pagination and Sorting!
@@ -184,6 +189,10 @@ You can try this plugin's admin side [here](http://berocket.com/product/woocomme
184
 
185
  == Changelog ==
186
 
 
 
 
 
187
  = 1.2.7 =
188
  * Enhancement - Auto-selectors has "Stop" button
189
  * Enhancement - Feature request box
5
  Tags: filters, product filters, ajax product filters, ajax filter, ajax filter widget, color filter, size filter, product onsale filter, product preview, product category filter, product reset filter, product sort by filter, stock filter, product tag filter, price range filter, price box filter, advanced product filters, woocommerce filters, woocommerce product filters, woocommerce products filter, woocommerce ajax product filters, widget, plugin, woocommerce item filters, filters plugin, ajax filters plugin, filter woocommerce products, filter woocommerce products plugin, wc filters, wc filters products, wc products filters, wc ajax products filters, wc product filters, wc advanced product filters, woocommerce layered nav, woocommerce layered navigation, ajax filtered nav, ajax filtered navigation, price filter, ajax price filter, woocommerce product sorting, sidebar filter, sidebar ajax filter, taxonomy filter, category filter, attribute filter, attributes filter, woocommerce product sort, ajax products filter plugin for woocommerce, rocket, berocket, berocket woocommerce ajax products filter
6
  Requires at least: 4.0
7
  Tested up to: 4.9.8
8
+ Stable tag: 1.2.8
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
17
 
18
  = New Feature in version 1.2.5 - Filter by Product Categories! =
19
 
20
+ = &#127876; Merry Christmas and Happy Holidays from BeRocket &#127877; : =
21
+
22
+ &#127881; [25% OFF YOUR ENTIRE ORDER!](https://berocket.com/products/?utm_source=wordpressorg&utm_medium=readme&utm_campaign=xmas_promotions)
23
+
24
+
25
  = Features: =
26
 
27
  &#9989; AJAX Filters, Pagination and Sorting!
189
 
190
  == Changelog ==
191
 
192
+ = 1.2.8 =
193
+ * Fix - Subscribe
194
+ * Fix - Feature request send
195
+
196
  = 1.2.7 =
197
  * Enhancement - Auto-selectors has "Stop" button
198
  * Enhancement - Feature request box
templates/settings_footer.php CHANGED
@@ -259,6 +259,7 @@
259
  <form class="berocket_subscribe_form" method="POST" action="<?php echo admin_url( 'admin-ajax.php' ); ?>">
260
  <input type="hidden" name="plugin" value="<?php echo $paid_plugin_info['id']; ?>" class="berocket_plugin_id_subscribe">
261
  <input type="hidden" name="action" value="berocket_subscribe_email">
 
262
  <input class="berocket_subscribe_email" type="email" name="email" placeholder="Enter your email address" value="<?php echo $user_email; ?>">
263
  <input type="submit" class="berocket_notice_submit" value="SUBSCRIBE">
264
  </form>
259
  <form class="berocket_subscribe_form" method="POST" action="<?php echo admin_url( 'admin-ajax.php' ); ?>">
260
  <input type="hidden" name="plugin" value="<?php echo $paid_plugin_info['id']; ?>" class="berocket_plugin_id_subscribe">
261
  <input type="hidden" name="action" value="berocket_subscribe_email">
262
+ <input type="hidden" name="berocket_action" value="berocket_subscribe_email">
263
  <input class="berocket_subscribe_email" type="email" name="email" placeholder="Enter your email address" value="<?php echo $user_email; ?>">
264
  <input type="submit" class="berocket_notice_submit" value="SUBSCRIBE">
265
  </form>
woocommerce-filters.php CHANGED
@@ -3,16 +3,16 @@
3
  * Plugin Name: Advanced AJAX Product Filters for WooCommerce
4
  * Plugin URI: https://wordpress.org/plugins/woocommerce-ajax-filters/
5
  * Description: Advanced product filtering ability for your WooCommerce shop. Add unlimited filters with one widget.
6
- * Version: 1.2.7
7
  * Author: BeRocket
8
  * Requires at least: 4.0
9
  * Author URI: http://berocket.com
10
  * Text Domain: BeRocket_AJAX_domain
11
  * Domain Path: /languages/
12
- * WC tested up to: 3.4.5
13
  */
14
 
15
- define( "BeRocket_AJAX_filters_version", '1.2.7' );
16
  define( "BeRocket_AJAX_domain", 'BeRocket_AJAX_domain' );
17
 
18
  define( "AAPF_TEMPLATE_PATH", plugin_dir_path( __FILE__ ) . "templates/" );
@@ -298,8 +298,8 @@ class BeRocket_AAPF {
298
  wp_enqueue_script( 'berocket_aapf_widget-admin', plugins_url( 'js/admin.js', __FILE__ ), array( 'jquery' ), BeRocket_AJAX_filters_version );
299
 
300
  wp_register_style( 'berocket_aapf_widget-colorpicker-style', plugins_url( 'css/colpick.css', __FILE__ ), array(), BeRocket_AJAX_filters_version );
301
- wp_register_style( 'font-awesome', plugins_url( 'css/font-awesome.min.css', __FILE__ ) );
302
  wp_enqueue_style( 'berocket_aapf_widget-colorpicker-style' );
 
303
  wp_enqueue_style( 'font-awesome' );
304
 
305
  $plugin_info = get_plugin_data(__FILE__, false, true);
3
  * Plugin Name: Advanced AJAX Product Filters for WooCommerce
4
  * Plugin URI: https://wordpress.org/plugins/woocommerce-ajax-filters/
5
  * Description: Advanced product filtering ability for your WooCommerce shop. Add unlimited filters with one widget.
6
+ * Version: 1.2.8
7
  * Author: BeRocket
8
  * Requires at least: 4.0
9
  * Author URI: http://berocket.com
10
  * Text Domain: BeRocket_AJAX_domain
11
  * Domain Path: /languages/
12
+ * WC tested up to: 3.4.6
13
  */
14
 
15
+ define( "BeRocket_AJAX_filters_version", '1.2.8' );
16
  define( "BeRocket_AJAX_domain", 'BeRocket_AJAX_domain' );
17
 
18
  define( "AAPF_TEMPLATE_PATH", plugin_dir_path( __FILE__ ) . "templates/" );
298
  wp_enqueue_script( 'berocket_aapf_widget-admin', plugins_url( 'js/admin.js', __FILE__ ), array( 'jquery' ), BeRocket_AJAX_filters_version );
299
 
300
  wp_register_style( 'berocket_aapf_widget-colorpicker-style', plugins_url( 'css/colpick.css', __FILE__ ), array(), BeRocket_AJAX_filters_version );
 
301
  wp_enqueue_style( 'berocket_aapf_widget-colorpicker-style' );
302
+ wp_register_style( 'font-awesome', plugins_url( 'css/font-awesome.min.css', __FILE__ ) );
303
  wp_enqueue_style( 'font-awesome' );
304
 
305
  $plugin_info = get_plugin_data(__FILE__, false, true);