Log in
Model

SaveAction

Magento\Bundle\Model\Option\SaveAction

What it does

This class handles saving bundle product options in Magento 2, including creating new options, updating existing ones, and managing the child product links associated with each option.

Developers use this class when programmatically creating or modifying bundle products, as it coordinates saving option data, product selections, and maintaining the relationships between bundle options and their linked products.

Public Methods

  • saveBulk()
  • save()