Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save manojind/585609574356d8f638e0134612323833 to your computer and use it in GitHub Desktop.
Save manojind/585609574356d8f638e0134612323833 to your computer and use it in GitHub Desktop.
how to display the address fields in the registration form Magento 2.2.5 & 2.2.4
1. Go to /vendor/magento/module-customer/view/frontend/layout/customer_account_create.xml
and add a code : Line no : 20 Under <container name="customer.form.register.fields.before"
<action method="setShowAddressFields">
<argument name="show.address.fields" xsi:type="boolean">true</argument>
</action>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment