Log in
Model

SaveHandler

Magento\Catalog\Model\Product\Option\SaveHandler

What it does

This class handles the saving of custom product options when a product entity is saved.

Developers use this as part of Magento's extension attributes mechanism to ensure product options are properly persisted, deleted when removed, and validated (e.g., preventing required options on simple products that are part of composite products).

Public Methods

  • execute()