Magento

Magento 2 validate rule

Magento 2 validate rule

Magento 2 add category attribute

Magento 2 add category attribute
Category attributes were automatically displayed in the admin panel of Magento 1. In Magento 2, it is necessary to explicitly render it with a UI Component. This is quite easy to do and provides a great degree of control over the form input. In the code examples below, replace attribute_id and Your Category Attribute Name with your own values.