[Skip to main content](#vessel-content)

#   Address 2 isent showing

##

- **[FedHillt](/forum/user/40648-fedhillt "View FedHillt's Profile")**
- [![FedHillt's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/40648-fedhillt "View FedHillt's Profile") Topic Author
- [ Offline](/forum/user/40648-fedhillt)

Less More

- Posts: 8
- Thank you received: 1
-
-

10 years 4 months ago [\#246418](#246418) by [FedHillt](/forum/user/40648-fedhillt "View FedHillt's Profile")  *[Address 2 isent showing](/forum/35-orders-management/885763-address-2-isent-showing#246418 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.0 -- PHP version -- : 5.6.23 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : No error message.  Hi,  The Address line 2 isn't showing up on both the shipping invoice and sales receipt.  I get this -  First Name, Last Name Address 1 City, State, Zip Code Country Telephone  However, we recently had a customer who input an address for the address 2 line, but it isn't displaying anywhere.  I've gone into custom fields and Address 2 is published.  I've also gone into the views and I see that it has this code.   element-&gt;order&#95;shipping&#95;id) &amp;&amp; !empty($this-&gt;element-&gt;shipping&#95;address)){ ?&gt;   element-&gt;override&#95;shipping&#95;address)) { $class = hikashop&#95;get('class.address'); echo $class-&gt;displayAddress($this-&gt;element-&gt;fields,$this-&gt;element-&gt;shipping&#95;address,'order'); } else { echo $this-&gt;element-&gt;override&#95;shipping&#95;address; } ?&gt;     Shouldn't this be displaying all of the fields?  Thanks for your time, Tim")* was created by *[FedHillt](/forum/user/40648-fedhillt "View FedHillt's Profile")*

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.0
-- PHP version -- : 5.6.23
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : No error message.

Hi,

The Address line 2 isn't showing up on both the shipping invoice and sales receipt.

I get this -

First Name, Last Name
Address 1
City, State, Zip Code
Country
Telephone

However, we recently had a customer who input an address for the address 2 line, but it isn't displaying anywhere.

I've gone into custom fields and Address 2 is published.

I've also gone into the views and I see that it has this code.

&lt;td&gt;
&lt;?php
if(!empty($this-&gt;element-&gt;order_shipping_id) &amp;&amp; !empty($this-&gt;element-&gt;shipping_address)){
?&gt;
&lt;fieldset class="adminform" id="htmlfieldset_shipping"&gt;
&lt;legend style="background-color: #FFFFFF;"&gt;&lt;?php echo JText::_('HIKASHOP_SHIPPING_ADDRESS'); ?&gt;&lt;/legend&gt;
&lt;?php
if(empty($this-&gt;element-&gt;override_shipping_address)) {
$class = hikashop_get('class.address');
echo $class-&gt;displayAddress($this-&gt;element-&gt;fields,$this-&gt;element-&gt;shipping_address,'order');
} else {
echo $this-&gt;element-&gt;override_shipping_address;
}
?&gt;
&lt;/fieldset&gt;
&lt;?php
}
?&gt;
&lt;/td&gt;

Shouldn't this be displaying all of the fields?

Thanks for your time,
Tim

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4NTc2My1hZGRyZXNzLTItaXNlbnQtc2hvd2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

10 years 4 months ago [\#246434](#246434) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Address 2 isent showing](/forum/35-orders-management/885763-address-2-isent-showing#246434 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.0 -- PHP version -- : 5.6.23 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : No error message.  Hi,  The Address line 2 isn't showing up on both the shipping invoice and sales receipt.  I get this -  First Name, Last Name Address 1 City, State, Zip Code Country Telephone  However, we recently had a customer who input an address for the address 2 line, but it isn't displaying anywhere.  I've gone into custom fields and Address 2 is published.  I've also gone into the views and I see that it has this code.   element-&gt;order&#95;shipping&#95;id) &amp;&amp; !empty($this-&gt;element-&gt;shipping&#95;address)){ ?&gt;   element-&gt;override&#95;shipping&#95;address)) { $class = hikashop&#95;get('class.address'); echo $class-&gt;displayAddress($this-&gt;element-&gt;fields,$this-&gt;element-&gt;shipping&#95;address,'order'); } else { echo $this-&gt;element-&gt;override&#95;shipping&#95;address; } ?&gt;     Shouldn't this be displaying all of the fields?  Thanks for your time, Tim")*

Hi,

You need to edit the file "address_template" for both your frontend and backend templates and add the corresponding tag in them.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4NTc2My1hZGRyZXNzLTItaXNlbnQtc2hvd2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.043 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
