Web Analytics

Fill the form & Get Installation Support

How to add category drop down in system configuration Magento 2?

For any custom module we can add category drop down selection in system configuration.

Let’s start with creating a module names Magemonkeys_Categorydropdown

in adminhtml we can create file system.xml

Here is code for call category selection

and then we can create file Categorylist.php in Magemonkeys\Categorydropdown\Model\Config\Source

That’s it.

Fill the below form if you have any Magento programming need.

    Recent Articles

    Author Info

    Author Image

    Magento 2 Developer

    Hire P. Garchar

    Get a Free Quote

      /* second popup */

      Connect With Us