Overriding category and product details pages issue

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
Hi everyone,

I'm developing a plugin that needs to override the product category pages and allow me to make changes to those pages straight from the plugin. I currently am not able to override the category pages without running into a "too many redirects" error or "multiple types were found" error. So far, I have an action filter and a route provider that I thought should be able to handle this. I have also tried following the steps at the link below without any luck.

https://www.nopcommerce.com/boards/t/41173/how-to-override-genericpathroutegetroutedata-in-plugin.aspx

Right now my plugin directory structure looks like this:

Controllers/
    CategoryController.cs
Infrastructure/
    DependencyRegistrar.cs
Models/
Validators/
Views/
CategoryPlugin.cs
CategoryActionFilter.cs
RouteProvider.cs (Priority is -int.MaxValue)
Description.txt
web.config

I am using nopCommerce 3.9. Thank you!
5 years ago
It really depends on how your codes are written. If you can paste the important code snippets here, then we can have a look. :)


This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.