Web Analytics

Fill the form & Get Installation Support

Add Custom Category Attribute Programmatically – Magento 2

Step 1 ) Create file InstallData.php

creating a  InstallData.php file in the app/code/MageMonkeys/HelloWorld/Setup/ directory.

Step 2 ) Display the category attribute

creating a category_form.xml file in the app/code/MageMonkeys/HelloWorld/view/adminhtml/ui_component/ directory.

Step 3 ) run upgrade, flush cache and check the result

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

    Recent Articles

    Author Info

    Author Image

    Magento Certified Developer

    Hire J. Lakum

    Get a Free Quote

      /* second popup */

      Connect With Us