Log in
Model

ProductWebsiteAssignmentHandler

Magento\Catalog\Model\ResourceModel\ProductWebsiteAssignmentHandler

What it does

This class handles the assignment of products to websites in Magento's multi-website setup.

Developers use this handler during product save operations to ensure products are properly linked to their designated websites.

It automatically filters and updates website associations whenever product data is persisted through the entity manager.

Public Methods

  • execute()