Log in
Model

AreBundleOptionsSalable

Magento\Bundle\Model\ResourceModel\Option\AreBundleOptionsSalable

What it does

This class determines if a bundle product is salable by checking whether its options and selections are available for purchase.

It verifies that at least one enabled product exists in each required option, and that the bundle has at least one salable option overall.

Developers use this during product availability checks to ensure customers can actually purchase the bundle product.

Public Methods

  • execute()