Log in
Model

Action

Magento\Catalog\Model\Product\Action

What it does

This class handles mass/bulk updates to product attributes and website assignments.

Developers use it when they need to update multiple products at once, such as changing prices or status for many products, or adding/removing products from websites.

It automatically triggers necessary reindexing after updates to ensure data consistency.

Public Methods

  • updateAttributes()
  • updateWebsites()