Log in
Model

CatalogCategoryAndProductResolverOnSingleStoreMode

Magento\Catalog\Model\ResourceModel\CatalogCategoryAndProductResolverOnSingleStoreMode

What it does

This class handles the migration of catalog category and product attribute data when switching from multi-store to single store mode in Magento 2.

It consolidates store-specific attribute values from multiple stores into the default store (store_id=0) by removing duplicate entries and updating store references.

Developers would use this during store configuration changes when reducing multiple store views down to a single store view.

Public Methods

  • migrateCatalogCategoryAndProductTables()