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

#   Show custom field in order listing view

##

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

Less More

- Posts: 26
- Thank you received: 1
-
-

5 years 8 months ago -  5 years 8 months ago [\#329942](#329942) by [fernandoIncerco](/forum/user/58147-fernandoincerco "View fernandoIncerco's Profile")  *[Show custom field in order listing view](/forum/26-product-category-display/902008-show-custom-field-in-order-listing-view#329942 "-- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.3.27  Hello,  I want to show a custom field in the order listing view and I don't know how to acces to it, the custom field is located in item table.  ;} ?&gt;&#91;/color&#93;")* was created by *[fernandoIncerco](/forum/user/58147-fernandoincerco "View fernandoIncerco's Profile")*

-- HikaShop version -- : 4.4.1
-- Joomla version -- : 3.9.24
-- PHP version -- : 7.3.27

Hello,

I want to show a custom field in the order listing view and I don't know how to acces to it, the custom field is located in item table.

&lt;?php if(!empty($row-&gt;extraData-&gt;topLeft)) { echo implode("\\r\\n", $row-&gt;extraData-&gt;topLeft); } ?&gt;
&lt;a class="hika\_order\_number" href="&lt;?php echo $order\_link; ?&gt;"&gt;
&lt;span class="hika\_order\_number\_title"&gt;&lt;?php echo JText::\_('ORDER\_NUMBER'); ?&gt; : &lt;/span&gt;
&lt;span class="hika\_order\_number\_value"&gt;&lt;?php echo $row-&gt;order\_number; ?&gt;&lt;/span&gt;
&lt;?php if(!empty($row-&gt;order\_invoice\_number)) { ?&gt;
&lt;br class="hika\_order\_number\_invoice\_separator"/&gt;
&lt;span class="hika\_invoice\_number\_title"&gt;&lt;/span&gt;
&lt;span class="hika\_invoice\_number\_value"&gt;&lt;/span&gt;

&lt;?php echo CUSTOM FIELD;} ?&gt;

Last edit: 5 years 8 months ago by [fernandoIncerco](/forum/user/58147-fernandoincerco "View fernandoIncerco's Profile").

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

5 years 8 months ago -  5 years 8 months ago [\#329945](#329945) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Show custom field in order listing view](/forum/26-product-category-display/902008-show-custom-field-in-order-listing-view#329945 "-- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.3.27  Hello,  I want to show a custom field in the order listing view and I don't know how to acces to it, the custom field is located in item table.  ;} ?&gt;&#91;/color&#93;")*

hello,

In order to be more specific in our answer can you details better your idea, can you precise the **context** like **frontend** or **backend** or better via an **Url link** ?
And any details, that help us to better understand your needs, the context, and any specific details.

Awaiting news from you to progress on your subject.
Regards

Last edit: 5 years 8 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 26
- Thank you received: 1
-
-

5 years 8 months ago [\#330002](#330002) by [fernandoIncerco](/forum/user/58147-fernandoincerco "View fernandoIncerco's Profile")  Replied by *[fernandoIncerco](/forum/user/58147-fernandoincerco "View fernandoIncerco's Profile")* on topic *[Show custom field in order listing view](/forum/26-product-category-display/902008-show-custom-field-in-order-listing-view#330002 "-- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.3.27  Hello,  I want to show a custom field in the order listing view and I don't know how to acces to it, the custom field is located in item table.  ;} ?&gt;&#91;/color&#93;")*

[ ![Captura.PNG](/forum/attachment/52058) ](/forum/attachment/52058 "Captura.PNG")

I want to show the custom field where is indicated in the screen capture.
Thanks so much

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

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

5 years 8 months ago -  5 years 8 months ago [\#330012](#330012) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Show custom field in order listing view](/forum/26-product-category-display/902008-show-custom-field-in-order-listing-view#330012 "-- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.3.27  Hello,  I want to show a custom field in the order listing view and I don't know how to acces to it, the custom field is located in item table.  ;} ?&gt;&#91;/color&#93;")*

Hello,

This will required advanced view override and good knowledge of **html** &amp; **php**.
Plus, I draw your attention to the fact that the items are dependent on the products, meaning that **each** Item Custom field is **linked to one** product.
Maybe display as a start the product name, and not only then the Item Custom field will be a good way.
I think that you can take a good example in the **order**/**show**.
[ ![alt](https://i.postimg.cc/x8JX86zh/order-show.png) ](https://i.postimg.cc/x8JX86zh/order-show.png "alt")

The code part that manage the item custom field is around **line 240**.
Hope this will help you to achieved what you need.
Regards

Last edit: 5 years 8 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 26
- Thank you received: 1
-
-

5 years 8 months ago [\#330179](#330179) by [fernandoIncerco](/forum/user/58147-fernandoincerco "View fernandoIncerco's Profile")  Replied by *[fernandoIncerco](/forum/user/58147-fernandoincerco "View fernandoIncerco's Profile")* on topic *[Show custom field in order listing view](/forum/26-product-category-display/902008-show-custom-field-in-order-listing-view#330179 "-- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.3.27  Hello,  I want to show a custom field in the order listing view and I don't know how to acces to it, the custom field is located in item table.  ;} ?&gt;&#91;/color&#93;")*

[ ![Captura&#95;2021-03-01.PNG](/forum/attachment/52115) ](/forum/attachment/52115 "...2021-03-01.PNG")

This is the custom field that I want to show in the order / listing.php view. I tried with this code but I can't acces to the field. Code:

$fieldsClass = hikashop_get('class.field); $fields = $fieldsClass-&gt;getFields('frontcomp',$this-&gt;row,'item','checkout&amp;task=state'); echo $fieldsClass-&gt;show($fields['venue'],$this-&gt;row-&gt;venue);

Please, just show me the way to acces to the custom field value.

- [ ![Captura&#95;2021-03-01.PNG](/forum/attachment/52115) ](/forum/attachment/52115 "...2021-03-01.PNG") [ ](/forum/attachment/52115?download=1 "...2021-03-01.PNG")

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

5 years 8 months ago -  5 years 8 months ago [\#330189](#330189) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Show custom field in order listing view](/forum/26-product-category-display/902008-show-custom-field-in-order-listing-view#330189 "-- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.3.27  Hello,  I want to show a custom field in the order listing view and I don't know how to acces to it, the custom field is located in item table.  ;} ?&gt;&#91;/color&#93;")*

Hello,

Please, provide a **complete** custom field setting **screenshot** and in **English** in order to help us to better understand the situation.
For your provided code please provide **more details** about how do you create it, Template association, view references, line where you paste your custom code, and/or after which original code part.

Awaiting your elements to be able to guide you.
Regards

Last edit: 5 years 8 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 26
- Thank you received: 1
-
-

5 years 8 months ago [\#330237](#330237) by [fernandoIncerco](/forum/user/58147-fernandoincerco "View fernandoIncerco's Profile")  Replied by *[fernandoIncerco](/forum/user/58147-fernandoincerco "View fernandoIncerco's Profile")* on topic *[Show custom field in order listing view](/forum/26-product-category-display/902008-show-custom-field-in-order-listing-view#330237 "-- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.3.27  Hello,  I want to show a custom field in the order listing view and I don't know how to acces to it, the custom field is located in item table.  ;} ?&gt;&#91;/color&#93;")*

First of all excuse me for the undetailed question ![:)](/media/kunena/emoticons/3.png ":)")
This is the complete screenshot of the custom field.
[ ![Captura2.PNG](/forum/attachment/52134) ](/forum/attachment/52134 "Captura2.PNG")

And this is where I want to show it, in the order / listing.php view.
[ ![Captura3.PNG](/forum/attachment/52133) ](/forum/attachment/52133 "Captura3.PNG")

Thanks for your time and attention.
Fernando

- [ ![Captura3.PNG](/forum/attachment/52133) ](/forum/attachment/52133 "Captura3.PNG") [ ](/forum/attachment/52133?download=1 "Captura3.PNG")
- [ ![Captura2.PNG](/forum/attachment/52134) ](/forum/attachment/52134 "Captura2.PNG") [ ](/forum/attachment/52134?download=1 "Captura2.PNG")

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

5 years 8 months ago [\#330243](#330243) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Show custom field in order listing view](/forum/26-product-category-display/902008-show-custom-field-in-order-listing-view#330243 "-- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.3.27  Hello,  I want to show a custom field in the order listing view and I don't know how to acces to it, the custom field is located in item table.  ;} ?&gt;&#91;/color&#93;")*

Hi,

The problem is that there is an inconsistency between the custom field table and what you want to do.
An order can have several products. And your custom field is of the table "item" not "order", and thus for one order, you'll have a value of that custom field for each product in the order.
So either:
- you want to actually use a custom field of the table "order" and not "item" so that the custom field is linked to the order and not to each product of the order. In that case, you'll have display options to directly display the value there, without the need for any custom code.
- you want to use a custom field of the table "item" as you want to have the custom field for each product of the order. In that case, you first need to load the products of the order and then encapsulate your code in a foreach on the products. Something like that: Code:

$orderClass = hikashop_get('class.order'); $order = $orderClass-&gt;loadFullOrder($row-&gt;order_id, true); $fieldsClass = hikashop_get('class.field); foreach($order-&gt;products as $product) { $fields = $fieldsClass-&gt;getFields('frontcomp',$product,'item','checkout&amp;task=state'); echo $fieldsClass-&gt;show($fields['venue'],$product-&gt;venue); }

The following user(s) said Thank You: [fernandoIncerco](/forum/user/58147-fernandoincerco "View fernandoIncerco's Profile")

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

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

Less More

- Posts: 26
- Thank you received: 1
-
-

5 years 8 months ago [\#330290](#330290) by [fernandoIncerco](/forum/user/58147-fernandoincerco "View fernandoIncerco's Profile")  Replied by *[fernandoIncerco](/forum/user/58147-fernandoincerco "View fernandoIncerco's Profile")* on topic *[Show custom field in order listing view](/forum/26-product-category-display/902008-show-custom-field-in-order-listing-view#330290 "-- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.3.27  Hello,  I want to show a custom field in the order listing view and I don't know how to acces to it, the custom field is located in item table.  ;} ?&gt;&#91;/color&#93;")*

Hi,
Finally I have created a custom field in the order table, is better this way:
[ ![Captura5.PNG](/forum/attachment/52150) ](/forum/attachment/52150 "Captura5.PNG")

But I can't show it n the order/listing.php, I tried with this code extracted from order/show.php
[ ![Captura6.PNG](/forum/attachment/52149) ](/forum/attachment/52149 "Captura6.PNG")

Thanks again ![:)](/media/kunena/emoticons/3.png ":)")

- [ ![Captura6.PNG](/forum/attachment/52149) ](/forum/attachment/52149 "Captura6.PNG") [ ](/forum/attachment/52149?download=1 "Captura6.PNG")
- [ ![Captura5.PNG](/forum/attachment/52150) ](/forum/attachment/52150 "Captura5.PNG") [ ](/forum/attachment/52150?download=1 "Captura5.PNG")

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

5 years 8 months ago [\#330292](#330292) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Show custom field in order listing view](/forum/26-product-category-display/902008-show-custom-field-in-order-listing-view#330292 "-- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.3.27  Hello,  I want to show a custom field in the order listing view and I don't know how to acces to it, the custom field is located in item table.  ;} ?&gt;&#91;/color&#93;")*

Hi,

You don't need to add any code for the display of custom order fields on the orders listing.
They will display automatically if:
- the "backend listing" setting of the custom field is activated
- at least one order on the current listing has something entered in that custom field
So please check on that.

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

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

Less More

- Posts: 26
- Thank you received: 1
-
-

5 years 8 months ago [\#330319](#330319) by [fernandoIncerco](/forum/user/58147-fernandoincerco "View fernandoIncerco's Profile")  Replied by *[fernandoIncerco](/forum/user/58147-fernandoincerco "View fernandoIncerco's Profile")* on topic *[Show custom field in order listing view](/forum/26-product-category-display/902008-show-custom-field-in-order-listing-view#330319 "-- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.3.27  Hello,  I want to show a custom field in the order listing view and I don't know how to acces to it, the custom field is located in item table.  ;} ?&gt;&#91;/color&#93;")*

It is shown in the order/show.php
[ ![Captura7.PNG](/forum/attachment/52162) ](/forum/attachment/52162 "Captura7.PNG")

but in the order/listing.php it is NOT shown:
[ ![Captura9.PNG](/forum/attachment/52160) ](/forum/attachment/52160 "Captura9.PNG")

[ ![Captura8.PNG](/forum/attachment/52161) ](/forum/attachment/52161 "Captura8.PNG")

Thanks

- [ ![Captura9.PNG](/forum/attachment/52160) ](/forum/attachment/52160 "Captura9.PNG") [ ](/forum/attachment/52160?download=1 "Captura9.PNG")
- [ ![Captura8.PNG](/forum/attachment/52161) ](/forum/attachment/52161 "Captura8.PNG") [ ](/forum/attachment/52161?download=1 "Captura8.PNG")
- [ ![Captura7.PNG](/forum/attachment/52162) ](/forum/attachment/52162 "Captura7.PNG") [ ](/forum/attachment/52162?download=1 "Captura7.PNG")

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

5 years 8 months ago [\#330330](#330330) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Show custom field in order listing view](/forum/26-product-category-display/902008-show-custom-field-in-order-listing-view#330330 "-- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.3.27  Hello,  I want to show a custom field in the order listing view and I don't know how to acces to it, the custom field is located in item table.  ;} ?&gt;&#91;/color&#93;")*

Hi,

Ah, you're talking about the frontend order listing. I thought you were talking about the backend.
For the frontend, you'll indeed need to modify order / listing.php
However, it's really easy to do.
You can just add such code:
&lt;?php echo $row-&gt;referencia; ?&gt;

The following user(s) said Thank You: [fernandoIncerco](/forum/user/58147-fernandoincerco "View fernandoIncerco's Profile")

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

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

Less More

- Posts: 26
- Thank you received: 1
-
-

5 years 8 months ago [\#330366](#330366) by [fernandoIncerco](/forum/user/58147-fernandoincerco "View fernandoIncerco's Profile")  Replied by *[fernandoIncerco](/forum/user/58147-fernandoincerco "View fernandoIncerco's Profile")* on topic *[Show custom field in order listing view](/forum/26-product-category-display/902008-show-custom-field-in-order-listing-view#330366 "-- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.3.27  Hello,  I want to show a custom field in the order listing view and I don't know how to acces to it, the custom field is located in item table.  ;} ?&gt;&#91;/color&#93;")*

Now is working fine!!! Great!

Thanks so much ![:)](/media/kunena/emoticons/3.png ":)")

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

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