Hi,
I'm using a loop to get alle products below a certain product group, using Dynamicweb.Ecommerce.Products.Product.GetProductsByGroupId(group_id).
When I run through the collection, I get all products, but also all variants. How do I exclude the variants from the loop? I've tried to use the method GetAllProductsWithoutVariants(), but cannot set the groupID as a parameter.
What is the best way of doing it?
Kind regards
Kurt Moskjaer Andersen