Log in
Model

TypeTransitionManager

Magento\Catalog\Model\Product\TypeTransitionManager

What it does

This class manages automatic product type transitions in Magento 2, specifically converting between compatible product types based on weight attributes.

Developers would use this when they need to automatically change a product from simple to virtual (or vice versa) depending on whether the product has a weight value, ensuring the product type matches its physical characteristics.

Public Methods

  • processProduct()