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 likeServer 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]