How to Add Eav Attribute for Product in Magento 2 – Magento 2.3

In this tutorial I will add attribute “is featured” for all product types and is_featured is a boolean attribute that you can turn on or off. Example write on UpgradeData.php file. 1. Declare eav setup factory

2. Add attribute

In this part: is_featured: attribute code group: group name for attribute that will display […]

Read More