Model
Grouped
Magento\GroupedProduct\Model\Product\Type\Grouped
What it does
This class handles all functionality for Magento 2's Grouped Product type, which allows merchants to bundle multiple simple products together where customers select quantities for each item.
Developers use this when working with grouped product operations like retrieving associated products, managing product relationships, processing cart additions, or customizing grouped product behavior through plugins and observers.
Public Methods
- getRelationInfo()
- getChildrenIds()
- getParentIdsByChild()
- getAssociatedProducts()
- flushAssociatedProductsCache()
- addStatusFilter()
- setSaleableStatus()
- getStatusFilters()
- getAssociatedProductIds()
- getAssociatedProductCollection()
- getProductsToPurchaseByReqGroups()
- processBuyRequest()
- hasWeight()
- deleteTypeSpecificData()
- beforeSave()
- getChildrenMsrp()