You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By #51 and the related videos, most of the important topics of adding EAV attributes seem to be covered. However, I had a hard time adding an order attribute. Theoretically, order is an EAV entity as well. However, practically, it is just a pseudo EAV entity (at least in Magento Open Source). Through Magento\Sales\Setup\SalesSetup, the "EAV" attributes are actually mapped to flat tables. So you cannot use Magento\Eav\Setup\EavSetup to add order attributes. You have to use the SalesSetup for that. This is worth a short video I think :-)
The text was updated successfully, but these errors were encountered:
By #51 and the related videos, most of the important topics of adding EAV attributes seem to be covered. However, I had a hard time adding an order attribute. Theoretically, order is an EAV entity as well. However, practically, it is just a pseudo EAV entity (at least in Magento Open Source). Through
Magento\Sales\Setup\SalesSetup
, the "EAV" attributes are actually mapped to flat tables. So you cannot useMagento\Eav\Setup\EavSetup
to add order attributes. You have to use theSalesSetup
for that. This is worth a short video I think :-)The text was updated successfully, but these errors were encountered: