Retrieve all available system options type for bundle products Magento 2.

Bundle product generated using options type like dropdown, radio, checkbox, multi-select. You can get all native system option types for bundle products programmatically.

If you want to know about all the available options type in the system, You can use a native interface.
Magento\Bundle\Api\ProductOptionTypeListInterface

Interface contains the getItems() method to display list of options for the bundle product.

Call from the template or any PHP class,


  • Output:
    Drop-down => select
    Radio Buttons => radio
    Checkbox => checkbox
    Multiple Select => multi