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!