Model
Selection
Magento\Bundle\Model\ResourceModel\Selection
What it does
This resource model manages database operations for bundle product selections in Magento 2.
Developers use it to retrieve child product IDs for bundle products, find parent bundle products by child product ID, and save bundle selection pricing data per website.
It's essential when working with bundle product relationships and their pricing configurations.
Public Methods
- getChildrenIds()
- getParentIdsByChild()
- saveSelectionPrice()
- save()