How to Override View in Nopcommerce?
Asked Answered
T

1

2

I am creating one plug-in using data-access and widget in nopCommerce.

In that i have created my widget that i want to display on ProductDetails Page by replacing (overriding) Product-Image & its thumbs.

But i don't know how to override views and even don't know is it possible in nopCommerce or not.

Please can anyone help me.

If possible please provide an example as well, so that i can understand actually how it overrides in nopcommerce.

Trumaine answered 15/11, 2013 at 8:10 Comment(0)
S
5

You can override views using custom themes (not plugins).

For example, to override product details page, copy appropriate cshtml files into \Themes\{YourThemeName}\Views\Catalog\{YourProductTemplateFile.cshtml} and then customize it for your needs.

Statistics answered 7/12, 2013 at 6:54 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.