Zen Cart Logo
Forums / Managing Customers and Orders / Order Delivery Date Support Thread

Order Delivery Date Support Thread

Views: 162,562

Results 241 to 260 of 544
23 Nov 2010, 01:11
#241
ninijj avatar

ninijj

New Zenner

Join Date:
Nov 2010
Posts:
10
Plugin Contributions:
0

Order Delivery Date Support Thread

ok I abandon the Jquery and move to a Flash so no issue any more

I fixed the 1999 issue

So I Just need now the time zone (AM or PM) and add this fields in order details, invoice and emails

Thanks

13 Dec 2010, 01:52
#242
k1979 avatar

k1979

New Zenner

Join Date:
Dec 2010
Posts:
29
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

zalimk:

HI

Tried the contribution and it worked really well. This was only after I removed mootools from the JS directory which was being used by slimbox. Now slimbox does not work!!

Is there a way to get around this? Since I would like to use slimbox as well

Any help will be much appreciated

mrmeech:

As you've already discovered, this is a simple case of javascript libraries conflicting with one another. I'm guessing you're only using slimbox elsewhere on your site (product pages, catalog, etc..) but not on the checkout... so to point you in the right direction, what you could try is locating the code for where mootools is being inserted into your header, and put an IF statement around it. So, essentially something like, "IF the page is NOT a checkout page, load mootools"

Hello.
This is my first post and thank you for your great contribution!:laugh:

I found a simple way to use mootools with this.
http://www.zen-cart.com/wiki/index.php/Customisation_-_Templates_-_Javascript

I renamed mootools.js to jscript_mootools.js and uploaded to "includes/modules/pages/product_info/" (because I need mootools.js only product_info page).

16 Dec 2010, 06:37
#243
acemeister avatar

acemeister

New Zenner

Join Date:
Feb 2008
Posts:
11
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

Hi MrMeech,

Very much appreciate all the work you have done for the Zen-Cart community. You are truly a legend.

I have an issue that after reading all the pages on this forum many have but it hasn't been definatively answered.

In the confirmation email that a customer receives the desired delivery date is Y-M-D (year-month-date). The JS calender script also uses Y-M-D, but if you change it to D-M-Y then it adds an incorrect entry into the database, however, the confirmation email they receive becomes D-M-Y. I looked through the order.php in hopes I could add a (date_format_long), but can't get it to present properly (mainly as I don't really know what I'm doing). If desired date was in the same format as order date (ie. 16th December 2010) that would be wonderful. Your help is greatly appreciated.

Many thanks,

The Bagwan

19 Jan 2011, 14:18
#244
trickobrien avatar

trickobrien

Zen Follower

Join Date:
Jul 2010
Posts:
108
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

Hello MrMeech
I have the order delivery date contribution installed and working very well,thanks for your efforts.
I have the cut off for next day delivery set to 7pm,but unfortunately some people are ignoring this and ordering up to midnight for next day-is it possible to configure the contribution so that at 7PM the next delivery date becomes the following day,rather than next day?

Thanks in advance

09 Feb 2011, 22:13
#245
igofresh avatar

igofresh

Zen Follower

Join Date:
Oct 2010
Posts:
149
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

I dont get a display on the order confirmation page only in adimin.
at the end of includes/languages/english/CUSTOM
in checkout_confirmation.php reads the following

// BEGIN Order Delivery Date
define('TABLE_HEADING_DELIVERY_DATE', 'Desired Delivery Date');
// END Order Delivery Date

but nothing shows up
Anyone know how to fix?

18 Feb 2011, 14:56
#246
whosyourdaddy avatar

whosyourdaddy

New Zenner

Join Date:
Oct 2009
Posts:
50
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

I have installed the mod to my site and everything went well I see the calendar and have set the days for delivery. When I test the mod and go through the checkout process I do not see the date being applied at checkout or do I see it in the admin after order has been made.

I am using zen cart version 1.3.9h
with the following mods

Super Orders
TY Package Tracker
Zen Light Box
Hover Box 3
Tabbed Products Pro

I have also setup on my test server a basic non-modded zen cart using version 1.3.9h and the results are the same I see the calendar, pick the date but no indication of the date during checkout or in the admin after the order has been placed.

I have gone back several times re-uploaded all files ported for the 1.3.9 and I am confused as to why?

Any help or suggestions would be greatly appreciated!

Thanks!!

Site link
My-Chef.org Kitchen

18 Feb 2011, 15:37
#247
whosyourdaddy avatar

whosyourdaddy

New Zenner

Join Date:
Oct 2009
Posts:
50
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

Ok I have it figured out after looking in my database tables and reviewing the files.

I had to add the query for the Delivery Date to Super Orders, tested it and Bingo it shows up in the Super Orders admin. Now to finish the rest.

24 Mar 2011, 19:39
#248
ninijj avatar

ninijj

New Zenner

Join Date:
Nov 2010
Posts:
10
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

Hello
I've a new issue and I don't know how to fix
I'm using the module from 2 month and never realize that from a certain date the sytem doesn't respond as normal
on checkout confirmation the date is written "friday october 2002"
I don't know why and looking the DB in the field of orderdelivery date it's all to 00 00 00

how to see what's going on?

I've some order with date in DB
but the date in email confirmation is correct

Thanks

NINI JJ

04 Apr 2011, 11:47
#249
alektacs avatar

alektacs

New Zenner

Join Date:
Sep 2010
Posts:
1
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

WHOSYOURDADDY:

Ok I have it figured out after looking in my database tables and reviewing the files.

I had to add the query for the Delivery Date to Super Orders, tested it and Bingo it shows up in the Super Orders admin. Now to finish the rest.

I am having the same issue.

How do you add the query for the delivery date to Super Orders ?

thks

A

zen_cart139h

25 Apr 2011, 22:52
#250
jagall avatar

jagall

Zen Follower

Join Date:
Mar 2011
Location:
Ireland
Posts:
286
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

Hi just installed this mod a few days ago, using 1.3.9. seems fine. the calendar works but after choosing a delivery date it doesn't appear on any part of the checkout process. it is in the admin side and the email to the customer but not thought it should be on the order confirmation page. probably something I am doing wrong . . . still very new at this

30 Apr 2011, 20:52
#251
jmccurrie avatar

jmccurrie

New Zenner

Join Date:
Mar 2011
Posts:
6
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

Was using this mod successfully But no longer works on new IE9 which is now auto updating on peoples computers.
Still works on IE8 and below and firefox.
I think it has something to do with mootools.js
Tried just updating mootools.js but it didnt work (caused another error) so I am assuming there was some changes to the motools script used here.
anyone have a quick fix that I can enter into exixting mootools to make it compliant.
Thanks in advance.

22 May 2011, 17:46
#252
carola avatar

carola

New Zenner

Join Date:
Jun 2005
Posts:
2
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

After three days of work, I find the solution to work with Explorer 9, looks good and works great with
Google Chrome, if anyone knows how to solve this problem would appreciate the help, sorry if I express myself correctly,
I am using a translator.

Thanks for this contribution

22 May 2011, 19:36
#253
carola avatar

carola

New Zenner

Join Date:
Jun 2005
Posts:
2
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

Here is my small contibución, replace file jscript_a-mootools.js, by this that it is working with IE9.

14 Jun 2011, 21:56
#254
jagall avatar

jagall

Zen Follower

Join Date:
Mar 2011
Location:
Ireland
Posts:
286
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

jagall:

Hi just installed this mod a few days ago, using 1.3.9. seems fine. the calendar works but after choosing a delivery date it doesn't appear on any part of the checkout process. it is in the admin side and the email to the customer but not thought it should be on the order confirmation page. probably something I am doing wrong . . . still very new at this

Hi I still haven't got a solution to this one and have gone and uploaded the files again and re-checked them again and again but still no ref to the order delivery date appears in the order confirmation page in the checkout process.

The is that currently it is blocking off two days in advance, but how to you set it that you delivery can be within 24 hrs or 48 hrs.

Please anyone with answers really driving me insane here.

thanks

16 Jun 2011, 04:19
#255
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

carola:

Here is my small contibución, replace file jscript_a-mootools.js, by this that it is working with IE9.

Fabulous. I noticed the same problem and replacing this file did the job. Thanks!

27 Jun 2011, 15:46
#256
nkin avatar

nkin

New Zenner

Join Date:
Mar 2011
Posts:
24
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

Hello everybody,

I have downloaded the ship_order_date__cancel_order_date_1.zip and installed the Ship Date only (with a dropdown). It works great.

I do have a question . I really would like to have this mod appear on the step 2 of 3 page (Payment Method) in stead of step 1 of 3 page. Because i set up ZC to skip the shipping page.

My actions: I copy/pasted the everyting between the <!-- Bof Ship Date --> and <!-- Eof Ship Date --> from tpl_checkout_shipping_default.php totpl_checkout_payment_default.php.

The result: It displays the dropdown in step 2 of 3 and it works.

The problem: In the admin page the date is 11/30/1999 00:00:00

The question: How can i fix the problem

Thanks

11 Jul 2011, 14:00
#257
jagall avatar

jagall

Zen Follower

Join Date:
Mar 2011
Location:
Ireland
Posts:
286
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

jagall:

Hi I still haven't got a solution to this one and have gone and uploaded the files again and re-checked them again and again but still no ref to the order delivery date appears in the order confirmation page in the checkout process.

The is that currently it is blocking off two days in advance, but how to you set it that you delivery can be within 24 hrs or 48 hrs.

Please anyone with answers really driving me insane here.

thanks

Solved:Well this is working fine now, installed the new update and thanks to that Software Guy as I am guessing the bug was the problem I had above, GREAT!:clap:

11 Jul 2011, 14:39
#258
jagall avatar

jagall

Zen Follower

Join Date:
Mar 2011
Location:
Ireland
Posts:
286
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

mrmeech:

I just wrote some code for ya - Open up /includes/templates/YOURTEMPLATE/templates/tpl_checkout_shipping_default.php

Find this code (it's near the bottom):

<!-- Bof Ship Date --> <fieldset class="shipping" id="order_delivery_date"> <legend><?php echo TABLE_HEADING_DELIVERY_DATE; ?></legend> <select name="order_delivery_date"> <?php for ($i=0, $n=50; $i < $n; $i++) { $now[$i] = strtotime ("+$i day", time()); if ( strftime ("%w",$now[$i])<>0 AND strftime ("%m-%d",$now[$i])<>"12-25" AND strftime ("%m-%d",$now[$i])<>"12-26" AND strftime ("%m-%d",$now[$i])<>"01-01" ){ echo '<option value="'.strftime ("%Y-%m-%d",$now[$i]).'">'.strftime ("%A %d %B %Y",$now[$i]).'</option>'; } } ?> </select> </fieldset> <!-- Eof Ship Date --> ```And replace it with this: > > ``` <!-- Bof Ship Date --> <fieldset class="shipping" id="order_delivery_date"> <legend><?php echo TABLE_HEADING_DELIVERY_DATE; ?></legend> <select name="order_delivery_date"> <?php $current_time = (date("h:ia")); $current_hour = (date("H")); // 24 hour time as two digits $begin_cutoff_hour = '10'; // set on a 24 hour time clock $end_cutoff_hour = '19'; // set on a 24 basis - "19" would be 7pm $time_zone_adjust = '0'; // use this to adjust your hour value forward or backwards $display_current_time = false; // Chage to "true" to check your system time for adjustments to $time_zone_adjust. Result will be echo'd to browser below ship date dropdown menu $current_adjusted_hour = ($current_hour + $time_zone_adjust); if($current_adjusted_hour <= $begin_cutoff_hour) { $date_offset = '0'; } else { $date_offset = '1'; } for ($i=$date_offset, $n=50; $i < $n; $i++) { $now[$i] = strtotime ("+$i day", time()); if ( strftime ("%w",$now[$i])<>0 AND strftime ("%m-%d",$now[$i])<>"12-25" AND strftime ("%m-%d",$now[$i])<>"12-26" AND strftime ("%m-%d",$now[$i])<>"01-01" ){ echo '<option value="'.strftime ("%Y-%m-%d",$now[$i]).'">'.strftime ("%A %d %B %Y",$now[$i]).'</option>'; } } ?> </select> </fieldset> <?PHP if ($display_current_time == true) { echo "YOUR SYSTEM TIME IS $current_time"; } ?> <!-- Eof Ship Date --> ``` > > Change $display_current_time to true to see if the time output by the server/browser matches your time zone, and then adjust $time_zone_adjust as needed. > > Let me know if this works for ya..

I know this mod has been updated since this post but just wondering whether there was anyway around setting cut-off time for ordering e.g. if order place before 10am then delivery is 24hrs from then if after 10am is 48 hrs. hopefully someone has some ideas on this thanks :D

28 Jul 2011, 05:45
#259
mark3738 avatar

mark3738

New Zenner

Join Date:
Aug 2005
Posts:
11
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

I have tried installing Carola's mootools fix but am still unable to see the calendar in IE9, and worse the empty box that does display does not allow text to be inserted. I assume this could be a conflict with other jscripts, but would really like to know if there is likely to be a mod upgrade or fix that does work coming out?

It displays fine in IE8 and earlier, but not in IE9 which according to my stats more and more people have upgraded too.

If there is a way of making the default text box accessible if the date picker is not working I would appreciate knowing what to turn on or off.

I won't say what I think about IE9, but this is a great tool in Chrome, FF and older IE browsers (and you can't say that often).

29 Sep 2011, 19:49
#260
jagall avatar

jagall

Zen Follower

Join Date:
Mar 2011
Location:
Ireland
Posts:
286
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

Hi All
I am using this mod with 1.3.9h and if a customer does not select a delivery date I get Tuesday 30 November, 1999 this as the date on the invoice. Any ideas anybody. thought perhaps I may not have my localtime set up properly???:huh: