Show New Products on Home Page

4 years ago
maybe a little off-topic, but this free plugin lets you take any content from any page, so you can pull the new products block from the live page and actually show it on any page with one line, you could even show the new products from a different store on your own homepage.

https://www.nopcommerce.com/p/1369/xpath-widget.aspx
4 years ago
Following on from the last post above, I made a plugin that will display new products with multiple pictures and much more, please have a look at the MegaMetro Plugin for nopCommerce 3.80!

http://megametro.jonathonhopley.com/]Demo Store here!
3 years ago
Hi [email protected],

Hi have changed the /Themes/ThemeName/Views/Product/NewProducts.cshtml file as you given that code and added new products in index.cshtml. As below

@Html.Widget("home_page_before_best_sellers")
        @Html.Action("HomepageBestSellers", "Product")
        @Html.Widget("home_page_before_products")
        @Html.Action("HomepageProducts", "Product")
        @Html.Action("NewProducts", "Product")
        @Html.Widget("home_page_before_news")
        @Html.Action("HomePageNews", "News")
        @Html.Widget("home_page_before_poll")
        @Html.Action("HomePagePolls", "Poll")

But it shows eero like


Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0246: The type or namespace name 'productoverviewmodel' could not be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 38:    
Line 39:    
Line 40:     public class _Page_Views_Product_NewProducts_cshtml : Nop.Web.Framework.ViewEngines.Razor.WebViewPage<IList<productoverviewmodel>> {
Line 41:        
Line 42: #line hidden

Source File: c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\58764ccf\cfa53225\App_Web_newproducts.cshtml.da937781.l1zehk9w.0.cs    Line: 40


Show Detailed Compiler Output:

Show Complete Compilation Source:


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34209[b][/b][/u][u][/u][u]
3 months ago
Hello, I installed 4.3 version. I can´t show new products on home page. On products check product who new product and catalog setting marked check, Please any help ? thank you.
3 months ago
Edit the Product
Tick the Checkbox Mark as new
You can also enter an optional start and end date to display it as a New Product
- Mark as new. Start date and Mark as new. End date
Then the product will display on the page https://yourwebsite.com/newproducts
2 months ago
Thank you for your responde but I need to show it on home page,  there are some settings for achieve this one ?
Thank you!
2 months ago
Edit a product.  There is a field "Show on home page".