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

#   Change fields in orders backend

##

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

Less More

- Posts: 20
- Thank you received: 0
-
-

14 years 10 months ago [\#34343](#34343) by [kurtsnow](/forum/user/4862-kurtsnow "View kurtsnow's Profile")  *[Change fields in orders backend](/forum/4-how-to/34343-change-fields-in-orders-backend#34343 "I use HikaShop for wholesale orders. Our sales person enters orders for all our sales. He is listed as the customer for all the orders in the backend under &quot;Customer&quot;. Is there a way to replace the...")* was created by *[kurtsnow](/forum/user/4862-kurtsnow "View kurtsnow's Profile")*

I use HikaShop for wholesale orders. Our sales person enters orders for all our sales. He is listed as the customer for all the orders in the backend under "Customer". Is there a way to replace the "customer" field with the billing company field instead?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0MzQzLWNoYW5nZS1maWVsZHMtaW4tb3JkZXJzLWJhY2tlbmQ/c3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

14 years 10 months ago [\#34387](#34387) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Change fields in orders backend](/forum/4-how-to/34343-change-fields-in-orders-backend#34387 "I use HikaShop for wholesale orders. Our sales person enters orders for all our sales. He is listed as the customer for all the orders in the backend under &quot;Customer&quot;. Is there a way to replace the...")*

Hi,

You need to edit the file "form" of the view "order" for your back end template via the menu Display-&gt;Views and change the line:

&lt;?php echo $this-&gt;order-&gt;customer-&gt;name.' ('.$this-&gt;order-&gt;customer-&gt;username.')'; ?&gt;

to:
&lt;?php echo $this-&gt;order-&gt;billing_address-&gt;address_firstname.' '.$this-&gt;order-&gt;billing_address-&gt;address_lastname; ?&gt;

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

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

Less More

- Posts: 20
- Thank you received: 0
-
-

14 years 10 months ago [\#34435](#34435) by [kurtsnow](/forum/user/4862-kurtsnow "View kurtsnow's Profile")  Replied by *[kurtsnow](/forum/user/4862-kurtsnow "View kurtsnow's Profile")* on topic *[Re: Change fields in orders backend](/forum/4-how-to/34343-change-fields-in-orders-backend#34435 "I use HikaShop for wholesale orders. Our sales person enters orders for all our sales. He is listed as the customer for all the orders in the backend under &quot;Customer&quot;. Is there a way to replace the...")*

I followed your instructions, but it did not change the field. I still see "customer" listed in the back menu. Please see attached image. Instead of customer, I need the name of the company that is billed. I do not know anything about PHP, but your code referenced first name and last name, which is not what I need.  [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/Return_page.png) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/Return_page.png "&#91;img")

- [ ![Return&#95;page.png](/forum/attachment/2342) ](/forum/attachment/2342 "Return&#95;page.png") [ ](/forum/attachment/2342?download=1 "Return&#95;page.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0MzQzLWNoYW5nZS1maWVsZHMtaW4tb3JkZXJzLWJhY2tlbmQ/c3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

14 years 10 months ago [\#34485](#34485) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Change fields in orders backend](/forum/4-how-to/34343-change-fields-in-orders-backend#34485 "I use HikaShop for wholesale orders. Our sales person enters orders for all our sales. He is listed as the customer for all the orders in the backend under &quot;Customer&quot;. Is there a way to replace the...")*

Which field are you talking about ? Are you sure that you edited the correct file ?
Could you do a screenshot ? The screenshot you attached to your message doesn't seem to be the correct one.

Indeed that code is for the customer address first and last names. For the company name it's similar:

&lt;?php echo $this-&gt;order-&gt;billing_address-&gt;address_company; ?&gt;

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

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

Less More

- Posts: 20
- Thank you received: 0
-
-

14 years 10 months ago [\#34571](#34571) by [kurtsnow](/forum/user/4862-kurtsnow "View kurtsnow's Profile")  Replied by *[kurtsnow](/forum/user/4862-kurtsnow "View kurtsnow's Profile")* on topic *[Re: Change fields in orders backend](/forum/4-how-to/34343-change-fields-in-orders-backend#34571 "I use HikaShop for wholesale orders. Our sales person enters orders for all our sales. He is listed as the customer for all the orders in the backend under &quot;Customer&quot;. Is there a way to replace the...")*

Sorry about hta, I did not uplaod the wrong image file. Here is the correct one.  [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/Order_Menu.png) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/Order_Menu.png "&#91;img")

- [ ![Order&#95;Menu.png](/forum/attachment/2354) ](/forum/attachment/2354 "Order&#95;Menu.png") [ ](/forum/attachment/2354?download=1 "Order&#95;Menu.png")

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

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

Less More

- Posts: 20
- Thank you received: 0
-
-

14 years 10 months ago [\#34572](#34572) by [kurtsnow](/forum/user/4862-kurtsnow "View kurtsnow's Profile")  Replied by *[kurtsnow](/forum/user/4862-kurtsnow "View kurtsnow's Profile")* on topic *[Re: Change fields in orders backend](/forum/4-how-to/34343-change-fields-in-orders-backend#34572 "I use HikaShop for wholesale orders. Our sales person enters orders for all our sales. He is listed as the customer for all the orders in the backend under &quot;Customer&quot;. Is there a way to replace the...")*

Also, here is a screenshot of where I placed the code.  [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/Code.png) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/Code.png "&#91;img")

-

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0MzQzLWNoYW5nZS1maWVsZHMtaW4tb3JkZXJzLWJhY2tlbmQ/c3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

14 years 10 months ago [\#34600](#34600) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Change fields in orders backend](/forum/4-how-to/34343-change-fields-in-orders-backend#34600 "I use HikaShop for wholesale orders. Our sales person enters orders for all our sales. He is listed as the customer for all the orders in the backend under &quot;Customer&quot;. Is there a way to replace the...")*

Ah now I see.

I thought that you were talking about the customer information on the order details page.

For the orders listing, it's more difficult to do as that information is not loaded on the listing.
You would have to first load it with a MySQL query and then you would be able to display the address company.

You can do that in the file "listing" of the view "order" of the back end via the menu Display-&gt;Views

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

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

Less More

- Posts: 20
- Thank you received: 0
-
-

14 years 10 months ago [\#34689](#34689) by [kurtsnow](/forum/user/4862-kurtsnow "View kurtsnow's Profile")  Replied by *[kurtsnow](/forum/user/4862-kurtsnow "View kurtsnow's Profile")* on topic *[Re: Change fields in orders backend](/forum/4-how-to/34343-change-fields-in-orders-backend#34689 "I use HikaShop for wholesale orders. Our sales person enters orders for all our sales. He is listed as the customer for all the orders in the backend under &quot;Customer&quot;. Is there a way to replace the...")*

I do not know how to do that. I tried changing the existing code, which did not work. So, I replaced the original code. And now, the listing does not appear at all. I get this error message: "Parse error: syntax error, unexpected '&lt;' in /home/kurtsnow/public_html/kingsofkustoms.com/administrator/templates/bluestork/html/com_hikashop/order/listing.php on line 116" I checked line 116 and I cannot figure out the problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0MzQzLWNoYW5nZS1maWVsZHMtaW4tb3JkZXJzLWJhY2tlbmQ/c3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

14 years 10 months ago [\#34746](#34746) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Change fields in orders backend](/forum/4-how-to/34343-change-fields-in-orders-backend#34746 "I use HikaShop for wholesale orders. Our sales person enters orders for all our sales. He is listed as the customer for all the orders in the backend under &quot;Customer&quot;. Is there a way to replace the...")*

If you want to revert your changes, please go in the menu Display-&gt;Views and click on the delete icon in the "remove customization" column for the view file you edited and your modifications will be reverted and it should work again.

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

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

Less More

- Posts: 20
- Thank you received: 0
-
-

14 years 10 months ago [\#34953](#34953) by [kurtsnow](/forum/user/4862-kurtsnow "View kurtsnow's Profile")  Replied by *[kurtsnow](/forum/user/4862-kurtsnow "View kurtsnow's Profile")* on topic *[Re: Change fields in orders backend](/forum/4-how-to/34343-change-fields-in-orders-backend#34953 "I use HikaShop for wholesale orders. Our sales person enters orders for all our sales. He is listed as the customer for all the orders in the backend under &quot;Customer&quot;. Is there a way to replace the...")*

Thanks. It now displays fine. So, back to my original problem. How do I ...

"load it with a MySQL query and then you would be able to display the address company.

You can do that in the file "listing" of the view "order" of the back end via the menu Display-&gt;Views"

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0MzQzLWNoYW5nZS1maWVsZHMtaW4tb3JkZXJzLWJhY2tlbmQ/c3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

14 years 10 months ago [\#34985](#34985) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Change fields in orders backend](/forum/4-how-to/34343-change-fields-in-orders-backend#34985 "I use HikaShop for wholesale orders. Our sales person enters orders for all our sales. He is listed as the customer for all the orders in the backend under &quot;Customer&quot;. Is there a way to replace the...")*

You can try something like that:

$addressClass = hikashop_get('class.address');
$address = $addressClass-&gt;get($row-&gt;order_billing_address_id);
echo $address-&gt;address_company;

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

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

Less More

- Posts: 20
- Thank you received: 0
-
-

14 years 10 months ago [\#34992](#34992) by [kurtsnow](/forum/user/4862-kurtsnow "View kurtsnow's Profile")  Replied by *[kurtsnow](/forum/user/4862-kurtsnow "View kurtsnow's Profile")* on topic *[Re: Change fields in orders backend](/forum/4-how-to/34343-change-fields-in-orders-backend#34992 "I use HikaShop for wholesale orders. Our sales person enters orders for all our sales. He is listed as the customer for all the orders in the backend under &quot;Customer&quot;. Is there a way to replace the...")*

I entered this code:

&lt;?php
$addressClass = hikashop_get('class.address');
$address = $addressClass-&gt;get($row-&gt;order_billing_address_id);
echo $address-&gt;address_company;
?&gt;

to replace this line:
&lt;?php echo $this-&gt;order-&gt;customer-&gt;name.' ('.$this-&gt;order-&gt;customer-&gt;username.')'; ?&gt;

And it does not work

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0MzQzLWNoYW5nZS1maWVsZHMtaW4tb3JkZXJzLWJhY2tlbmQ/c3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

14 years 10 months ago [\#34996](#34996) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Change fields in orders backend](/forum/4-how-to/34343-change-fields-in-orders-backend#34996 "I use HikaShop for wholesale orders. Our sales person enters orders for all our sales. He is listed as the customer for all the orders in the backend under &quot;Customer&quot;. Is there a way to replace the...")*

There is no such code in the file "listing" of the view "order" of the back end.
You're not editing the correct view file.

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

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

Less More

- Posts: 20
- Thank you received: 0
-
-

14 years 10 months ago [\#34998](#34998) by [kurtsnow](/forum/user/4862-kurtsnow "View kurtsnow's Profile")  Replied by *[kurtsnow](/forum/user/4862-kurtsnow "View kurtsnow's Profile")* on topic *[Re: Change fields in orders backend](/forum/4-how-to/34343-change-fields-in-orders-backend#34998 "I use HikaShop for wholesale orders. Our sales person enters orders for all our sales. He is listed as the customer for all the orders in the backend under &quot;Customer&quot;. Is there a way to replace the...")*

And that would be .... ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0MzQzLWNoYW5nZS1maWVsZHMtaW4tb3JkZXJzLWJhY2tlbmQ/c3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

14 years 10 months ago [\#35005](#35005) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Change fields in orders backend](/forum/4-how-to/34343-change-fields-in-orders-backend#35005 "I use HikaShop for wholesale orders. Our sales person enters orders for all our sales. He is listed as the customer for all the orders in the backend under &quot;Customer&quot;. Is there a way to replace the...")*

The file "listing" of the view "order" of the back end.

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

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

Less More

- Posts: 20
- Thank you received: 0
-
-

14 years 10 months ago [\#35064](#35064) by [kurtsnow](/forum/user/4862-kurtsnow "View kurtsnow's Profile")  Replied by *[kurtsnow](/forum/user/4862-kurtsnow "View kurtsnow's Profile")* on topic *[Re: Change fields in orders backend](/forum/4-how-to/34343-change-fields-in-orders-backend#35064 "I use HikaShop for wholesale orders. Our sales person enters orders for all our sales. He is listed as the customer for all the orders in the backend under &quot;Customer&quot;. Is there a way to replace the...")*

That worked. Thank you.

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

- **[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")
- [ Away](/forum/user/916-mohairbears)

Less More

- Posts: 611
- Thank you received: 13
-

14 years 9 months ago [\#37671](#37671) by [mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")  Replied by *[mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")* on topic *[Re: Change fields in orders backend](/forum/4-how-to/34343-change-fields-in-orders-backend#37671 "I use HikaShop for wholesale orders. Our sales person enters orders for all our sales. He is listed as the customer for all the orders in the backend under &quot;Customer&quot;. Is there a way to replace the...")*

Hi, I want to do something similar to this thread.

Can an extra field be inserted to show the shipping cost or shipping method name?

thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0MzQzLWNoYW5nZS1maWVsZHMtaW4tb3JkZXJzLWJhY2tlbmQ/c3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

14 years 9 months ago [\#37789](#37789) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Change fields in orders backend](/forum/4-how-to/34343-change-fields-in-orders-backend#37789 "I use HikaShop for wholesale orders. Our sales person enters orders for all our sales. He is listed as the customer for all the orders in the backend under &quot;Customer&quot;. Is there a way to replace the...")*

Where do you want to display that ?
The listing of orders ? The orders information ? The invoice ? On the front end or the back end ?

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

- **[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")
- [ Away](/forum/user/916-mohairbears)

Less More

- Posts: 611
- Thank you received: 13
-

14 years 9 months ago [\#37814](#37814) by [mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")  Replied by *[mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")* on topic *[Re: Change fields in orders backend](/forum/4-how-to/34343-change-fields-in-orders-backend#37814 "I use HikaShop for wholesale orders. Our sales person enters orders for all our sales. He is listed as the customer for all the orders in the backend under &quot;Customer&quot;. Is there a way to replace the...")*

Administration, orders, same place as the screen dump higher up this thread.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM0MzQzLWNoYW5nZS1maWVsZHMtaW4tb3JkZXJzLWJhY2tlbmQ/c3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

14 years 9 months ago [\#37977](#37977) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Change fields in orders backend](/forum/4-how-to/34343-change-fields-in-orders-backend#37977 "I use HikaShop for wholesale orders. Our sales person enters orders for all our sales. He is listed as the customer for all the orders in the backend under &quot;Customer&quot;. Is there a way to replace the...")*

Yes you can do that by editing the file "listing" of the view "order" of the back end via the menu Display-&gt;Views.
The shipping method information is in $row-&gt;order_shipping_id (you will have to load the shipping information from the database to display the name:
$class = hikashop_get('class.shipping');
$shipping = $class-&gt;get($row-&gt;order_shipping_id);
echo $shipping-&gt;shipping_name;

and the shipping cost is in: $row&gt;-&gt;order_shipping_price.

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

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