Results 1 to 10 of 544

Hybrid View

  1. #1
    Join Date
    Sep 2007
    Location
    Melbourne Australia
    Posts
    60
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    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

  2. #2
    Join Date
    Nov 2006
    Location
    New York City
    Posts
    248
    Plugin Contributions
    1

    Default Re: Order Delivery Date Support Thread

    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-

  3. #3
    Join Date
    Sep 2007
    Location
    Melbourne Australia
    Posts
    60
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    mrmeech,

    Thanks for your time. You are correct about the files.

    The java thing sounds good as it gets away from a need for popups.

    The list seems very good and is very configurable once you understand how to include or not include days. It makes it very clear to the customer which day they can select for delivery.

    I was talking to my wife and she said it would probably be best having the ability to update the delivery date on the screen people use for editing or updating their orders - so I'm trying to make the code a simple cut and paste into the code for any screen people use to edit/update their orders.

    ***
    So . . how do I set the <select> value in the pull down list? I want the <select> value to be the current delivery date, so that people don't accidentally update it to the wrong date. Once that is done the code should be able to be placed anywhere people want to use it.
    ***

    Thanks again.

    Max

  4. #4
    Join Date
    Nov 2006
    Location
    New York City
    Posts
    248
    Plugin Contributions
    1

    Default Re: Order Delivery Date Support Thread

    Quote Originally Posted by FuzzyBunny View Post
    mrmeech,

    ...

    ***
    So . . how do I set the <select> value in the pull down list? I want the <select> value to be the current delivery date, so that people don't accidentally update it to the wrong date. Once that is done the code should be able to be placed anywhere people want to use it.
    ***

    Thanks again.

    Max
    Max,

    I have been thinking about this for a day or so now (..sometimes i let answers come to me through osmosis or something.. sort of like the bathroom effect when you realize something during your shower...) anyway.. the dates in that FOR loop are rendered based on the NOW variable, which inputs the current local date. You should be able to change the $now variable to select the order delivery date from the order array info array. This is assuming you don't go the route of the javascript calendar. Let me know if what you think..

  5. #5
    Join Date
    Sep 2007
    Location
    Melbourne Australia
    Posts
    60
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    Hey there mrmeech.

    Still not really doing it for me - - unfortunately most of my osmosis on this matter seems to be in the reverse, so no matter how much I put into the code it seems to be getting less and less likely I can get it to work suitably in the admin side as a pull down list.

    So . . how are you going with the java calander to add into the module? I like the pull down on the front end though! ;-)

    Do you have something that seems OK and can be stuck into my pages to see how it goes? Better to work on the same thing then head off in different directions - if I get it OK on the backend may be able to add it to the package?

  6. #6
    Join Date
    Nov 2006
    Location
    New York City
    Posts
    248
    Plugin Contributions
    1

    Default Re: Order Delivery Date Support Thread

    Quote Originally Posted by FuzzyBunny View Post
    Hey there mrmeech.

    Still not really doing it for me - - unfortunately most of my osmosis on this matter seems to be in the reverse, so no matter how much I put into the code it seems to be getting less and less likely I can get it to work suitably in the admin side as a pull down list.

    So . . how are you going with the java calander to add into the module? I like the pull down on the front end though! ;-)

    Do you have something that seems OK and can be stuck into my pages to see how it goes? Better to work on the same thing then head off in different directions - if I get it OK on the backend may be able to add it to the package?
    Sorry FuzzyBunny - I got off track this past week with work. (I am a freelance production guy in new york city and last week was insane. It's how i pay rent and eat!! And eating is certainly a priority.)

    Where are you with everything? Did you work out any of your own code?

  7. #7
    Join Date
    May 2004
    Posts
    766
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    I installed this mod then had to uninstall it when I found out that no one could get to order step 3 (in v1.37).

    I think part of the problem was an install of the gift wrapping mod which this client didn't need but that came as part of another mod which I did need for this client (if my memory is right..which it may not be!).

    Both the gift wrapping mod and the date mod use the same areas of code in some of the same files and I could not figure out completely how to make the two live happily together.

    So I uninstalled the date mod and resumed with our former method of customer date specification for this client. Client is a florist and while the method is not fancy, so far it works until I can get yours to reside happily on her site.

    We have it set up as an attribute in each product and it carries through very nicely into admin and into the email with the customers order so the florist knows the delivery date with no problem. We also have a second attribute set up for the greeting card.

    I know our simple system won't help any of you coders, but thought I would mention it as one never knows what may spark a thought. Sometimes bigger and better ideas came come from the thoughts of simple minds!!

    Here is an example of what this looks like in her store (and *I* didn't pick the colors in the store...the client did! lol):

    http://www.desertroseflorist.com/ind...products_id=53

    betty

 

 

Similar Threads

  1. order delivery date addon - date not showing in checkout
    By jagall in forum Addon Shipping Modules
    Replies: 4
    Last Post: 19 Oct 2017, 09:09 PM
  2. JK Order Exporter - Support Thread
    By eVelt in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 26 Sep 2015, 07:06 AM
  3. v151 Order Delivery date on Product Info Page
    By nicksab in forum General Questions
    Replies: 0
    Last Post: 30 Dec 2013, 03:23 AM
  4. Support Thread for JS Date Picker for options
    By eVelt in forum All Other Contributions/Addons
    Replies: 17
    Last Post: 5 Dec 2013, 05:44 AM
  5. Order Delivery Date Mod
    By fagriffin in forum Addon Shipping Modules
    Replies: 1
    Last Post: 11 Oct 2008, 04:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg