Log in
Model

Type

Magento\Bundle\Model\Product\Type

What it does

This class handles all Bundle product type functionality in Magento 2.

Developers use it to manage bundle product options, selections, pricing, inventory checks, and cart operations.

It's automatically invoked when working with bundle products during checkout, product configuration, and product data retrieval.

Public Methods

  • getRelationInfo()
  • getChildrenIds()
  • getParentIdsByChild()
  • getSku()
  • getWeight()
  • isVirtual()
  • beforeSave()
  • getOptions()
  • getOptionsIds()
  • getOptionsCollection()
  • getSelectionsCollection()
  • updateQtyOption()
  • prepareQuoteItemQty()
  • isSalable()
  • getSpecifyOptionMessage()
  • getSelectionsByIds()
  • getOptionsByIds()
  • getOrderOptions()
  • shakeSelections()
  • hasOptions()
  • getForceChildItemQtyChanges()
  • getSearchableData()
  • checkProductBuyState()
  • getProductsToPurchaseByReqGroups()
  • processBuyRequest()
  • canConfigure()
  • deleteTypeSpecificData()
  • getIdentities()