| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Search by OrderId or Name | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
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:
__________________
Carl Tice X-Cart 4.6.6 X-Payments 3.0 ReBOOT 3.4.1 PHP 5.6.30 MySQL 5.6.35 Linux 2.6.32-042stab120.18 ionCube PHP Loader v4.7.3 Perl 5.10.1 |
|||||||||
|
#2
|
|||||||||
|
|||||||||
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:
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.
__________________
X-Cart version 5 (Previously 3.5-4) Previous Versions included BCSE Reward Points Mod Altered Cart On Sale Mod Wordpress Plugin Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there. Shout me a Coffee! |
|||||||||
#3
|
|||||||||
|
|||||||||
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:
I didn't see any difference.
__________________
Carl Tice X-Cart 4.6.6 X-Payments 3.0 ReBOOT 3.4.1 PHP 5.6.30 MySQL 5.6.35 Linux 2.6.32-042stab120.18 ionCube PHP Loader v4.7.3 Perl 5.10.1 |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: Search by OrderId or Name
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:
and the css: Code:
__________________
X-Cart version 5 (Previously 3.5-4) Previous Versions included BCSE Reward Points Mod Altered Cart On Sale Mod Wordpress Plugin Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there. Shout me a Coffee! Last edited by amy2203 : 07-04-2010 at 10:12 PM. Reason: add screenshot |
|||||||||
#5
|
|||||||||
|
|||||||||
Re: Search by OrderId or Name
Ah - got it - I had screwed up the class name... I like your idea better. Thanks for contributing.
__________________
Carl Tice X-Cart 4.6.6 X-Payments 3.0 ReBOOT 3.4.1 PHP 5.6.30 MySQL 5.6.35 Linux 2.6.32-042stab120.18 ionCube PHP Loader v4.7.3 Perl 5.10.1 |
|||||||||
#6
|
|||||||||
|
|||||||||
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.
__________________
Carl Tice X-Cart 4.6.6 X-Payments 3.0 ReBOOT 3.4.1 PHP 5.6.30 MySQL 5.6.35 Linux 2.6.32-042stab120.18 ionCube PHP Loader v4.7.3 Perl 5.10.1 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|