Skip to content

Adding other module as a customizable option in Catalog . (Programatically or not)

I am fairly new to Magento.

I have a module called WebForms.

I’d like to use them as a type Catalog Customizable Option instead:

field

My question is, is it possible to connect these modules in a simple way? Maybe as a type:

   return [
        'webforms_options' => [
            [
                'record_id' => 0,
                'sort_order' => 1,
                'is_require' => 1,
                'sku' => 'webforms',
                'title' => 'Webforms',
                'type' => 'webforms',
            ],
        ]

As far as I’ve seen it’s possible to do this with a custom Module that extends both modules, etc… but before I start digging in, and since I am fairly new to Magento, I’d like to hear some opinions.