Override views in Nop DefaultClean theme

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 năm cách đây
Hello,

I am trying to override some of the views in the DefaultClean theme in version 3.80.

I have already tried copy-pasting them from the \views folder into the \Themes\DefaultClean\Views but without effect.

Is there something else that needs to be done to accomplish this?

Kind regards,
7 năm cách đây
You can view the steps here. http://stackoverflow.com/a/12740727/342067
7 năm cách đây
BrickHunters wrote:
Hello,

I am trying to override some of the views in the DefaultClean theme in version 3.80.

I have already tried copy-pasting them from the \views folder into the \Themes\DefaultClean\Views but without effect.

Is there something else that needs to be done to accomplish this?

Kind regards,


Please see this nopCommerce Theme Development Guide: http://www.strivingprogrammers.com/beginners-guide-to-nopcommerce-theme-development-asp-net-mvc-based-e-commerce-solution-part-2
7 năm cách đây
Hi guys,

Thanks for the reply.

What you state above, I have already tried.

I copied the following

\views\home\Index.cshtml


to

\Themes\DefaultClean\Views\Home\Index.cshtml


In there I added

<h1>Test</h1>


But no changes were made to my homepage. While when I do the same in the default file, the changes are immediately visible.

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