It is simple code, and as in below example shown, i have tried few different ways to do that, non of them worked ! Any ideas ?
And there are products , i have tried to import them, to create manually still i can not get at least one a printed.... That means no products in product collection
Dynamicweb.eCommerce.Products.ProductCollection productCollection = Dynamicweb.eCommerce.Products.Product.getAllProducts(); //.getProductBySQL("SELECT * FROM EcomProducts WHERE ProductID <> ''"); // getAllProducts(); foreach (Product checkExistsProduct in productCollection) { importStuff.AppendLine("a"); }
Thank you.