Getting the country from an address (Magento 1)

To retrieve the full country name rather than just the country code (such as DE) from a Magento order address, follow these steps:

Show address data (like company, name) on registration form (Magento 2)

By default, the Magento 2 registration form does not show address data such as the company, name or street. To change that, simply create customer_account_create.xml in the folder app/design/Your Vendor/Your Theme/Magento_Customer/layout and add the following code:

Now just clear…

Showing address fields during registration (Magento 2)

To request address details during registration, create the file customer_account_create.xml im Verzeichnis app/design/YourVendor/YourTheme/Magento_Customer/layout and insert the following content:

Clear the cache afterwards. Address fields should then appear when registering a new account.

Getting the full country name by country code (Magento 1)

See the following example on how to get the long country name by its short code: