Can Yildirim's Blog

Can Yildirim

Written by Can Yildirim who lives in London. Full Stack Software Engineer. Follow me on Twitter Linkedin

Magento 2 Validation XML usage

September 11, 2021

Magento 2 uses etc/validation.xml file to define validation rule for a particular group. Though the usage of this file is not widespread, it could be nice to see validation in a single place. In that way they could be more managable.

How to add EAV attributes to products by setup scripts | #MagentoTips3

August 27, 2021

While EAV attributes can be managed by admin it can also be put in setup scripts and be ready with the deployment without any manual operation. This is useful especially if you deploy your code couple of different environment as you wouldn't want to go and manually add attributes for each environment.

© 2023,