cancel
Showing results for 
Search instead for 
Did you mean: 

InstallScripts vs db_schema for new EAV attribute

InstallScripts vs db_schema for new EAV attribute

I'm in the process of adding new fields to my registration page. I know that we're now supposed to use db_schema instead of InstallScripts, but how can I make sure that they're seen as customer attributes, and editable with he rest of customer information?

Thanks

1 REPLY 1

Re: InstallScripts vs db_schema for new EAV attribute

Hello @web_master12 

 

Using patch data you can add customer attribute

 

https://magento.stackexchange.com/questions/255460/how-to-add-a-customer-attribute-in-a-custom-modul...

Manish Mittal
https://www.manishmittal.com/