<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Magento Expert</title>
	<atom:link href="https://www.the-mage-expert.com/tag/address/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.the-mage-expert.com</link>
	<description>Your Magento Commerce Expert</description>
	<lastBuildDate>Tue, 24 Jan 2023 09:37:24 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.8.6</generator>
	<item>
		<title>Show address data (like company, name) on registration form</title>
		<link>https://www.the-mage-expert.com/1143/magento-2-show-address-data-like-company-name-on-registration-form/</link>
		<comments>https://www.the-mage-expert.com/1143/magento-2-show-address-data-like-company-name-on-registration-form/#comments</comments>
		<pubDate>Fri, 25 Aug 2017 05:47:48 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[address]]></category>
		<category><![CDATA[customer]]></category>
		<category><![CDATA[Magento 2]]></category>
		<category><![CDATA[registration]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=1143</guid>
		<description><![CDATA[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: [crayon-6a7abfecbfca6/] Now just clear&#8230;]]></description>
				<content:encoded><![CDATA[<p>By default, the Magento 2 registration form does not show address data such as the company, name or street. To change that, simply create <strong>customer_account_create.xml</strong> in the folder  <strong>app/design/Your Vendor/Your Theme/Magento_Customer/layout</strong> and add the following code:</p><pre class="crayon-plain-tag">&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;!--
/**
* Copyright &copy; 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
--&gt;
&lt;page xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; layout=&quot;1column&quot; xsi:noNamespaceSchemaLocation=&quot;../../../../../../../lib/internal/Magento/Framework/View/Layout/etc/page_configuration.xsd&quot;&gt;
	&lt;body&gt;
		&lt;referenceBlock name=&quot;customer_form_register&quot;&gt;
			&lt;arguments&gt;
				&lt;argument name=&quot;show_address_fields&quot; xsi:type=&quot;string&quot;&gt;1&lt;/argument&gt;
			&lt;/arguments&gt;
		&lt;/referenceBlock&gt;
	&lt;/body&gt;
&lt;/page&gt;</pre><p>Now just clear the cache and reload the registration form / page. </p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/1143/magento-2-show-address-data-like-company-name-on-registration-form/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting the shipping address for an order</title>
		<link>https://www.the-mage-expert.com/322/magento-getting-shipping-address-for-order/</link>
		<comments>https://www.the-mage-expert.com/322/magento-getting-shipping-address-for-order/#comments</comments>
		<pubDate>Tue, 16 Apr 2013 08:32:27 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[address]]></category>
		<category><![CDATA[order]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=322</guid>
		<description><![CDATA[Use the following code to get the shipping address of a Magento order: [crayon-6a7abfecc877a/]]]></description>
				<content:encoded><![CDATA[<p>Use the following code to get the shipping address of a Magento order:</p>
<p></p><pre class="crayon-plain-tag">$address = $order-&gt;getShippingAddress();</pre><p></p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/322/magento-getting-shipping-address-for-order/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting the full country name by country code</title>
		<link>https://www.the-mage-expert.com/55/magento-getting-full-country-by-country-code/</link>
		<comments>https://www.the-mage-expert.com/55/magento-getting-full-country-by-country-code/#comments</comments>
		<pubDate>Mon, 25 Feb 2013 11:45:40 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[address]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=55</guid>
		<description><![CDATA[See the following example on how to get the long country name by its short code: [crayon-6a7abfecc8b89/]]]></description>
				<content:encoded><![CDATA[<p>See the following example on how to get the long country name by its short code:</p>
<p></p><pre class="crayon-plain-tag">$address = Mage::getModel('customer/address')-&gt;load($addressId);

// DE, AT ...
$countryCode = $address-&gt;getCountryId();

// Deutschland, ...
$country = Mage::app()-&gt;getLocale()-&gt;getCountryTranslation($countryCode);</pre><p></p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/55/magento-getting-full-country-by-country-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
