Log in
Model

SaveHandler

Magento\Catalog\Model\Product\Website\SaveHandler

What it does

This class handles saving product-to-website associations during product save operations in Magento's entity management system.

Developers use this extension handler to ensure products are correctly linked to their assigned websites, automatically handling single-store mode by assigning the default website, or using website IDs from the product's extension attributes in multi-store setups.

Public Methods

  • execute()