Log in
Model

CartConfiguration

Magento\Catalog\Model\Product\CartConfiguration

What it does

This class determines whether a product has been properly configured before being added to the shopping cart.

Developers use it to check if required product options (like custom options for simple/virtual products or bundle selections for bundle products) have been set by the customer.

It's particularly useful in cart validation workflows to ensure products have all necessary configurations.

Public Methods

  • isProductConfigured()