| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
multiple order status search in order management | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
multiple order status search in order management
xcart 4.0.13
include/orders.php Code:
the $data["status"] != array(""=>"1")) is so that the blank option can be selected to return any order status skin1/main/order_status.tpl Code:
adding the || $status entries ensures backwards compatibility with other scripts that use order_status.tpl skin1/main/orders.tpl Code:
name="posted_data[status][]" has an extra [] at the end to turn it into an array the html code to make it a multiple select is passed with the extra parameter On my order screen I have also moved the status selection box out of advanced order options up to the top to make it more accessible. suggestions welcome, for i am not a great php coder by any means
__________________
X-Cart 4.0.13 Gold |
|||||||
#2
|
|||||||
|
|||||||
this is great, works perfect in 4.0.18
__________________
----------------------- x-cart v4.7.6 [LIVE] x-cart v4.0.18 [retired 2004-2016] x-cart v3.5.13 [retired] x-cart v3.4.14 [retired] |
|||||||
|
#3
|
|||||||||
|
|||||||||
Make sure you have a back-up before trying this. I just got a blank page after making these changes.
__________________
Mary Lee ------------------- Dinner and a Murder Mystery Games http://www.dinnerandamurder.com x-cart version 4.7.5 / Mac OS 10.10.5 and Windows 8/10 sometimes - Ideal Responsive Template |
|||||||||
#4
|
|||||||
|
|||||||
Re: multiple order status search in order management
Hello,
I know this is an old thread - but it worked perfectly for me using 4.4.5. The only major changes were that the order_status.tpl and orders.tpl are in skin/common_files/main/. Moving the order status selection box up out of the advanced options was a good idea too. Thanks! |
|||||||
#5
|
|||||||
|
|||||||
Re: multiple order status search in order management
Still works in 4.7.6!
__________________
----------------------- x-cart v4.7.6 [LIVE] x-cart v4.0.18 [retired 2004-2016] x-cart v3.5.13 [retired] x-cart v3.4.14 [retired] |
|||||||
|
#6
|
|||||||
|
|||||||
Re: multiple order status search in order management
Seems a very basic and simple mod to apply, but it doesn't work for me in 4.6.4.
I should see a multiple select in orders search, right? |
|||||||
#7
|
|||||||||
|
|||||||||
Re: multiple order status search in order management
Do you see any changes?
Have you refreshed cache?
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#8
|
|||||||
|
|||||||
Re: multiple order status search in order management
Thank you pauldodman for you reply.
I cleaned up cache and tpl after file modification and upload with cleanup.php, I don't see a single difference in admin>order search>advanced order search. I should expect to have the order status field changed from drop down to multiple select (like order features), right? |
|||||||
#9
|
|||||||||
|
|||||||||
Re: multiple order status search in order management
I'm not sure.
In order_status.tpl Try changing: <select name="{$name}" {$extra}> to: <select name="{$name}" {$extra} multiple="multiple" size="9">
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#10
|
|||||||
|
|||||||
Re: multiple order status search in order management
With the correction you suggesterd it works, thanks.
But in admin now every order listed has a multple select, while should be in that way only in search, not in order list. Do you have any kind suggestion also for this? |
|||||||
|
|||
X-Cart forums © 2001-2020
|