But when I uninstall the plugin, everything works fine. The sort option change according to the value of the drop down. If I disable the plugin in category page. Shouldn't it perform as per default nop behavior ?
But when I uninstall the plugin, everything works fine. The sort option change according to the value of the drop down. If I disable the plugin in category page. Shouldn't it perform as per default nop behavior ?
Hi mkzaman,
I completely misunderstood your initial question. Sorry about that. You are absolutely right. There is a problem which we will fix and deploy tomorrow.
I've code my implementation of NopCommerce's ProductService that works great, but when I install Nop Ajax Filters NopCommerce starts working weird... When I search products (without Nop Ajax Filters installed) Search(...) method on CatalogController begin a search request and then it calls my ProductService class...
But if I install Nop Ajax Filters it don't even use Search(...) methods of CatalogController
I've code my implementation of NopCommerce's ProductService that works great, but when I install Nop Ajax Filters NopCommerce starts working weird... When I search products (without Nop Ajax Filters installed) Search(...) method on CatalogController begin a search request and then it calls my ProductService class...
But if I install Nop Ajax Filters it don't even use Search(...) methods of CatalogController
Help please
Hi Rastaman420,
Please note that the Ajax Filters don't use the product service to filter the products. They use their own route (/filtersearch) and logic for making the filtration and that is why your code is not called.
I've detected a bug related to the appearance of manufacturares for filtering, when they haven't any published product. These manufacturares have associated products in the category where the filter appears, but any of those products is published, and the result of filtering is empty.
Therefore, I think it's a bug that a manufacturer is displayed if she only has unpublished products.
If I understand you correctly you are referring to the following case:
You have a manufacturer with some products mapped to it. Then you unpublish the products mapped to this manufacturers and when you open the category page where those products should appear the manufacturer filter still appear although there are no published products for this specific manufacturer.
If this is the problem we would have to ask you to open a ticket with admin credentials to your site so we can try to reproduce it there, because locally we couldn't. If I missed something please elaborate more, maybe with screenshots or video.
The standard NopCommerce filters sorts alphabetically by option name as a secondary Order By after the display order. In the event that two or more options have the same "display order" value. Its a simple matter of just having a secondary field name in order by clause. Switching from the core Nop filters to the Ajax filters breaks that functionality and the sort order is no longer correct. This is a very simple fix and it needs to be fixed.
The standard NopCommerce filters sorts alphabetically by option name as a secondary Order By after the display order. In the event that two or more options have the same "display order" value. Its a simple matter of just having a secondary field name in order by clause. Switching from the core Nop filters to the Ajax filters breaks that functionality and the sort order is no longer correct. This is a very simple fix and it needs to be fixed.
the are an issue with pager in 'Nop Ajax Filters Settings' Version 3.8.922.22906. If you set in manufacturer / category the default view in Grid mode all it's fine, but if you set view in List mode and you select any different page in pager, the view return in list mode and the URL is incorrect (eg. '?viewmode=list&pagenumber=2#/pageSize=18&orderBy=0&pageNumber=3' instead of '?viewmode=list&pageSize=18&orderBy=0&pageNumber=3'). Thanks in advance.