Model
Option
Magento\Wishlist\Model\Item\Option
What it does
This class represents a single option/attribute for a wishlist item, such as size, color, or custom text fields.
Developers use it to store and retrieve additional product configuration data associated with items in a customer's wishlist, similar to how shopping cart items have options.
Public Methods
- setItem()
- getItem()
- setProduct()
- getProduct()
- getValue()
- beforeSave()