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

#   Address custom fields - display options

##

- **[Joomill](/forum/user/33738-joomill "View Joomill's Profile")**
- [![Joomill's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar33738.jpg)](/forum/user/33738-joomill "View Joomill's Profile") Topic Author
- [ Offline](/forum/user/33738-joomill)

Less More

- Posts: 224
- Thank you received: 10
-
-
- [](http://www.joomill.nl)
-

10 years 5 months ago [\#242754](#242754) by [Joomill](/forum/user/33738-joomill "View Joomill's Profile")  *[Address custom fields - display options](/forum/50-feature-request/885023-address-custom-fields-display-options#242754 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.6  Hi,  Since the last update the custom fields have new display options, only the address custom fields don't. I would like to disable (for example the telephone field of the shippingaddress) on the invoice and shipping invoice.  Will this options be added in a next version?  Kind regards, Jeroen Joomill")* was created by *[Joomill](/forum/user/33738-joomill "View Joomill's Profile")*

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.6

Hi,

Since the last update the custom fields have new display options, only the address custom fields don't.
I would like to disable (for example the telephone field of the shippingaddress) on the invoice and shipping invoice.

Will this options be added in a next version?

Kind regards,
Jeroen
Joomill

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUwLWZlYXR1cmUtcmVxdWVzdC84ODUwMjMtYWRkcmVzcy1jdXN0b20tZmllbGRzLWRpc3BsYXktb3B0aW9ucz90bXBsPW1hcmtkb3du) 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: 86541
- Thank you received: 14304
-
-

10 years 5 months ago [\#242778](#242778) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Address custom fields - display options](/forum/50-feature-request/885023-address-custom-fields-display-options#242778 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.6  Hi,  Since the last update the custom fields have new display options, only the address custom fields don't. I would like to disable (for example the telephone field of the shippingaddress) on the invoice and shipping invoice.  Will this options be added in a next version?  Kind regards, Jeroen Joomill")*

Hi,

The address fields are displayed thanks to a view file called "address_template". You can edit it for the frontend template and the backend template via the menu Display&gt;Views and add/remove the tags you want there to have the layout you need for your addresses.

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

- **[Joomill](/forum/user/33738-joomill "View Joomill's Profile")**
- [![Joomill's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar33738.jpg)](/forum/user/33738-joomill "View Joomill's Profile") Topic Author
- [ Offline](/forum/user/33738-joomill)

Less More

- Posts: 224
- Thank you received: 10
-
-
- [](http://www.joomill.nl)
-

8 years 1 month ago [\#298477](#298477) by [Joomill](/forum/user/33738-joomill "View Joomill's Profile")  Replied by *[Joomill](/forum/user/33738-joomill "View Joomill's Profile")* on topic *[Address custom fields - display options](/forum/50-feature-request/885023-address-custom-fields-display-options#298477 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.6  Hi,  Since the last update the custom fields have new display options, only the address custom fields don't. I would like to disable (for example the telephone field of the shippingaddress) on the invoice and shipping invoice.  Will this options be added in a next version?  Kind regards, Jeroen Joomill")*

Hi Nicolas,

Can i have a check if this field isn't empty in the address_template? And how should it look like?

Thanks

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

8 years 1 month ago [\#298481](#298481) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Address custom fields - display options](/forum/50-feature-request/885023-address-custom-fields-display-options#298481 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.6  Hi,  Since the last update the custom fields have new display options, only the address custom fields don't. I would like to disable (for example the telephone field of the shippingaddress) on the invoice and shipping invoice.  Will this options be added in a next version?  Kind regards, Jeroen Joomill")*

Hello,

HikaShop use the address template system to display the formatted adresses.
That address template is a view so you can override it and also use some PHP into.
Depending the context, when loaded, the "address" is pass as a parameter of the view (the "displayAddress" function does. the "maxiFormat" function doesn't).
HikaShop mostly use the "displayAddress" function, the other one is used when we have to process a bunch of addresses (like a listing).

So you can add some PHP in your override (or via the HikaShop configuration setting which will put your content is both front and back templates) and get the address object which is available in the params of the view.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUwLWZlYXR1cmUtcmVxdWVzdC84ODUwMjMtYWRkcmVzcy1jdXN0b20tZmllbGRzLWRpc3BsYXktb3B0aW9ucz90bXBsPW1hcmtkb3du) 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.045 seconds

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