Rate this post

Create a new attribute for category

There is some ways to extend functionality of Magento categories, I will show you how it might be done.
By modifying and adding data into some of tables directly, You might do that , but if you don’t know what you are doing, it might be waste of time . Therefore, you might follow these steps and create custom category attributes in minutes. And you can try the following steps If you need to create a custom category attribute for your ecommerce site

Create a new attribute for category
Create a new attribute for category
1 Go to your model and create Setup folder, inside it create file InstallData.php and push this full code

app/code/[Name_space]/[Your_module]/Setup/InstallData.php

2 Add category_form.xml in app/code/[Name_space]/[Your_module]/view/adminhtml/ui_component and push

Step 1:

Go to your model and create Setup folder, inside it create file InstallData.php and push this full code

app/code/[Name_space]/[Your_module]/Setup/InstallData.php

 

Step 2:

You need add category_form.xml in app/code/[Name_space]/[Your_module]/view/adminhtml/ui_component and push:

 

Your Magento website needs a powerful Magento ERP for stock control.

DON'T MISS THE CHANCE!

magento erp

File Permission In Magento (Private Server)
How to get Controller, Module, Action & Route Name in Magento 2

Leave a Reply

Your email address will not be published. Required fields are marked *