Hi Guys,
I'm trying to make a copy of my webshop while using the API. At the moment I'm stuck on an exception which is thrown when calling the Product.Clone() method. Apparently the ProductVatGroupCollection object isn't marked as Serializable in version 8.6.1.6 of DW, which is the case when I look at the class using a decompiler:
using System.Collections.ObjectModel;
namespace Dynamicweb.eCommerce.Products
{
/// <summary>
/// A collection of <see cref="T:Dynamicweb.eCommerce.Products.ProductVatGroup"/>
/// </summary>
public class ProductVatGroupCollection : Collection<ProductVatGroup>
{
}
}
Could you please fix this asap? I'm a little reluctant to copy all properties myself... or is there a workaround?
Cheers!
Tom