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

#   New issue with emails sent

##

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

Less More

- Posts: 610
- Thank you received: 13
-

2 months 3 weeks ago -  2 months 3 weeks ago [\#373045](#373045) by [mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")  *[New issue with emails sent](/forum/35-orders-management/910756-new-issue-with-emails-sent#373045 "-- HikaShop version -- : 6.5.2 -- Joomla version -- : 5.4.7 -- PHP version -- : 8.3.33 -- Browser(s) name and version -- : Chrome  Hi, Since swapping to Vessel, I have now found that the system emails sent for orders are now MISSING address line 3? {address&#95;street2}  This line is visible to 'edit' in checkout but is not visible in the checkout address?  It's still correct in 'custom fields' and also in the 'views' as far as I can see?  {address&#95;title} {address&#95;firstname} {address&#95;lastname} {address&#95;street} {address&#95;line2} {address&#95;street2} {address&#95;city} {address&#95;state} {address&#95;post&#95;code} {address&#95;country}  Rgds")* was created by *[mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")*

-- HikaShop version -- : 6.5.2
-- Joomla version -- : 5.4.7
-- PHP version -- : 8.3.33
-- Browser(s) name and version -- : Chrome

Hi, Since swapping to Vessel, I have now found that the system emails sent for orders are now MISSING address line 3? {address_street2}

This line is visible to 'edit' in checkout but is not visible in the checkout address?

It's still correct in 'custom fields' and also in the 'views' as far as I can see?

{address_title} {address_firstname} {address_lastname}
{address_street}
{address_line2}
{address_street2}
{address_city}
{address_state}
{address_post_code}
{address_country}

Rgds

Last edit: 2 months 3 weeks ago by [mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile"). Reason: more info

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkxMDc1Ni1uZXctaXNzdWUtd2l0aC1lbWFpbHMtc2VudD90bXBsPW1hcmtkb3du) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

2 months 3 weeks ago [\#373054](#373054) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[New issue with emails sent](/forum/35-orders-management/910756-new-issue-with-emails-sent#373054 "-- HikaShop version -- : 6.5.2 -- Joomla version -- : 5.4.7 -- PHP version -- : 8.3.33 -- Browser(s) name and version -- : Chrome  Hi, Since swapping to Vessel, I have now found that the system emails sent for orders are now MISSING address line 3? {address&#95;street2}  This line is visible to 'edit' in checkout but is not visible in the checkout address?  It's still correct in 'custom fields' and also in the 'views' as far as I can see?  {address&#95;title} {address&#95;firstname} {address&#95;lastname} {address&#95;street} {address&#95;line2} {address&#95;street2} {address&#95;city} {address&#95;state} {address&#95;post&#95;code} {address&#95;country}  Rgds")*

Hi,

Nothing changed in the emails, it's the address format which does not follow you when you change template.

HikaShop stores that format as a file inside the template folder :
Code:

templates/YOUR_TEMPLATE/html/com_hikashop/address/address_template.php

When you edited the address format in the configuration, that file was written into the templates installed at that moment. Vessel was not one of them, so now that Vessel is your default template, HikaShop finds no file there and falls back to its own default format, which does not include the complement line. Same thing in the checkout, since the address block there is displayed with that same format.

Only the display is affected. The field itself, its custom field settings and the data stored on the orders are untouched, which is why you still see the line when editing the address.

To fix it, go in the HikaShop configuration, Checkout tab, and look for the "Address format" area. Add your {address_street2} line back where you want it and save. Saving writes the file in every template installed on your site, frontend and backend, so Vessel will get it and so will the next template you install.

If you prefer not to retype it, the file is still in your previous template. Copy it to templates/vessel/html/com_hikashop/address/address_template.php and it comes back as it was.

One remark on the list of tags you posted : {address_line2} is not a HikaShop field name, unless you created a custom field with that column name yourself. The standard complement field is address_street2. Unknown tags are simply removed when the address is displayed, so it does no harm, but it does nothing either.

The following user(s) said Thank You: [mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkxMDc1Ni1uZXctaXNzdWUtd2l0aC1lbWFpbHMtc2VudD90bXBsPW1hcmtkb3du) or [Create an account](/register) 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.048 seconds

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