Hi DW,
When using the api to get all products in a group, you get disable products aswell.
Code:
Dynamicweb.eCommerce.Products.Group grp = new Group( GroupID );
ProductCollection prodCol = grp.Products;
When looping through prodCol i get disabled products which i don't want.
Do i need to loop result and remove disabled items, or what is the best approach?
Regards
Martin
Developer forum
Group.Products returns inactive products
Replies
You must be logged in to post in the forum