Ajax Load More Logo
Developer documentation for the Ajax Load More WooCommerce add-on.
Note: We are currently working on our WooCommerce documentation.
The following filter hooks are available when using this add-on:
The alm_woocommerce_container filter updates the target classname of the WooCommerce listing container.
This filter is useful when a theme has modified the default WooCommerce product classes.
The alm_woocommerce_products filter updates the target classname of the individual products.
This filter is useful when a theme has modified the default WooCommerce container class.
The alm_woocommerce_results filter updates the target classname on the WooCommerce result count component.
This filter is useful when a theme has modified the default WooCommerce class of this element.
The alm_woocommerce_previous_link filter updates the link label displayed when a user directly visits a paged product listing (e.g. website.com/shop/page/4/).
When accessing a deep linked product listing, Ajax Load More creates a link in the result count component that provides a method for users to go back and start from /page/1 of the listing – view example.
The alm_woocommerce_previous_link_sep filter updates the HTML separator between the alm_woocommerce_previous_link and the WooCommerce results text.
The alm_woocommerce_hide_orderby filter will hide the sort/orderby select menu on WooCommerce templates.
The alm_woocommerce_orderby_class filter will update the classname for the orderby select menu.
This filter is useful when a theme has modified the default WooCommerce orderby menu class and Ajax Load More cannot locate the target element.
The alm_woocommerce_hide_pagination filter will show the default paging navigation on WooCommerce templates.
By default Ajax Load More will add inline CSS to hide the out-of-the-box WooCommerce pagination as it is replaced with infinite scroll.
The alm_woocommerce_pagination_class filter will update the classname for the default WooCommerce paging navigation.
This filter is useful when a theme has modified the default WooCommerce pagination class and Ajax Load More cannot locate the target element.
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.
No, the WooCommerce add-on can only be implemented on WooCommerce specific templates.
If you are using WOOF – WooCommerce Product Filters plugin you need to Turn OFF the Ajax functionality within the filters otherwise, Ajax Load More will not be refreshed causing issues with filter results.
Ajax can be turned off in the WOOF widget or the settings page under Options.
« Back to Add-ons