An error occurred while attaching module (Dynamicweb.Frontend.Content)

System.NullReferenceException: Object reference not set to an instance of an object.
   at PriceGroupDiscountProvider.PriceGroupDiscountProviderExtender.DiscountValidForProduct(Product product) in C:\Dynamicweb\git\eldorado\Website\CustomCode\PriceAndDiscounts\PriceGroupDiscountProviderExtender.cs:line 29
   at Dynamicweb.Ecommerce.Orders.Discounts.DiscountProvider.GetValidDiscountsForProduct(IEnumerable`1 discounts, Product product, String languageId, Currency currency, String countryCode, Boolean ignoreOrderConditions, User user)
   at Dynamicweb.Ecommerce.Orders.Discounts.DiscountInfoCollection.LoadDiscounts(User user)
   at Dynamicweb.Ecommerce.Products.Product.GetDiscountMatrix(String currencyCode, String countryCode, User user, String unitId, String shopId)
   at Dynamicweb.Ecommerce.Frontend.Renderer.RenderProduct(Product product, Boolean extendedProperties, Template template, Int32 loopCounter, Boolean renderRelated, String productUrl, Int32 quantity, Int32 wishListId, Boolean renderPublicList, Boolean isRecursiveCall, Lazy`1 categoryFieldSorting, Int32 orderLineOfProductCount, RenderingContext renderingContext, String unitId)
   at Dynamicweb.Ecommerce.Frontend.Renderer.RenderProducts(ProductCollection products, Template parentTemplate, String loopName, Int32 loopCounter, Boolean renderRelatedProducts, Boolean renderRelatedLists, Boolean isRecursive, RenderingContext renderingContext)
   at Dynamicweb.Ecommerce.Frontend.Renderer.RenderProductsWithContext(ProductCollection products, Template parentTemplate, RenderingContext renderingContext)
   at Dynamicweb.Ecommerce.Frontend.Renderer.RenderProducts(ProductCollection products)
   at Dynamicweb.Ecommerce.Frontend.Frontend.ListProducts(ProductCollection products, String groupsIdent, Boolean hasBeenSorted)
   at Dynamicweb.Ecommerce.Frontend.Frontend.GetProductsFromIndexQuery(ProductCatalogShowType settingsType)
   at Dynamicweb.Ecommerce.Frontend.Frontend.EcomRender()
   at Dynamicweb.Ecommerce.Frontend.Frontend.GetContent()
   at Dynamicweb.Frontend.Content.GetModuleOutput(Paragraph paragraph, PageView pageview)

Accepter cookies fra denne side.

Denne hjemmeside benytter cookies til at spore dine handlinger, og til at forbedre din oplevelse på hjemmesiden.
Du kan altid slette gemte cookies i dine browserinstillinger