Hi. We have a system where we take products from the main-cart, and clone them to dealer groups. This has worked fine so far, but until after an update to 8.6, we are now receiving the following error:
Type 'Dynamicweb.eCommerce.Products.ProductVatGroupCollection' in Assembly 'Dynamicweb, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.
This is the code:
try { Dynamicweb.eCommerce.Products.Product NP = E.Clone(); } catch(Exception realExc2) { HttpContext.Current.Response.Write(realExc2.Message); }
As said, this has all worked fine before the upgrade to 8.6.
Any ideas?
Best regards.
Jonas