Hi,
Build an eCommerce site in Umbraco using Vendr, building a Shopping Cart
I am getting an error, see attached in below,
Source File: Shop\Views\Cart.cshtml Line: 80
Line 78: Total
Line 79:
Line 80: @(order.SubtotalPrice.Value.Formatted())
Line 81:
Line 82:
[NullReferenceException: Object reference not set to an instance of an object.]
Umbraco.Web.PublishedContentExtensions.Url(IPublishedContent content, String culture, UrlMode mode) in D:\a\1\s\src\Umbraco.Web\PublishedContentExtensions.cs:1356
ASP.PageViewsCartcshtml.Execute() in C:WebAppShop\Views\Cart.cshtml:80
Thank you for your help,
Thanks Tom,
I have issue when I add product to basket and click to checkout, i get an error message, [NullReferenceException: Object reference not set to an instance of an object.] but when the shopping cart is empty no problem, success to the acces to the cart,
Building a Shopping Cart
Hi, Build an eCommerce site in Umbraco using Vendr, building a Shopping Cart I am getting an error, see attached in below, Source File: Shop\Views\Cart.cshtml Line: 80 Line 78: Total Line 79: Line 80: @(order.SubtotalPrice.Value.Formatted()) Line 81: Line 82: [NullReferenceException: Object reference not set to an instance of an object.] Umbraco.Web.PublishedContentExtensions.Url(IPublishedContent content, String culture, UrlMode mode) in D:\a\1\s\src\Umbraco.Web\PublishedContentExtensions.cs:1356 ASP.PageViewsCartcshtml.Execute() in C:WebAppShop\Views\Cart.cshtml:80 Thank you for your help,
Hi,
I don't know about your speficif problem, but you should probably post this in the Vendr forum at https://our.umbraco.com/packages/website-utilities/vendr/vendr-support/
Matt Brailsford's quite active on the forums and more likely to spot it there.
regards
t
Thanks Tom, I have issue when I add product to basket and click to checkout, i get an error message, [NullReferenceException: Object reference not set to an instance of an object.] but when the shopping cart is empty no problem, success to the acces to the cart,
is working on a reply...