Abhay Andhariya
Abhay Andhariya

Reputation: 2157

How to Override View in Nopcommerce?

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.

Upvotes: 2

Views: 1054

Answers (1)

Andrei M
Andrei M

Reputation: 3439

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.

Upvotes: 5

Related Questions