
- Moderator
- 386
Awesome, thank you so much. The nopAjaxFiltersFiltrationCompleteEvent worked great.
I noticed there is a way to get totalCount from that call as well. Anything special I need to do to get it? I tried adding it to the function as a parameter but nothing.
Thanks again!
I noticed there is a way to get totalCount from that call as well. Anything special I need to do to get it? I tried adding it to the function as a parameter but nothing.
Thanks again!
Hi Justin,
You can do something like this:
$(document).on('nopAjaxFiltersFiltrationCompleteEvent', function(e) {
$('.category-grid.sub-category-grid').hide();
console.log(e.totalCount);
});
Hope this helps!
Regards,
Hristian Dimov
Nop-Templates.com
Hristian Dimov
Nop-Templates.com