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 a Magento store to single store view mode.

Developers would use this when consolidating multiple store views into a single store, as it ensures all product and category attributes from a specific store view are properly migrated to the default store scope.

The class processes 11 different EAV attribute tables to update store_id references and remove duplicates.

Public Methods

  • migrateCatalogCategoryAndProductTables()