Quote Originally Posted by FuzzyBunny View Post
I'm thinking that maybe the admin side to change or update the delivery date should be a button next to the order in the order list (like the 'e' on the orders screen or the 'i' or 'p' on the superorders screen).

So . . . like the 'i' button opens a new window, or in super orders has a new window pop-up inside the details screen for some functions.

Maybe a 'd' button to click, pop-up opens, select new date, press submit/update button, writes to database, refreshes screen with new date.

What are your thoughts on this mrmeech??? Trying to work out the best way to spend my efforts on seeing if I can get something up that everyone can benefit from.

Thanks in advance, Max
Max,

So basically you want to add functionality to the admin side of zen cart so that an administrator can update the delivery date?

I have never used the superorders contribution, but the edit_orders.php page sounds like that is part of it. Zen cart doesn't not natively have a php file with that name (that i know of). Is this correct?

As far as writing code to update the date goes, you don't HAVE to use the "for" loop code. The only thing the database cares about is that the format of the date is precisely what it expects (which is the "date" data type) when you update the database record. Personally i would stay away from popup windows simply because they are frequently blocked by the browser or other software. I have started casually looking into javascript date picking software to MAYBE replace the dropdown list on the order checkout -- maybe a javascript calendar could be part of the solution to the superorder functionality?

In a week or two i plan on starting work on the next revision of the Order Delivery Date contribution. In the mean time i have been dumping hours of time into getting a PHPList mod for ZC working. If you are able to get code for superorders to work let me know and i'll gladly include it in the update.

Let me know if there's anything else i can help with-