Log in
Model

WebsiteAttributesSynchronizer

Magento\Catalog\Model\ResourceModel\Attribute\WebsiteAttributesSynchronizer

What it does

This class synchronizes website-scoped catalog attribute values (products and categories) across store views within the same website in Magento 2.

Developers would use this when dealing with attributes configured at the website scope level to ensure consistency across all stores in that website, particularly after attribute scope changes or data imports.

Public Methods

  • synchronize()
  • synchronizeStoreValues()
  • isSynchronizationRequired()
  • scheduleSynchronization()
  • _resetState()