*Prin completarea acestui formular va dati acordul ca datele dumneavoastra de contact sa fie utilizate si in alte comunicari de informare Star Storage. Pentru informatii suplimentare consultati sectiunea Protectia Datelor Personale


Exception in template (Designs\BaseTheme\Paragraph\Product_formular.cshtml): System.NullReferenceException: Object reference not set to an instance of an object.
   at CompiledRazorTemplates.Dynamic.ccdafbedaafcfe.Execute()
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context)
   at RazorEngine.Razor.Parse[T](String razorTemplate, T model, String cacheName)
   at Dynamicweb.Rendering.Template.Output()
<div class="personal-box"> @{ string productId = Dynamicweb.Base.Request("ProdID"); var product = Dynamicweb.eCommerce.Products.Product.GetProductByID(productId); string name = ""; string teaser = ""; string description = ""; string image = ""; string price = ""; double tmp = 0; if (product != null){ name = product.Name; teaser = product.ShortDescription; description = product.LongDescription; image = product.ImageSmall; price = product.Price.ToString(); /* foreach (var tmpObj in product.GetType().GetProperties()){ @:@tmpObj <br /> } */ } } <img src="/Files/@image" alt="@name" /> <h3>@name</h3> <div>@teaser </div> <div>@Translate("nowFrom", "Now from") <span style="font-size:18px;">@product.DefaultPrice EUR</span> /@Translate("perUser", "per user /per month"),</div> <div>@description</div> </div>