Hi Guys,
I have a solution based on wrap. Pretty much everything is Wrap code.
I have a rather unusual amount of variants in the form of color options for a house painting producer.
Whenever I try to run TemplateTags in any template, I get the following message:
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.Collections.Generic.Dictionary`2.Resize(Int32 newSize, Boolean forceNewHashCodes) at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at Dynamicweb.Ecommerce.Frontend.Renderer.RenderVariantOption(VariantOption variantOption, Template template, String renderingVariantId) at Dynamicweb.Ecommerce.Frontend.Renderer.RenderVariantOptions(IEnumerable`1 variantOptions, Template parentTemplate, String loopName) at Dynamicweb.Ecommerce.Frontend.Renderer.RenderVariantGroup(Product product, VariantGroup variantGroup, Template template) at Dynamicweb.Ecommerce.Frontend.Renderer.RenderVariantGroups(Product product, Template parentTemplate, String loopName) at Dynamicweb.Ecommerce.Frontend.Renderer.RenderProduct(Product product, Boolean extendedProperties, Template template, Int32 loopCounter, Boolean renderRelated, String productUrl, Int32 quantity, Int32 wishListId, Boolean renderPublicList, Int32 orderLineOfProductCount) at Dynamicweb.Ecommerce.Frontend.Renderer.RenderVariantCombinations(Product product, Template parentTemplate, String loopName) at Dynamicweb.Ecommerce.Frontend.Renderer.RenderProduct(Product product, Boolean extendedProperties, Template template, Int32 loopCounter, Boolean renderRelated, String productUrl, Int32 quantity, Int32 wishListId, Boolean renderPublicList, Int32 orderLineOfProductCount) at Dynamicweb.Ecommerce.Frontend.Renderer.RenderProducts(ProductCollection products, Template parentTemplate, String loopName, Int32 loopCounter, Boolean renderRelatedProducts, Boolean renderRelatedLists) at Dynamicweb.Ecommerce.Frontend.Renderer.RenderRelatedProductLists(Template template, RelatedProductListProviderEventArgs relatedParams) at Dynamicweb.Ecommerce.Frontend.Renderer.RenderProduct(Product product, Boolean extendedProperties, Template template, Int32 loopCounter, Boolean renderRelated, String productUrl, Int32 quantity, Int32 wishListId, Boolean renderPublicList, Int32 orderLineOfProductCount) at Dynamicweb.Ecommerce.Frontend.Renderer.RenderProduct(Product product, Boolean extendedProperties, Template template, Int32 loopCounter, Boolean renderRelated, String productUrl, Int32 quantity, Int32 wishListId) at Dynamicweb.Ecommerce.Frontend.Renderer.RenderOrderLine(OrderLine orderLine, Template template) at Dynamicweb.Ecommerce.Frontend.Renderer.RenderOrderLines(OrderLineCollection orderLines, Template parentTemplate, String loopName) at Dynamicweb.Ecommerce.Frontend.Renderer.RenderOrderDetails(Template template, Order order, Boolean extendedProperties, OrderTemplateExtenderContext orderContext) at Dynamicweb.Ecommerce.Frontend.Renderer.RenderOrder(Order order, Template template, Boolean extendedProperties, Int32 stepNumber, OrderTemplateExtenderContext orderContext) at Dynamicweb.Ecommerce.CustomerCenter.Renderers.MyQuoteRenderer..ctor(CustomerCenterSettings& settings, PageView& pageView, Int32 paragraphId) at Dynamicweb.Ecommerce.CustomerCenter.Frontend.GetContent() at Dynamicweb.Frontend.Content.GetModuleOutput(Paragraph paragraph, PageView pageview)
I have tried the templatetags call in simple pages like order list or quote list where I have just 2 order and none of the order had products with variants.
I understand it is not supposed to work on a product detail page where I have a lot of variants options but how can I get the template tags in other pages?
Is there a performance setting that I am missing?
Thanks,
Adrian