I have a grouped product and am looking to remove all associated products from it programmatically. I tried using a similar method as one would use for a configurable product found here:
But there is no comparable saveProducts() method for grouped products because there is no resource 'catalog/product_type_grouped'. I've tried to follow the saveAction method used in Adminhtml/controllers/catalog/product/ProductController, but haven't found the piece of code that saves the associated products selected in the admin form.
Could anyone point me in the right direction?