This filter is useful when using WooCommerce shortcodes or a plugin (e.g. Divi, Elementor) on shop pages. These use a paging permalink structure outside the default WooCommerce shop /page/{page}/ structure.
alm_woocommerce_hide_orderby
The alm_woocommerce_hide_orderby filter will hide the sort/orderby select menu on WooCommerce templates.
This filter is useful when a theme has modified the default WooCommerce pagination class and Ajax Load More cannot locate the target element.
WooCommerce Filter Integrations
The WooCommerce add-on has been tested and integrated with the following WooCommerce filtering plugins. Please review the integration steps of each to complete the integration.
Users filtering WooCommerce products with FacetWP will need to add the following JavaScript snippet to their website to enable integration between the two plugins.
The code snippet above uses the refresh callback in FacetWP and the reset function in Ajax Load More to manually trigger a reload of Ajax Load More after FacetWP refreshes the product results.
Users with WOOF – Products Filter for WooCommerce activated will need to complete the following steps to enable integration between the two plugins if using the Ajax filtering functionality of the plugin.
Step #1 – Disable Inline CSS
Visit the Ajax Load More settings page and disable the Load CSS Inline setting. If this setting remains enabled, WOOF will strip the inline styling and the Ajax loader will appear unstyled.
Step #2 – JavaScript Callback
Visit the Advanced -> Code settings section of the WOOF Products Filter and enter the following JavaScript inside the JavaScript code after AJAX is done field – this JavaScript will instruct Ajax Load More to reset after the Ajax filtering has completed.
Visit the Product Filters -> JavaScript/CSS settings section and enter the following JavaScript inside the After Update: field – this JavaScript will instruct Ajax Load More to reset after the Ajax filtering has completed.
ajaxloadmore.reset({'type':'woocommerce'});
JavaScript
FAQs
Below are common questions regarding the WooCommerce add-on. If you have a question and don’t see an answer here, please visit the support page and submit your request.
Yes, all WooCommerce filtering widgets work out of the box. You can view an example on our demo site.
The WooCommerce add-on is compatible with Cache, but is not yet integrated with the Filters or Paging add-ons.