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

#   Show &amp; be able to edit custom fields on order page

##

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

Less More

- Posts: 54
- Thank you received: 0
-
-

10 years 6 months ago [\#240615](#240615) by [eileensemporium](/forum/user/37550-eileensemporium "View eileensemporium's Profile")  *[Show &amp; be able to edit custom fields on order page](/forum/35-orders-management/884614-show-be-able-to-edit-custom-fields-on-order-page#240615 "-- HikaShop version -- : HikaShop Business 2.6.3 &#91;1605112330&#93; -- Joomla version -- : Joomla! 3.4.8 Stable &#91; Ember &#93; 24-December-2015 19:30 GMT -- PHP version -- : 5.4  Please could you tell me how to add custom fields that I have created in the user table in the Customer area of the orders page and ideally be able to edit them there")* was created by *[eileensemporium](/forum/user/37550-eileensemporium "View eileensemporium's Profile")*

-- HikaShop version -- : HikaShop Business 2.6.3 [1605112330]
-- Joomla version -- : Joomla! 3.4.8 Stable [ Ember ] 24-December-2015 19:30 GMT
-- PHP version -- : 5.4

Please could you tell me how to add custom fields that I have created in the user table in the Customer area of the orders page and ideally be able to edit them there

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4NDYxNC1zaG93LWJlLWFibGUtdG8tZWRpdC1jdXN0b20tZmllbGRzLW9uLW9yZGVyLXBhZ2U/dG1wbD1tYXJrZG93bg==) 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: 86583
- Thank you received: 14324
-
-

10 years 6 months ago [\#240617](#240617) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Show &amp; be able to edit custom fields on order page](/forum/35-orders-management/884614-show-be-able-to-edit-custom-fields-on-order-page#240617 "-- HikaShop version -- : HikaShop Business 2.6.3 &#91;1605112330&#93; -- Joomla version -- : Joomla! 3.4.8 Stable &#91; Ember &#93; 24-December-2015 19:30 GMT -- PHP version -- : 5.4  Please could you tell me how to add custom fields that I have created in the user table in the Customer area of the orders page and ideally be able to edit them there")*

Hi,

For the display of the values, you'll have to edit the file "show" of the view "order" via the menu Display&gt;Views and you can add such code at the beginning: Code:

&lt;?php if(empty($this-&gt;extra_data)) $this-&gt;extra_data = array(); if(empty($this-&gt;extra_data['user'])) $this-&gt;extra_data['user'] = array(); $this-&gt;extra_data['user']['column_name_field_1'] = array('title' =&gt; 'Title for field 1', 'content' =&gt; $this-&gt;order-&gt;customer-&gt;column_name_field_1); $this-&gt;extra_data['user']['column_name_field_2'] = array('title' =&gt; 'Title for field 2', 'content' =&gt; $this-&gt;order-&gt;customer-&gt;column_name_field_2); ?&gt;

Of course, you need to replace column_name_field_1 and column_name_field_2 by the actually column names of your custom fields.

For the edition it's more complex as there is no system in place to handle that at all. You would have to hire a developer to work on that for you.

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

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

Less More

- Posts: 54
- Thank you received: 0
-
-

10 years 5 months ago [\#241243](#241243) by [eileensemporium](/forum/user/37550-eileensemporium "View eileensemporium's Profile")  Replied by *[eileensemporium](/forum/user/37550-eileensemporium "View eileensemporium's Profile")* on topic *[Show &amp; be able to edit custom fields on order page](/forum/35-orders-management/884614-show-be-able-to-edit-custom-fields-on-order-page#241243 "-- HikaShop version -- : HikaShop Business 2.6.3 &#91;1605112330&#93; -- Joomla version -- : Joomla! 3.4.8 Stable &#91; Ember &#93; 24-December-2015 19:30 GMT -- PHP version -- : 5.4  Please could you tell me how to add custom fields that I have created in the user table in the Customer area of the orders page and ideally be able to edit them there")*

Thanks that worked perfectly once I remembered to edit the correct template version of the file!

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

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