30
January
In this tutorial, lets learn how to create a product attribute using data patches in Magento 2. Data patch is a class that stores instructions for data modification. From Magento 2.3.x, magento introduced a new concept Data patch for add/update magento eav attributes. Previously, Magento 2 uses InstallData and UpgradeData file to…