Results 1 to 10 of 544

Hybrid View

  1. #1
    Join Date
    Sep 2007
    Posts
    27
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    Quote Originally Posted by mrmeech View Post
    Velvetangels,

    So you DID wind up cutting out this line of code from the shipping_default page (to fix the double button problem) for both the ship date and cancel date:

    PHP Code:
    <button class="calendar" type="button"></button

    Correct?
    MrMeech,

    Ya I had to delete

    PHP Code:
    <button class="calendar" type="button"></button
    on the shipping_default page. It looks like adding it onto the input allows it to show the button anyways.

    I tried to test it out and i am not getting any values to post through to other pages. I enter the dates on the shipping_default page and when i get to the Confirmation page it only has
    Desired Delivery Date

    (Year - Month - Day)

    Desired Cancel Date

    (Year - Month - Day)
    Going to try to work more though it today.

    I attached the code that I have already edited if you want to take a look too.
    Attached Files Attached Files

  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 velvetangels View Post
    ...

    I tried to test it out and i am not getting any values to post through to other pages.

    ...
    I looked over the files you attached, and the only immediately apparent errors were in the includes/classes/order.php around line 950-ish in the email section. I'll attach the file with the corrections.

    Also it appears you have not yet edited the files in the email directory- if ya don't do that the info will never make it onto the actual emails generated to the customer.
    Attached Files Attached Files

  3. #3
    Join Date
    Sep 2007
    Posts
    27
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    Quote Originally Posted by mrmeech View Post
    I looked over the files you attached, and the only immediately apparent errors were in the includes/classes/order.php around line 950-ish in the email section. I'll attach the file with the corrections.

    Also it appears you have not yet edited the files in the email directory- if ya don't do that the info will never make it onto the actual emails generated to the customer.
    I think there is something else wrong with the script. I tried to install a fresh version on zencart and it never did pull the values all the way through to the confirmation page.

  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 velvetangels View Post
    I think there is something else wrong with the script. I tried to install a fresh version on zencart and it never did pull the values all the way through to the confirmation page.
    I will look into this right away.

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

    Default Re: Order Delivery Date Support Thread

    Velvetangels,

    You are right. I made changes from version 1 to version 2 (which is where i believe this happened) on a clean 138 install and somewhere in bringing the files to the community i botched something. It's quite frustrating because i have a working version of the calendar mod on a server and i've been trying to figure out what happened. I even have some awesome file compare tools that outline line by line changes to help and i'm still stumped.

    Gotta head to bed but i'll work on this more tomorrow. I need to sleep on it.

    Have you been working with a 138, or 138a version of ZC?

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

    Default Re: Order Delivery Date Support Thread

    I FOUND IT!!!! I shut down my computer, and sat for a second (after all these hours of hunting for it)...had an epiphany... and turned it back on and found it in a second. Study the two blocks of code, and you'll figure it out. It was tpl_checkout_shipping_defualt.php that was causing the problem.

    Delivery Date version 2:
    PHP Code:
    <!-- Bof Ship Date -->
    <fieldset class="shipping" id="order_delivery_date">
    <legend><?php echo TABLE_HEADING_DELIVERY_DATE?></legend>

    <label for="date">Date</label>
    <input class="calendar" readonly="readonly" id="date" name="date" type="text">
    </fieldset>
    <!-- Eof Ship Date -->
    And what it SHOULD be:
    PHP Code:
    <!-- Bof Order Delivery Date -->
    <fieldset class="shipping" id="order_delivery_date">
    <legend><?php echo TABLE_HEADING_DELIVERY_DATE?></legend>

    <label for="order_delivery_date">Date:</label>
    <input readonly="readonly" id="date" name="order_delivery_date" type="text">
    </fieldset>
    <!-- Eof Order Delivery Date -->
    how stupid.

  7. #7
    Join Date
    May 2008
    Location
    California
    Posts
    3
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    Thank you! Version 2.2 works beautifully! The date came over perfectly.

    Thank you so much for this mod. It's what I've been looking for over the course of several months. It's perfect for a flower shop website.

 

 

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