In Part 1, we covered how to create a custom page in nopCommerce using the Topic technique; today, we’ll cover how to create a new page that supports multiple features, such as topics and widgets.
My client wanted a page for a gallery, which needed a slideshow in addition to the topic. In order to leverage one of the slider widgets, we needed to go beyond the simple topic solution covered in Part One.
We’ll start out with the usual disclaimer; these instructions presume you at least have Visual Studio Express 2010, and have opened up your solution in Visual Studio. Now that we’ve got that out of the way, let’ s begin.
1. Open the Nop.Web/Infrastructure folder, and open RouteProvider.cs Learn More
nopCommerce is a top-notch e-commerce system, one of the best open-source .Net-based e-commerce applications available. However, it can be a bit less than straightforward to add additional content to a nopCommerce implementation. Clients may request additional content such as informational pages on the background and history of their products, or a gallery to display previous designs or products. Here’s two ways to accomplish that with nopCommerce.
The first method is the most straightforward; creating a topic, and linking to the topic in your menu. You will be limited to HTML-based content, which will be fine for most purposes, but won’t include widget support. Here are the steps for this method:
1. Log into your nopCommerce instance as an administrator, and access the Admin area Learn More