Checkout Stopped Working

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 anni tempo fa
@new york:

above code...you have mentioned is not working......

pls suggest another way ....

How can i load my custom _root.cshtml...????


Thank You.....
12 anni tempo fa
Hello Dh

I have created a video tutorial that walks you through it.

The bit you want start at 2.3 minutes into the video. Let me know if you find it helpful or if still have issues.

The necessary code is at the bottom of the YouTube video.

Thanks
12 anni tempo fa
@Ciwan:

Hey....still  its not working...
i got an error like this ...

"
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: CS1061: 'System.Web.Mvc.HtmlHelper<dynamic>' does not contain a definition for 'NopTitle' and no extension method 'NopTitle' accepting a first argument of type 'System.Web.Mvc.HtmlHelper<dynamic>' could be found (are you missing a using directive or an assembly reference?)

Source Error:

Line 9:  <html>
Line 10: <head>
Line 11:     <title>@Html.NopTitle()</title>
Line 12:     <meta name="description" content="@(Html.NopMetaDescription())" />
Line 13:     <meta name="keywords" content="@(Html.NopMetaKeywords())" />


Source File: c:\Users\Developer\Documents\nopcommerce\Presentation\Nop.Web\Themes\custom\Views\Shared\_Root.cshtml    Line: 11


Show Detailed Compiler Output:

Show Complete Compilation Source:"


Thank You...
12 anni tempo fa
Hello Dharmik

Can you please create two separate pastebins ? one for your web.config (~/Themes/YourTheme/Views/web.config) and also the [ RazorViewEngine ] file that you edited.

Thanks
12 anni tempo fa
@ciwan:


This are two links...
just check it out....


http://pastebin.com/MC116DKE
http://pastebin.com/3nxmnMuG
12 anni tempo fa
Hi,

I'm also getting the same error. I'm modifying the default theme itself.

Here is the error I got:
http://pastebin.com/CWmaCNnn

Web.Config for theme DarkOrange\View - current theme I'm using:
http://pastebin.com/uBfpNf7U

Web.Config for default View folder:
http://pastebin.com/YV5Lbsx4

\src\Presentation\Nop.Web.Framework\ViewEngines\Razor\WebViewPage.cs  
http://pastebin.com/Cvehtm0r

Awaiting your response.
12 anni tempo fa
Guys you have missed something, both of you :)

You need to add the following:

<add namespace="Nop.Web.Framework.UI" />


To the end of the list of namespaces. Do that, then let me know if it works.

Thanks
12 anni tempo fa
@ciwan:


oh my ogd....
its working....
thanks man....
thank u so much...
12 anni tempo fa
You're very welcome :)
12 anni tempo fa
@Ciwan

Yes I got it working. Thanks. Now it is loading perfectly. Thank you :)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.