Log in
Model

Option

Magento\Bundle\Model\ResourceModel\Option

What it does

This resource model manages database operations for Bundle product options in Magento 2.

Developers use this class when creating, updating, or deleting bundle product options, including handling option titles across different store views and retrieving searchable option data for indexing purposes.

Public Methods

  • removeOptionSelections()
  • getSearchableData()
  • getValidationRulesBeforeSave()
  • save()