Close

Events in AJAX filters

cmosqueda
7 years ago
#13665 Quote
Avatar
  • 3
I have some Javascript on our NOpCommerce catalog templates that fires when the page loads.  When I use the Nop Ajax Filters, it does not reload the events, of course because of the AJAX call, but is there an event I can look for in the Nop AJAX filters that I can retrigger my Javascript function when the AJAX filter event finishes getting the results of the filter on the client side?  We are specifically using the Specifications Filtering.
anton_ivanov
7 years ago
#13667 Quote
Avatar
  • Moderator
  • 277
Hello,

The nopAjaxFiltersFiltrationCompleteEvent is triggered after every filtration. Filtrations in the ajax filters are the following actions: filtering be attributes and price, changing the page, changing the products sort orientation.

Hope that helps!
Regards,
Anton Ivanov
Nop-Templates.com
cmosqueda
7 years ago
#13672 Quote
Avatar
  • 3
@Anton,
Thanks for the reply. We will give that a try. Much appreciated.