Results 1 to 10 of 543

Threaded View

  1. #11
    Join Date
    Jul 2004
    Posts
    5
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    mrmeech, awesome mod!

    However, I've had two issues. Fixed one, still stumped on the other.

    1) I noticed that, if you place and complete an order with a selected delivery date, then in the same session place a second order, but leave the delivery date blank, the 2nd order will store the same delivery date that you entered on the first order.

    Figured out that this was due to the Order Delivery Date being stored in a session variable, along with other order-related data, but that (unless I screwed up the install!), the delivery date session variable is never cleared like the others are. So, I made the following change to includs\modules\pages\checkout_process\header_php.php ...

    // unregister session variables used during checkout
    unset($_SESSION['sendto']);
    unset($_SESSION['billto']);
    unset($_SESSION['shipping']);
    unset($_SESSION['payment']);
    unset($_SESSION['comments']);
    unset($_SESSION['order_delivery_date']); //<- added this line
    $order_total_modules->clear_posts();//ICW ADDED FOR CREDIT CLASS SYSTEM


    That seemed to fix the problem.

    2. If a customer doesn't select a delivery date, I've verified that the field is NULL in the table. The date is also blank in all relevant emails. However, on the Admin Orders pages, any orders with a blank (NULL) delivery date appear with the delivery date 11/30/1999. Again, if a date WAS selected, the correct date appears. But if a date was NOT selected, and the table field is NULL, then the date 11/30/1999 appears, rather that it just being blank.

    Any ideas on this one?

    Thanks!
    Steve
    Last edited by plbs; 24 Jan 2009 at 12:52 AM. Reason: didn't finish entry

 

 

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR