When adding a new order while under administrator, /Admin/Orders/PlaceOrder2.aspx, I was wondering if there would be a way to search for a user by phone number. Just browsing the Commerce API I see a way to search Email and Username.
Is there away to add this functionality without buying the source code and recompiling?
Thanks so much!
search by phone number
search by phone number
Last edited by garyb on Tue Jan 13, 2009 5:07 pm, edited 1 time in total.
- compunerdy
- Admiral (ADM)
- Posts: 1283
- Joined: Sun Nov 18, 2007 3:55 pm
Re: search by phone number
I would love to see more search options added.. phone, part of addres, etc..
Re: search by phone number
Yes it is possible to accomplish this job without access to API source code but you will have to write your own search routines.Is there away to add this functionality without buying the source code and recompiling?
The phone number information is available with user addresses. You will need to write a query that joins addresses table to users table along with checks for your search criteria.
Re: search by phone number
You could check the code from Admin/People/Users/Default.aspx where user search functionality is a bit more advanced than on PlaceOrder2.aspx page. You can adapt some of it in your code.