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

#   Adding an order on the backend

##

- **[daveturner101](/forum/user/13550-daveturner101 "View daveturner101's Profile")**
- [![daveturner101's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/guitar.gif)](/forum/user/13550-daveturner101 "View daveturner101's Profile") Topic Author
- [ Offline](/forum/user/13550-daveturner101)

Less More

- Posts: 72
- Thank you received: 0
-
-

13 years 8 months ago [\#92438](#92438) by [daveturner101](/forum/user/13550-daveturner101 "View daveturner101's Profile")  *[Adding an order on the backend](/forum/4-how-to/78828-adding-an-order-on-the-backend#92438 "hi,  when manually adding an order to the backend does the customer already have to exist in joomla in order to add them?  is there no way of manually entering name and address info while on the add order page?  thanks")* was created by *[daveturner101](/forum/user/13550-daveturner101 "View daveturner101's Profile")*

hi,

when manually adding an order to the backend does the customer already have to exist in joomla in order to add them?

is there no way of manually entering name and address info while on the add order page?

thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4ODI4LWFkZGluZy1hbi1vcmRlci1vbi10aGUtYmFja2VuZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 8 months ago [\#92459](#92459) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Adding an order on the backend](/forum/4-how-to/78828-adding-an-order-on-the-backend#92459 "hi,  when manually adding an order to the backend does the customer already have to exist in joomla in order to add them?  is there no way of manually entering name and address info while on the add order page?  thanks")*

Hi,

The customer must exist, because we use the customer id for the address, and in the order table.
If we create orders without existing customern then when any change is made on the order it will return a 500 error, or another error.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4ODI4LWFkZGluZy1hbi1vcmRlci1vbi10aGUtYmFja2VuZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[inkinick](/forum/user/13267-inkinick "View inkinick's Profile")**
- [![inkinick's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-03-12-2.png)](/forum/user/13267-inkinick "View inkinick's Profile")
- [ Offline](/forum/user/13267-inkinick)

Less More

- Posts: 5
- Thank you received: 0
-
-
-
- [](http://www.inkguard.net)
-

13 years 7 months ago [\#94136](#94136) by [inkinick](/forum/user/13267-inkinick "View inkinick's Profile")  Replied by *[inkinick](/forum/user/13267-inkinick "View inkinick's Profile")* on topic *[Adding an order on the backend](/forum/4-how-to/78828-adding-an-order-on-the-backend#94136 "hi,  when manually adding an order to the backend does the customer already have to exist in joomla in order to add them?  is there no way of manually entering name and address info while on the add order page?  thanks")*

Hi,

when adding an order in the backend the user selection dropdown displays E-mail / user_id. Is it possible to see Username in this dropdown?

Thanks,

Nick

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4ODI4LWFkZGluZy1hbi1vcmRlci1vbi10aGUtYmFja2VuZD90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

13 years 7 months ago [\#94152](#94152) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Adding an order on the backend](/forum/4-how-to/78828-adding-an-order-on-the-backend#94152 "hi,  when manually adding an order to the backend does the customer already have to exist in joomla in order to add them?  is there no way of manually entering name and address info while on the add order page?  thanks")*

Hi,

There is no option for that.
It would require to change the code of the file administrator/components/com_hikashop/types/user.php
You would need to change:
$query = 'SELECT user_id,user_email FROM '.hikashop_table('user');

to:
$query = 'SELECT a.user_id,b.username FROM '.hikashop_table('user').' AS a LEFT JOIN #__users AS b ON a.user_cms_id=b.id';

and:
$this-&gt;values[] = JHTML::_('select.option', (int)$user-&gt;user_id, $user-&gt;user_email. ' ' .$user-&gt;user_id );

to:
$this-&gt;values[] = JHTML::_('select.option', (int)$user-&gt;user_id, $user-&gt;username. ' ' .$user-&gt;user_id );

The following user(s) said Thank You: [inkinick](/forum/user/13267-inkinick "View inkinick's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4ODI4LWFkZGluZy1hbi1vcmRlci1vbi10aGUtYmFja2VuZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[inkinick](/forum/user/13267-inkinick "View inkinick's Profile")**
- [![inkinick's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-03-12-2.png)](/forum/user/13267-inkinick "View inkinick's Profile")
- [ Offline](/forum/user/13267-inkinick)

Less More

- Posts: 5
- Thank you received: 0
-
-
-
- [](http://www.inkguard.net)
-

13 years 7 months ago [\#94191](#94191) by [inkinick](/forum/user/13267-inkinick "View inkinick's Profile")  Replied by *[inkinick](/forum/user/13267-inkinick "View inkinick's Profile")* on topic *[Adding an order on the backend](/forum/4-how-to/78828-adding-an-order-on-the-backend#94191 "hi,  when manually adding an order to the backend does the customer already have to exist in joomla in order to add them?  is there no way of manually entering name and address info while on the add order page?  thanks")*

Hi nicolas,

this worked fine for me. Thanks for excellent &amp; prompt support.

Nick

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4ODI4LWFkZGluZy1hbi1vcmRlci1vbi10aGUtYmFja2VuZD90bXBsPW1hcmtkb3du) or [Create an account](/register) 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.089 seconds

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