Hello, I want to rewrite _ProductBox.cshtml view (add some more functionality: shipping info, specifications..). I implemented this functionality as a plugin, but I don't know how to rewrite it.
You should be able to drop a copy of any .cshtml file into your theme folder (Views subfolder) and nop will pick it up from there rather than the default one.
I know, if I move a view into a theme it'll use view from the theme, but I wanted rewrite a view from a plugin because I added additional functionality and I don't to change a source, it must work through plugin.
I know, if I move a view into a theme it'll use view from the theme, but I wanted rewrite a view from a plugin because I added additional functionality and I don't to change a source, it must work through plugin.
Thank you for help
So if your plugin writes it's own copy of the view into the theme will that not achieve exactly what you want?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.