O'Reilly logo

Magento 2 Development Cookbook by Bart Delvaux

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding configuration parameters

When you want to save some configuration parameters for your module, you can use the Magento configuration table to save your configuration in it. You can find all the configuration forms under Stores | Configuration in the Magento backend. In this recipe, we will add an extra page with some configuration parameters.

Getting ready

Like the previous recipes in this chapter, we will build further on the module that we have created in the previous recipes. Make sure you have the module files installed.

How to do it...

The following instructions describe what you have to do when you want to add some custom configuration parameters:

  1. The system configuration is always configured in the system.xml file of the module. So create ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required