Log in
Model

SingleChoiceProvider

Magento\Bundle\Model\Product\SingleChoiceProvider

What it does

This class determines if a bundle product has a single predetermined configuration with no customer customization options.

It checks if all options are required, have default selections, and don't allow quantity changes.

Developers use this to identify bundle products that behave like simple products, which is useful for streamlining checkout and cart processes.

Public Methods

  • isSingleChoiceAvailable()