Results 1 to 10 of 544

Hybrid View

  1. #1
    Join Date
    Nov 2008
    Posts
    33
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    I figured out the problem regarding skipping the shipping information page in checkout.

    Now my question is how can you display the date based off your server and not the workstation? Any help is greatly appreciated.

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

    Default Re: Order Delivery Date Support Thread

    Hi guys -- there is something wrong with my email notification of this thread because i was JUST notified that there was another thread posting since the last time i posted, and there have been a number of you that have since asked questions. Give me a few days to get back to you guys because i'm currently on the road until... tuesday??

    Thanks!!

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

    Default Re: Order Delivery Date Support Thread

    Quote Originally Posted by FoodDudes View Post
    Now my question is how can you display the date based off your server and not the workstation?
    Which date are you referring to? The date that shows up on the shipping page in the popup calendar? The date on the orders page in the admin?..

  4. #4
    Join Date
    Nov 2008
    Posts
    33
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    Quote Originally Posted by mrmeech View Post
    Which date are you referring to? The date that shows up on the shipping page in the popup calendar? The date on the orders page in the admin?..
    I am referring to the start date in the calender on the shipping page. If the date on you workstation is incorrect the start date is incorrect. I would like to know where I can change the date to be based off the server date, not the workstations date

    Thanks

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

    Default Re: Order Delivery Date Support Thread

    Quote Originally Posted by FoodDudes View Post
    I am referring to the start date in the calender on the shipping page. If the date on you workstation is incorrect the start date is incorrect. I would like to know where I can change the date to be based off the server date, not the workstations date
    Hey - I looked into seeing if this could be done easily, and the short answer is No.

    In general - Javascript (which is what the calendar is created with) is a client-side technology. NOT a server-side technology. There are ways to get the server's date to javascript via a PHP file, but once you do that you run into another problem -- the whole JS calendar framework is designed to use the date() object, so in order to do this, you'd have to do a major reworking of the code. And that is a big task.

    If having the server's time is a major issue for you, i would suggest looking in to PHP calendars. What you can do then is cut out the javascript calendar code and place your PHP calendar in it's place on the checkout_shipping page. The whole Includes/Modules/Pages/Checkout_Shipping folder, except for header_php.php, is for the javascript delivery date calendar. And in your template folder in tpl_checkout_shipping_default.php you will see where the Order Delivery Date code is to replace with the PHP calendar.

    Hope you can make sense of all that!!

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

    Default Re: Order Delivery Date Support Thread

    Hey folks -

    I need a little help from you guys!

    I've been working on the delivery date contribution for the last day and a half and have made some significant improvements to the code. However, i have a little collateral damage from my changes and i'm having an impossible time troubleshooting an email issue that has occurred.

    I would love it if someone, or more than one person, is willing to take a look at the code and give me a hand to get this much updated release out. Having an understanding of zen cart's code is important.

    Thanks!

  7. #7
    Join Date
    Feb 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    Excellent contribution Meech, the delivery date is essential for my business. A question: is it possible to set up a system where people who request Saturday delivery are charged more than Monday-Friday delivery dates? FedEx charges additional for Saturday delivery so, it would be nice to establish that.

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

    Default Re: Order Delivery Date Support Thread

    Quote Originally Posted by djrutsch View Post
    Excellent contribution Meech, the delivery date is essential for my business. A question: is it possible to set up a system where people who request Saturday delivery are charged more than Monday-Friday delivery dates? FedEx charges additional for Saturday delivery so, it would be nice to establish that.
    Hey djrutsch,

    To have this functionality based off of the calendar, where if a user selects a Saturday delivery date they are charged more, is a bit of a task. This may become much easier to do when zen cart 2.0 is released and will be 100% (or close to) object oriented code.

    There are a few stop-gag options for you:

    • Disable all Saturdays on the calendar from being active, so that it cannot be chosen as a delivery date.
    • or; Add an attribute to your product pages that forces (ie: a required field) the user to select either a weekday OR saturday delivery before getting to the checkout. For the weekday attribute you can leave it as $0, and for the saturday attribute you can set it to whatever additional amount you'd like to charge. When they get to the shipping page they then select which day of the week or which saturday they would like for delivery.

    I can help you with either of the above two options if you need assistance, as they are easy and quick to do.

 

 

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