![]() |
Re: Direct access to orders and items
1 Attachment(s)
This is a great little mod!
I liked the idea of having it in the header area, but my search needs are a little different so I made some changes. Firstly, I would never use it for searching for a product, so I didn't need that part. I just need to search orders frequently. Sometimes I have an order number, but sometimes I only have a name and vague idea of time, or just a name with no idea of time. So mine now sits in the header with a field for order number, a field for name, and radio buttons for time periods. There's no submit button since you can just hit enter. I should also mention that I never use the language selector that appears in that area of the header, so I actually replaced it with the order search. If you use the language selector, be aware that this will make it go away. I don't know how some people are making images appear in their posts, since the img tag doesn't seem to do it, but here's a link to a snapshot: http://forum.x-cart.com/attachment.php?attachmentid=659&stc=1&d=1196193934 Snap1.jpg To do this, I edited skin1/head_admin.tpl. Find the following snippet. If you haven't already modified the file you should find it at lines 15-37, but just be sure you are looking at the whole table row (the <tr> before the '{if' all the way through to the </tr> that comes after the {else}): Code:
<tr> Replace that entire snippet with this one: (After backing up the original, of course) Code:
<tr> (By the way, I did this in version 4.1.9. Your mileage may vary in other versions.) Marshall |
Re: Direct access to orders and items
Marshall - works great! Thanks!
|
Re: Direct access to orders and items
The same one can do with USERS.
Just put this line in. <form action="user_modify.php"> User: <input type="text" name="user"> <input type="hidden" name="usertype" value="C"> <input type="submit" value=" Find "> </form> :) Regards. |
Re: Direct access to orders and items
I've noticed that the first time I do a search by order number it often tells me that I don't have access to that area, but doesn't log me out. Just re-doing the exact same search then works fine. Has anybody else seen this? Anybody have any idea what might be causing it?
Marshall |
Re: Direct access to orders and items
worked perfectly for me- thanks for such a necessary mod!
|
Re: Direct access to orders and items
Quote:
Yes, a space. Make sure there are no spaces before or after your order id #. Happens to me all the time when I'm searching orders to put in tracking #'s. Every time I think Oh @#$%@#$!!!!, and waste another few seconds. I've gotten much better at selecting when I copy/paste. |
Re: Direct access to orders and items
Still would love to be able to search by the customers tracking number as well....
|
Re: Direct access to orders and items
Anyone know how to set this up to direct access to a product using an Extra Field (manufacturer model number in my case).
WH |
Re: Direct access to orders and items
Quote:
I wont have time to try & work on this until this weekend. I think this will be harder to make because this is a dynamic field. I am sure I will have to hard code the Extra Field index key or something. I will post sometime on Sunday when I have something. |
Re: Direct access to orders and items
Sweet mod! It was so simple to do that I took the 5 minutes to install in in the working site that we are planning to upgrade soon. So I can vouch it works in 4.0.19 and 4.1.8. Both times I just followed the instructions in post #21.
|
All times are GMT -8. The time now is 02:09 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.