Log in
Model

TypeTransitionManager

Magento\Catalog\Model\Product\TypeTransitionManager

What it does

This class manages the transition of products between compatible product types during editing.

It automatically converts products between Simple and Virtual types based on whether the product has weight, ensuring the product type matches its physical characteristics.

Developers use this when building product editing workflows that need to dynamically adjust product types.

Public Methods

  • processProduct()