6

I was wondering if there is a full proof method to find 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.

1 Answer 1

13

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
4
  • Thankyou for your reply. Can you also include "used_in_forms" for product attributes in your reply? Commented Jan 8, 2018 at 11:39
  • for product attributes you can find Stores -> Product attributes Commented Jan 8, 2018 at 12:11
  • 1
    "used_in_forms" is not used for product attributes .. Commented Jan 10, 2018 at 13:35
  • something I have noticed: adminhtml_customer, adminhtml_customer_address are not displayed on the magento admin in the "Forms to Use In" when you edit an attribute
    – Radu
    Commented Sep 24, 2018 at 20:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.