Close

Quick view is not shown when using custom ajax filter

cqjiyong
2 years ago
#13578 Quote
Avatar
  • 7
Hello anyone,

I have implemented custom ajax filters in the page, please see the link:http://demostore2.synapseprojects.com.au/essearch. the quick view plugin is working when the page is first loading, but the quick view is gone when I selected an option of one filter,need I call a javascript method? could anyone tell me how could I solve this? Thanks in advance.
SDobrev
2 years ago
#13579 Quote
Avatar
  • Moderator
  • 269
Hi,

You have to trigger "newProductsAddedToPageEvent" event after the filtration.

Here is a simple code that you can use:
$.event.trigger('newProductsAddedToPageEvent');
Best Regards,
Stoyan Dobrev
Nop-Templates.com
cqjiyong
2 years ago
#13581 Quote
Avatar
  • 7
SDobrev wrote:
Hi,

You have to trigger "newProductsAddedToPageEvent" event after the filtration.

Here is a simple code that you can use:
$.event.trigger('newProductsAddedToPageEvent');


Thanks Stoyan, that's working.