annasta Woocommerce Product Filters

Changelog Archive

Please visit the plugin development section of WordPress directory to see the changelog for the most recent versions of the plugin.

1.4.9

  • Added an option to block filter deactivation (reset)
  • Added AND operator support in (hierarchical) taxonomy queries
  • Added AND operator support for taxonomy queries in product counts
  • Added product categories support in annasta Filters > Plugin settings > Advanced settings > Query operators
  • Added “category” and “on_sale” [products] shortcode attributes support
  • Added fixed position and z-index options to toggle “Filters” button section of annasta Customizer
  • Added awf_dynamic_price_range_args filter to control the dynamic price range query args
  • Added an option to control 3d party URL parameters addition to filters’ URLs (annasta Filters > Plugin settings > 3d party parameters support)
  • Added a Polylang adjustment
  • Added Default WooCommerce pagination option in annasta Filters > Product lists > Add to product list template, to use with themes that overwrite the native WooCommerce pagination
  • Added support for Rife Free theme (pagination fix)
  • Fixed the paged and hierarchical breadcrumbs’ adjustments
  • Minor PHP, JS, CSS optimizations, adjustments and fixes
  • Upped WordPress & WooCommerce versions compliance to 5.9 and 6.1 respectively

1.4.8

  • Added Active filters mode to Filter items control
  • Added active filters’ immediate children un-collapse on first page load
  • Added pointer-events blocking during AJAX calls to avoid multiple filters submissions
  • Added WPML support for colour boxes and custom term icons and labels
  • Added WPML support for excluded and included terms
  • Added WPML support for custom Woocommerce taxonomies’ base slugs
  • Added an option to control breadcrumbs support (see the annasta Filters > Product lists admin page)
  • Fixed the breadcrumbs adjustment routines. Breadcrumbs’ adjustment now works on taxonomy archive pages only.
  • Font Awesome support improvement: added an option to select between limiting plugin’s Font Awesome stylesheets scope to filters only (to avoid conflicts with other plugins that also add Font Awesome 5 Free), extending the plugin’s Font Awesome 5 Free stylesheets for the whole site, or completely disabling plugins’ Font Awesome stylesheets.
  • Added awf_display_filter_html filter to provide a way of customizing filter output and / or editing filter instance before filter html output gets created.
  • Fix for the null url_query error thrown on some configurations
  • Fixed WC main loop orderby=date (asc) transforming to date-desc orderby in AJAX calls
  • Added try/catch routine for errors thrown when AJAX responses fail
  • Fixed collapsible filters’ child levels
  • Fix in the date filters’ parameter label formation
  • Changed dates format labeling: replaced YY with YYYY for clarity, since only the 4-digit year is supported by the current date formats.
  • Fix: pretty scrollbars updates in togglable presets
  • Minor PHP, JS, CSS optimizations and adjustments, code clean up
  • Upped WooCommerce version compliance to 5.9

1.4.7

  • Added manual selection option for filter items of taxonomy-based, product availability, meta data filters and sort by control
  • Added basic WPML compatibility, including support for “Use translation if available or fallback to default language” of product type set in WPML > Settings > Post Types Translations.
  • Added Product counts cache lifespan option in annasta Filters > Plugin settings. Disable all the transients-based cache generated by the plugin by setting Product counts cache lifespan to 0.
  • Added native WooCommerce decimal and thousand separators support to range sliders (see WooCommerce > General > Currency options > Thousand separator / Decimal separator).
  • Added widget preview for new Appearance > Widgets layout.
  • Optimisation of product counts transients deletion procedure.
  • Optimization: increased digits limit for the prices filter to accommodate numbers till 12 digits (including decimals).
  • Fixed internally generated shortcode attributes for cache and pagination.
  • Fixed error produced by presets with ‘Controlled by “Filters” button’ Visibility in cases when such presets were inserted into the page more than once.
  • Fix: for cases with frontpage shop excluded static home posts page (Settings > Reading > Static home pages) from filters’ WP_Query adjustments.
  • Admin code clean up
  • Minor PHP, JS, CSS optimizations and adjustments
  • Upgraded noUiSlider library to version 15.4.0
  • Upgraded perfect-scrollbar library to version 1.5.2
  • Upped WordPress & WooCommerce versions compliance to 5.8 and 5.6 respectively

1.4.6

  • Added an option for dynamic price sliders (annasta Filters > Dynamic price sliders)
  • Added new options in the Customizer: new collapse filter icons, custom icon color / size
  • Added option to customize filter terms search box placeholder
  • Added support for non-trailing slash permalinks on archive pages
  • Added a limit of 200 products to products per page control to avoid server overloads
  • Added CSS transitions for some elements (reset buttons, labels, badges)
  • Optimisation: added zero default opacity for presets toggled by “Filter” button
  • Optimisation: added default hidden state to filters’ reset buttons
  • Optimised collapsible children JS
  • Optimised cross-browser compatibility for browser back button page reloads
  • Optimised admin area JS
  • Optimisation: added second AJAX-driven dropdown for the taxonomy-related options in the Display on section of preset admin
  • Added a check for non-public taxonomies in the preset Display on section
  • Added basic admin checks and warnings for non-latin slugs
  • Fixed non-numeric values in products meta data filters
  • Fixed single-select float badges creation for meta data filters
  • Fixed the Customizer alpha color picker conflict with themes that are using the same alpha color picker as annasta Filters
  • Fixed the variable products stock support routine (combination with other post__in filters)
  • Minor PHP, JS, CSS optimizations and adjustments
  • Upped the WC version compliance to 5.3

1.4.5

  • Fixed session expiration admin warnings
  • Fixed the parent / child level selection in the same-taxonomy multi-select hierarchical filters of archive pages
  • Fixed wNumb error thrown on decimal separator being equal to thousands separator
  • Fixed ajax pagination in case of button-submitted ajax filters
  • Added option: “Filters” toggle button label customization (annasta Filters > Plugin settings > Filters toggle button label)
  • Added option: preserve hierarchical archive permalinks in single-select filters (annasta Filters > Plugin settings > Hierarchical archive links)
  • Added option: hierarchical levels customization for filters based on hierarchical taxonomies
  • Added option: enable or disable children display for hierarchical taxonomies
  • Enforced the CSS-controlled indentation for hierarchical taxonomies’ sub-levels
  • Optimised URL filters archive links creation routine
  • Performed basic compatibility adjustments for PHP 8
  • Fixed PHP 8 errors in Spanish translations
  • Updated the built-in Font Awesome support to version 5.15.3
  • Minor admin design changes
  • Upped the WC version compliance to 5.2

1.4.1

  • Widened the variable products stock support (available as beta option in annasta Filters > Plugin Settings > Stock filter variations support)
  • Upped WP & WC versions compliance to 5.7 and 5.1 respectively

1.4.0

  • Added support for the same-taxonomy filters on archive pages, including multiple terms handling
  • Improved the AJAX calls handling routine, allowing to load product lists without headers and footers. The previously default option of loading the full product list in AJAX mode can now be toggled in annasta Filters > Product lists > Force wrapper reload
  • Added products list template options, including filters insertion into product lists headers / footers (in conjunction with disabled annasta Filters > Product lists > Force wrapper reload)
  • Added beta option for stock filter support for product variations
  • Added support for additional variables in AJAX calls
  • Added numeric sort option for taxonomy filters’ terms
  • SEO improvement: introduced alphabetical sort for the URL filter parameters in AJAX
  • Improved admin AJAX error response handling
  • Fixed products per page control AJAX reload after item removal in admin
  • Fixed admin AJAX error on Products Search control addition
  • Fix: added trailingslashit to the current url of page number link creation routine for permalinks
  • Fixed the inaccurate browser width calculation for “Filters” button-controlled presets state change
  • Added string search autocomplete support for OceanWP theme
  • Minor CSS, JS & PHP improvements
  • Upgraded noUiSlider library to version 14.6.3
  • Upgraded Freemius library to version 2.4.2
  • Upped WooCommerce version compliance to 5.0.0

1.3.2

  • Fixed search string escaped quotes for SEO – generated titles
  • Added option for parent presets display on a taxonomy child term page
  • Fixed the Show title bar checkbox dependency on collapsible filters state change in admin
  • Added checks and warnings for removed taxonomies in filters admin
  • Replaced some deprecated jQuery functions in preparation for jQuery 3.5.1 update
  • Upped WP & WC versions compliance to 5.6 and 4.8 respectively

1.3.1

  • Fixed the reset filters bottom-located button not being displayed
  • Fixed products list title not displaying in zero results ajax calls
  • Fixed products list badges not displaying in zero results ajax calls
  • Fixed escaped quotes in string search box
  • Fixed annasta WP admin menu items selection
  • Optimized dynamic product counts query by addressing the recalculation of meta_query and post__in arguments
  • Added awf_product_counts_query filter to product counts query
  • Removed “Leave site…” warning in admin form autosubmits for browsers that support window.onbeforeunload
  • Upgraded Freemius library to version 2.4.1
  • Upgraded noUiSlider library to version 14.6.2
  • Upped WooCommerce version compliance to 4.7.0

1.3.0

  • Added WordPress Customizer support to provide filters’ appearance customization
  • Deprecated the previous default style (still available as “Deprecated since version 1.3.0” for backwards compatibility), and added a new default stylesheet that supports WordPress Customizer
  • Added an option for the default filters preset font enqueue from Google Fonts
  • Added Font Awesome stylesheet enqueue option allowing to disable the Font Awesome enqueue if the font is fully supported by the theme
  • Added the Product Lists section to plugin settings offering options for better control of the filtered Woocommerce products list appearance
  • Moved the pre-existing options relevant to product lists appearance to the newly created Product Lists section of plugin settings
  • Added Display shop title option to control the display of Woocommerce product list title
  • Changed active badge click area to the whole badge (instead of just the x button)
  • Untied active badge label creation from title attribute
  • Untied Reset all filters button display from active badges display
  • Improved active filters badges display for dropdowns
  • Added check for a null query object in awf Javascript data variable
  • Added check for the awf action existence on frontend ajax requests
  • Fixed the widget / shortcode return values causing conflicts with some builder plugins
  • Raised PHP version requirement to 5.5
  • Upped WC & WP versions compliance
  • Added alpha-color-picker.js library to provide rgba support for the Customizer color picker
  • Added the perfect-scrollbar.min.js.map file
  • Upgraded Freemius library to version 2.4.0
  • Upgraded noUiSlider library to version 14.6.1
  • Upgraded moment.js library to version 2.27.0
  • Upgraded daterangepicker library to version 3.1

1.2.9

  • Fixed togglable preset Filter button not reappearing on empty result
  • Fixed togglable preset under Filter button events
  • Fixed multiple datepickers reset error
  • Fixed products search box double submission on enter key
  • Partially optimised js events attachment for the universal events
  • Infinite scroll fixes and optimisation
  • Added custom class to the autocomplete product list container
  • Added the products wrappers filter for non-autocomplete products containers
  • Minor daterangepicker css adjustments
  • Cleanup of the old third-party script versions

1.2.8

  • Fixed the preset displays on non-shop WordPress pages.
  • Fixed an infinite scroll bug.
  • Fixed the perfect-scrollbar eternal scroll bug.
  • Moved the “Product columns” to basic plugin options.
  • Moved the “Products per page” to basic plugin options.
  • Introduced separate style options for color box and image filter styles.
  • Added “Plain Image” image filter style.
  • Added the “Collapsible” filter option allowing users to toggle the opened and closed state of the filter options to basic filter options.
  • Added Dates selection filtering with Datepicker style to product meta data filters.
  • Added meta filters naming checks to exclude duplicate meta data filters in the same preset.
  • Translations optimization.
  • Added Spanish translation.
  • Introduced better error handling for AJAX requests in admin.
  • Minor css and js changes.
  • Upped the WC version compliance.

1.2.7

  • Added the “Layout” preset setting allowing to choose between 1-column and 4-column layouts. Note to users: if you previously used the automatic 4-column filters layout for the presets placed in the header area, go to the preset settings to set the Preset layout property of the needed preset to “4 columns”.
  • Added the “Visibility” preset setting offering the responsive display choices, and introducing options for the “Filters” button controlled presets.
  • Added the “”Filters” button mode” preset setting allowing to set the “Filters” button-controlled preset style to the popup sidebar or preset filters toggle underneath the “Filters” button.
  • Added the “Responsive width” preset setting supporting the responsive behaviour of the corresponding “Visibility” settings.
  • Added the taxonomy archive pages by term selection to the “Display on” options.
  • Changed the “Scroll to ajax results” option default to disabled.
  • Changed the default products shortcode sorting from “Popularity” to “Default”.
  • Added the “Default” sorting option to the annasta Sort by control.
  • Fixed the “products” shortcode & ajax pagination for WC versions below 3.3.3
  • Removed the check for an existing price_filter in the WC meta query.
  • Upped the WP and WC versions compliance.

1.2.6

  • Added the beta version of ajax pagination options, including the ajax-supported page numbers, infinite scroll, and “Load more products” button-driven next page load
  • Fixed the extra ajax products list container issue for better themes compatibility
  • Code preparation for the themes compatibility checks phase
  • Added compatibility support for Astra, Oceanwp and Neve themes
  • In AJAX calls replaced the custom no products message with the corresponding native Woocomerce function
  • Set the “description” meta for empty filters to the shop title
  • Fixed the float format regional compatibility for the custom range values
  • Fixed the products shortcode attributes integration with ajax shortcodes
  • Optimized the shortcode query: removed filters’ terms addition to the products shortcode category attribute so that such shortcodes would get filtered only within the categories set by the shortcode attribute (when present)
  • Added products counts cache adaptation to WPML language variable
  • Introduced the ‘awf_js_data’, ‘awf_set_shop_columns’ and ‘awf_set_ppp_default’ filters, and ‘awf_ajax_filter_before_wc_products_shortcode’ and ‘awf_add_ajax_products_header_title’ action hooks
  • Updated Perfect-scrollbar library to version 1.5.0
  • Updated noUiSlider library to version 14.1.1
  • Updated Freemius library to version 2.3.2
  • Upped the WC version compliance

1.2.5

  • Added the products meta data filters module
  • Query vars array optimization
  • Added product counts support for the Hide out of stock items from the catalog Woocommerce option
  • Fix: removed url parameters decode in javascript
  • Fix: excluded backordered products from the in stock status of the Availability filter
  • Fixed the undecoded html entities in the custom css
  • Added custom js code option
  • Optimized the work of the “Display on” select box of the preset admin
  • (Premium) Added numeric taxonomy ranges

1.2.1

  • Upped the WP and WC versions compliance
  • Fixed back and forward browser navigation and redirects not working properly in some preset types
  • Fixed the active badges exceptions setting preventing the creation of private filter badges
  • Fixed show all (-1) products per page not working in ajax filters
  • Updated wNumb library to version 1.2.0
  • Minor improvements and code optimisations

1.2.0

  • Added filters support for the product taxonomies archive pages. To make the filters display and work on a products Categories, Tags, Brands etc archive pages with the links of type https://mysite.com/product-category/smartphones, add the needed “… taxonomy archive pages” type in the annasta Filters preset Display on section. This is now the default filters behaviour for the taxonomy archives. To enable the automatic redirects from the taxonomy archives to the filtered shop pages use the Redirect archives to shop option (see below).
  • Added an option for the archive pages redirects to the corresponding filtered shop page. It now supports all the products-associated built-in and custom taxonomies. Go to annasta Filters Settings > Plugin Settings > Redirect archives to shop to enable such redirects.
  • Introduced the Filtering style option which has united the old Filtering style and enable Ajax options into one
  • Added the Step by Step (Products Finder) Filtering style with options
  • Added products search autocomplete
  • Added placeholder text option to the products search box
  • Added Preset description option and custom labels options for the “Filter” and “Reset” buttons
  • Fixed the SEO titles’ default maximum price (for the cases when the max price isn’t defined by filters) to the rounded highest existing product price (re-save the SEO settings to apply the fix)
  • Fixed the ajax filters not redirecting to shop from the single-product pages
  • Fixed the ajax button-submitted filters’ search box instant submission (forced the wait for the button push)
  • Fixed the ranges submission and Clear All Filters buttons for the form version
  • Unlinked the products keywords search from the WP / WC ‘s’ variable
  • Removed enable Ajax option (this functionality has been replaced by the new Filtering style option)
  • Added timestamp to custom css file name to bypass caching
  • Widget UI optimization
  • Updated Freemius library to version 2.3.1 and noUiSlider library to version 14.0.3
  • PHP & CSS optimisations

1.1.1

  • Fixed pagination for the frontpage shops with existing order by or products search filters
  • Changed the default pagination settings for ajax requests from the WordPress posts per page to the Woocommerce algorithm

1.1.0

  • Added SEO options offering dynamic custom page (document) title and shop title generation, as well as meta description creation, using the auto-generated lists of active filters
  • Added an order by (sort by) control that can be added to annasta filters presets. This control also adds ajax support for the Woocommerce products sorting functionality
  • Added an option to remove the built-in Woocommerce Sort by
  • Added value formatting support for the range sliders’ active badges
  • Fix: removed the unneeded badge label option from the products per page control
  • WC 3.7 support tested
  • Updated noUiSlider library to version 14.0.2
  • Enforced the category views functioning only with permalinks enabled
  • Removed the update mechanism dependency on the PHP version requirements
  • Added awf_after_ajax_products_update and awf_after_setup javascript events
  • Added an annasta widget title silent update
  • Other minor optimizations and adjustments
  • Readme update

1.0.7

  • Fix: ajax default orderby not picking up the woocommerce default orderby setting
  • Fix: disabled links getting a check on click in system checkbox style
  • Security enhancement: database-retrieved values html escaping revision
  • Added filter prefix option for active filter badges and filter titles
  • Removed the badge label prefix option for range sliders (this functionality has been replaced by the new filter prefix option)
  • Added taxonomy class to active badge to provide css access
  • Added tooltips formatting options to range slider filters
  • Added display tooltips option to range slider filter controls
  • Added range slider style options
  • Added minimalistic style option to range slider control
  • Added custom css option to plugin style options
  • Added ajax filter scroll to results option
  • Added ajax filters scroll adjustment option
  • Updated noUiSlider library to version 14.0.1
  • Updated Freemius library to version 2.3.0
  • Added wNumb number formatting library for range sliders’ labels formatting
  • CSS changes: responsive widths for the mobile header filters, whole tag area clickable, sortables placeholders etc
  • Readme update

1.0.6

  • Fix to the range filters update adding irrelevant options
  • Fix for the touchevent error in the perfect scrollbar
  • Added icons to the custom term style
  • Admin css responsiveness changes
  • Readme update

1.0.5

  • Added filter terms sorting and hierarchical taxonomies collapse options
  • Added products per page control with customizable labels
  • Integrated Freemius SDK to provide support for easy premium version upgrades
  • Transferred the style options css file to the uploads directory
  • Added the style options generation to the plugin addition / update routine
  • Added style options css regeneration after the javascript scrollbar option update
  • Set the default option for including the products belonging to the hierarchical taxonomies subterms to yes
  • Added dynamic product counts display to color boxes and images without labels
  • Introduced a slide up to the top of the product list effect after ajax updates
  • Hid the Reset Filters button when no active filters exist
  • Optimized the automatic range creation algorithm
  • Optimized active badges creation for ranges
  • Introduced better css support for the Fontawesome solid styles
  • Patched Woocommerce version 3.6.0 – 3.6.2 bug with multiselect control display
  • Other minor changes
  • Readme update

1.0.1

  • Force products display on shop pages option added
  • Product tags and categories variables optimization and archives redirects
  • Deactivation replacement with notices, updates code preparation
  • Fix the products per page to the Woocommerce default in the free version of the ajax product filter
  • Nonces optimization
  • Other minor changes
  • Readme update

1.0.0

  • Initial release