Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 29
  1. #11
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: HOW TO: Add a desired shipping date field to order form [description]

    Please add your modules to the Downloads Section.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

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

    Default Re: HOW TO: Add a desired shipping date field to order form [description]

    Quote Originally Posted by Bey12 View Post
    Based on this post and some others, I've posted net terms, start order date and start and cancel order date modules.
    I concur with Kim - this is a fantastic (and simple) mod and will have a warm welcome to the downloads section.

  3. #13
    Join Date
    Mar 2008
    Posts
    2
    Plugin Contributions
    0

    Have a Drink Re: HOW TO: Add a desired shipping date field to order form [description]

    It's now in the Downloads section over here

    Included in the zip file are two folders with separate modules - one is for adding only the Ship Order Date and the other is to add both Ship Order and Cancel Order Date.
    ##############################___
    **********************************
    Bey12 Consulting

  4. #14
    Join Date
    Apr 2007
    Location
    Nijmegen, Netherlands
    Posts
    44
    Plugin Contributions
    0

    Default Re: HOW TO: Add a desired shipping date field to order form [description]

    Great! I haven't had time yet to compile this into a distributable contribution.

    Thanks for this contribution, James!
    Kind Regards,
    Peter Martin, Joomla specialist
    www.db8.nl

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

    Default Re: HOW TO: Add a desired shipping date field to order form [description]

    Quote Originally Posted by pe7er View Post
    Great! I haven't had time yet to compile this into a distributable contribution.

    Thanks for this contribution, James!
    Hey Everyone -

    I have applied this mod to a site and found that it still needs a bit of work - but it has an Excellent start!

    So, first thing that i'd like to tackle is the fact that the emails are not including the delivery date.

    I'm hopeing that someone would be able to explain how and where the email arrays are formed. Anyone?

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

    Default Re: HOW TO: Add a desired shipping date field to order form [description]

    Quote Originally Posted by mrmeech View Post
    Hey Everyone -

    I have applied this mod to a site and found that it still needs a bit of work - but it has an Excellent start!

    So, first thing that i'd like to tackle is the fact that the emails are not including the delivery date.

    I'm hopeing that someone would be able to explain how and where the email arrays are formed. Anyone?
    I should clarify this post, as my problem is not very clear:

    When order related emails are sent, the place where the delivery date information is supposed to be simply prints out on the email as: EMAIL_TEXT_DELIVERY_DATE

    I am pretty sure the problem resides in the orders.php file either on the admin side or on the catalog side, but i cannot figure out why. I am not yet familiar with the email data-flow.

    On the contrary, the order date information appears correctly on the order information (invoice, packing slip, edit order) pages when logged into the admin.

    Any help or pointers would be greatly appreciated.

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

    Default Re: HOW TO: Add a desired shipping date field to order form [description]

    Well, i'm not sure if anyone is listening out there - but i just did a lot of work on this mod over the past two days and now have an updated version 100% ready to be uploaded. HOWEVER, i am waiting to upload it to the community - i wrote an email to Ajeh and Kim explain why i am not uploading it yet, and i will append that email to the end of this post for everyone to read and give their input. I do not want any hard feelings.

    I've notated this all in the readme.txt file, but so that everyone knows what is ready to go:

    HISTORY:

    03/24/2008:
    Updated to fix a number of issues in code and add a couple other features (By MrMeech):
    - Added File (includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_confirmation_default.php) - Added Delivery Date to display on checkout confirmation page
    - Added File (includes/languages/english/YOUR_TEMPLATE/checkout_confirmation) - has Delivery Date define
    - Added File (email/email_template_checkout.html) - to show delivery date on email generated during checkout, in addition to when orders are updated via Admin
    - (admin/includes/classes/order.php) - Fixed "info" array "delivery_date" to "order_delivery_date" to match format of the rest of the array and unify all code references to the array. Also some code would reference "delivery_date" and some would reference "order_delivery_date", so everything is now "order_delivery_date".
    - (admin/includes/languages/english/orders.php) - Added missing email define
    - (admin/invoice.php) - Line 150 - changed to "order_delivery_date"
    - (admin/orders.php) - Removed extra space in string and updated to correct path (line 108); Updated line 117 to "order_delivery_date" from "delivery_date"; Updated line 414 to reflect similar changes
    - (admin/packingslip.php) - Line 147 updated to "order_delivery_date"
    - (includes/classes/order.php) - Line 924 - Was missing the HTML variable for HTML email output
    - Added contribution info to the comments at the top of every file (except the emails) for easier version tracking down the road.
    - Updated this file (readme.txt)

    03/13/2008:
    First compiled release of this modification

    02/13/2008:
    Peter Martin's Post to the forum of the initial code
    Ok, now, for the email to Ajeh and Kim:


    Kim (and now Linda, too!),

    You haven't responded yet, but that's a good thing in this situation as i figured out how to update existing contributions.

    However, i come to you now with a situation a little out of the norm - please read this message all the way through.

    Based on this thread: http://www.zen-cart.com/forum/showthread.php?t=88550

    ...this contribution was born: http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_ id=961

    Unfortunately this contribution seems to have been slapped together in hyperspeed and i really feel as if it should be split in two. Right now it contains both the "Ship Order Date" and "Cancel Order Date." Confusingly, the "Cancel Order Date" folder is supposed to include the ship order date folder mod... Aside from that, this mod is designed to add a DELIVERY date, not a SHIP date.

    Additionally, If you compare on the two top-level directories ("ship-cancel date" and "ship date") you will find that, aside from the SQL query, they are identical (unless i'm crazy and missed something). My file compare program (Kdiff3) noted that the one template override file for the checkout differed, but upon viewing them, they were carbon copies of one another.

    I have spent a number of hours looking at the code for this, and while it is 90% complete, it has a fatal last 10%, with errors that will translate all the way to email outputs. There are a handful of other mishaps in the code, but the purpose of this message is not to review all of them...

    I have updated the code to work on my site, and now that i know where all of the errors are, it will take me only a few minutes to go back through the current contribution code to fix it for the community. I can have this ready to go in a day (since i'm pooped now and am calling it quits for the night).

    So, this is what i propose:
    • Renaming this contribution to "Order Delivery Date" - or delete/freeze this contribution to avoid the confusion that is likely going to ensue.
    • Depending on the action that you take: If you rename the contribution, i will upload the fixed code directly to the contribution, or; If you delete/freeze the contribution, i will make a new one.
    • I also really believe that a new support thread with a more relevant title (ie: "Order Delivery Date" instead of "Ship Date") should be formed - i will be glad to do this - just looking for backup on it.
    Please inform me of your thoughts on all of this and what plan of action you believe is best.

  8. #18
    Join Date
    Apr 2008
    Posts
    2
    Plugin Contributions
    0

    red flag Re: HOW TO: Add a desired shipping date field to order form [description]

    I was able to send email with delivery date as well in the admin as well.

    In the orders.PHP, we have written

    EMAIL_TEXT_DELIVERY_DATE . ' ' . zen_date_long($check_status->fields[' delivery_date']) . "\n\n"

    but we did not add this field to the $checkstatus=$db->Execute


    and one more thing, we did not define EMAIL_TEXT_DELIVERY_DATE under /admin/languages

    It worked for me, if any qiestions I can be contacted kishore_veeramallu###################### or 630-235-9772

    Thank you pe7er for lot of coding there...

  9. #19
    Join Date
    Oct 2006
    Location
    Suffolk UK
    Posts
    55
    Plugin Contributions
    1

    Default Re: HOW TO: Add a desired shipping date field to order form [description]

    has anyone tested this with super orders?

  10. #20
    Join Date
    Sep 2007
    Posts
    27
    Plugin Contributions
    0

    Default Re: HOW TO: Add a desired shipping date field to order form [description]

    Hello All,

    I tried to install this template and copied all files into the directories and it looks like it was working for showing the Desired Delivery Date on the shipping page but i see nothing about cancel date anywhere.

    Is there something I am missing or is it not working? Has anyone else had a problem with this? I am using Zencart 1.3.8.

    Thanks for the help.

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Replies: 6
    Last Post: 24 Nov 2022, 08:51 PM
  2. How to Make The Order Delivery Date A Required Field?
    By trickobrien in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 4 Jul 2011, 09:12 AM
  3. How do I add a comment form before the submit order form?
    By hello in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 18 Jul 2010, 12:47 PM
  4. Replies: 0
    Last Post: 24 Jun 2008, 06:54 PM
  5. add a shipping date field
    By chronister in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 16 Feb 2008, 06:17 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