![]() |
Search by OrderId or Name
Ok - This was something we had in our old 4.1.8 X Cart. Makes looking up customer's orders much easier.
Edit skin1/head_admin.tpl Around line 55 - just past this code: Code:
but before: Code:
Insert this code: Code:
Now you will be able to look up your customer's Order by their orderid or last name. If you do not mind it being a little crowded you can also insert this in there to quickly search for a product: Code:
<form method="post" action="search.php" name="searchform"> |
Re: Search by OrderId or Name
great mod, I think this will be very useful.
I also added a class to the form elements (class="inlineform") and added this css to the skin1_admin.css file Code:
.inlineform { so now it all fits in one line in the top bar. I'm also thinking of adding a customer search here as well maybe. Thanks for a great mod. |
Re: Search by OrderId or Name
Since I am a newb to the .css stuff, I added the lines to the css file, and then I tried to put the class call inside the form element...?
Like this... Code:
<form class="inlineform" method="post" action="search.php" name="searchform"> I didn't see any difference. |
Re: Search by OrderId or Name
1 Attachment(s)
are all the forms in 1 line? your's might have been like that anyway, I'm only on 4.1.12, here's my head_admin bit:
Code:
{* Search by OrderId or Customer Name *} and the css: Code:
.inlineform { |
Re: Search by OrderId or Name
Ah - got it - I had screwed up the class name... I like your idea better. Thanks for contributing.
|
Re: Search by OrderId or Name
Update for people running 4.5.5:
First, I will acknowledge that this is not ideal. I still have not figured out how to get this where I want it - but at least it works. Ideally, I would love to see this in the black bar at the top of the page to the right of the Goodies tab and under the Search Keywords input box. If you can figure it out, please post it here. 1. Make a new file and place it in the the /skin/common_files/admin directory. I called mine my_search.tpl. 2. Copy the above posted code for whatever search stuff you want. 3. Edit the /common_files/single/menu_box.tpl and on the very last line in that file put : {include file="admin/my_search.tpl"} That is it! Its ugly - I know this already. But it works. |
All times are GMT -8. The time now is 11:57 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.