Hi,
When copying a product
Dynamicweb.eCommerce.Products.Product NP = new Dynamicweb.eCommerce.Products.Product(); NP = E.Copy();
All product attributes are copied over correctly, but the new product is not assigned a product id, it is simply blank which breaks the solution. How come?
I tried
Not assigning any product-id, thereby leaving it blank.
Assigning an empty string as ID
NP.ID = string.Empty;
None of them works.