Page 1 of 1

In admin window, how to add a column to admin orders

Posted: 26 Oct 2016, 20:23
by alfredlaggner
I am designing a store pickup system. After customer orders products they come to the store to pick up the order. In order to find the order, I need their name in the order column. I could not find a class that does it. How can this be done?

Re: In admin window, how to add a column to admin orders

Posted: 27 Oct 2016, 12:23
by aimeos
Where do you exactly want to add this information? Could you post a screenshot?

Re: In admin window, how to add a column to admin orders

Posted: 27 Oct 2016, 12:45
by alfredlaggner
Attached is a screen shot

Re: In admin window, how to add a column to admin orders

Posted: 28 Oct 2016, 13:20
by aimeos
As editor you can search for names in the administration interface if you add a line in the search bar with "Order base address lastname" for example.

If you need to add the name of the payment address to the list, you have to extend from the class https://github.com/aimeos/ai-admin-exta ... andard.php, add your own searchItems() method (use https://github.com/aimeos/ai-admin-exta ... se.php#L98 as base) and overwrite the ExtJS list view (https://github.com/aimeos/ai-admin-exta ... /ListUi.js).

An alternative would be to create your own order panel in the simplified admin interface, which is much easier because it's only PHP, HTML and JS:
- http://admin.demo.aimeos.org/default/jq ... ct?lang=en
- https://github.com/aimeos/ai-admin-jqad ... dmin/jqadm

Re: In admin window, how to add a column to admin orders

Posted: 30 Oct 2016, 23:50
by alfredlaggner
My I suggest a change in your administrator program and add "name" or "last name" as an optional column to extend the order view. You already have I would not be surprised the more users will see this a welcome extension. The list of orders as it right now looks very inaccessible.
:)
Let me know what you think.

Re: In admin window, how to add a column to admin orders

Posted: 31 Oct 2016, 18:12
by aimeos
We want to focus more on extending the simplified JQAdm interface to get a better usability. It's rather hard in the ExtJS based expert mode.