Magento 2 : How to know “used_in_forms” param of eav attribute for a form?
-
25-12-2020 - |
سؤال
I was wondering if there is a full proof method for finding all used_in_forms
params of eav attribute which is specified in InstallData.php
to create all kind of attributes for a form or maybe someone can list all the used_in_forms
for all default magento forms.
Any help would be appreciated.
المحلول
You can get all used_in_forms in magento by typing below query,
Used in form customer attribute:
SELECT DISTINCT form_code FROM
customer_form_attribute
WHERE 1
adminhtml_checkout
adminhtml_customer
adminhtml_customer_address
checkout_register
customer_account_create
customer_account_edit
customer_address_edit
customer_register_address
لا تنتمي إلى magento.stackexchange