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

#   How to add custom field to frontend customer order

##

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

Less More

- Posts: 6
- Thank you received: 0
-
-

14 years 8 months ago [\#37879](#37879) by [fperez614](/forum/user/5827-fperez614 "View fperez614's Profile")  *[How to add custom field to frontend customer order](/forum/4-how-to/37879-how-to-add-custom-field-to-frontend-customer-order#37879 "Hi,  I created a custom field called repair order number. this field shows up fine in the backend but I would like it to show as a column in the frontend when customers click on &quot;customer order&quot; section. How can I do this? by the way, it is working when they click on the order it shows that field &quot;order show&quot; I guess I would like to add that column to &quot;order listing&quot;. Please help. Thanks!")* was created by *[fperez614](/forum/user/5827-fperez614 "View fperez614's Profile")*

Hi,

I created a custom field called repair order number. this field shows up fine in the backend but I would like it to show as a column in the frontend when customers click on "customer order" section. How can I do this? by the way, it is working when they click on the order it shows that field "order show" I guess I would like to add that column to "order listing". Please help. Thanks!

- [ ![orderstatus.PNG](/forum/attachment/2597) ](/forum/attachment/2597 "orderstatus.PNG") [ ](/forum/attachment/2597?download=1 "orderstatus.PNG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM3ODc5LWhvdy10by1hZGQtY3VzdG9tLWZpZWxkLXRvLWZyb250ZW5kLWN1c3RvbWVyLW9yZGVyP3RtcGw9bWFya2Rvd24=) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

14 years 8 months ago [\#37881](#37881) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Re: How to add custom field to frontend customer order](/forum/4-how-to/37879-how-to-add-custom-field-to-frontend-customer-order#37881 "Hi,  I created a custom field called repair order number. this field shows up fine in the backend but I would like it to show as a column in the frontend when customers click on &quot;customer order&quot; section. How can I do this? by the way, it is working when they click on the order it shows that field &quot;order show&quot; I guess I would like to add that column to &quot;order listing&quot;. Please help. Thanks!")*

Hi,

You have to edit the view "order / listing".
First, add the column in the &lt;thead&gt; section with
Code:

&lt;th class="hikashop_order_repair_number_title title" align="center"&gt; &lt;?php echo JText::_('REPAIR_NUMBER'); ?&gt; &lt;/th&gt;

(or just put the text without using JText)

After that, add the cell in the loop.
Code:

&lt;td class="hikashop_order_repair_number_value"&gt; &lt;?php echo $row-&gt;order_repair_number; ?&gt; &lt;/td&gt;

(where "order_repair_number" is the key of your custom field).

Regards,

---

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

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

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

Less More

- Posts: 6
- Thank you received: 0
-
-

14 years 8 months ago [\#37920](#37920) by [fperez614](/forum/user/5827-fperez614 "View fperez614's Profile")  Replied by *[fperez614](/forum/user/5827-fperez614 "View fperez614's Profile")* on topic *[Re: How to add custom field to frontend customer order](/forum/4-how-to/37879-how-to-add-custom-field-to-frontend-customer-order#37920 "Hi,  I created a custom field called repair order number. this field shows up fine in the backend but I would like it to show as a column in the frontend when customers click on &quot;customer order&quot; section. How can I do this? by the way, it is working when they click on the order it shows that field &quot;order show&quot; I guess I would like to add that column to &quot;order listing&quot;. Please help. Thanks!")*

Great it worked ![:)](/media/kunena/emoticons/8.png ":)")..thanks!

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

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

[](#top)
