3 replies [Last post]
Sansui's picture
Offline
Joined: 06/05/2008
Juice: 154
Was this information Helpful?

We're using an installation of ubercart where the admin simply invoices users as needed. We would like to be able to use Views for him to search his user list, which would include a link for each user to quickly create an order with the correct user id already selected, and not have to use UC's customer finding widget.

Is this relatively simple? I couldn't find any documentation on this

Sansui's picture
Offline
Joined: 06/05/2008
Juice: 154
Re: Using a link with uid to create order for customer? Like - /

This actually used to work in old 5.x versions. admin/store/orders/create/uid would take you to an order creation page with the proper user selected.

From looking at the current form action, I tried - admin/store/orders/create/?uid=54, but this doesn't do anything. I'm assuming ubercart will only accept the value from the form now instead of from the url? Is there a way around that?

rmarques's picture
Offline
Joined: 09/09/2010
Juice: 15
Re: Using a link with uid to create order for customer? Like - /

I'm interested in this too... did you find a solution?

Sansui's picture
Offline
Joined: 06/05/2008
Juice: 154
Yes, I did actually. You can

Yes, I did actually.

You can find it at the end of this forum thread -> http://www.ubercart.org/forum/development/5647/create_new_order_user_page
Requires a small hack to core files unfortunately