Forums / Managing Customers and Orders / Order Delivery Date Support Thread

Order Delivery Date Support Thread

Views: 163,007

Results 41 to 60 of 545
16 May 2008, 6:46 AM
#41
mrmeech avatar

mrmeech

Zen Follower

Join Date:
Nov 2006
Location:
New York City
Posts:
248
Plugin Contributions:
0

Order Delivery Date Support Thread

Hello Everyone!

Version 2 of Order Delivery Date is pending approval and should be posted to the downloads section very soon!

This version has a beautiful javascript popup calendar for the desired Delivery Date selection. I've attached a screenshot - take a look!

There is also a bugfix to close a PHP tag correctly.

Enjoy!

27 May 2008, 1:45 AM
#42
divani avatar

divani

New Zenner

Join Date:
May 2008
Location:
Foxburg, PA
Posts:
13
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

Hello All,

And thanks MrMeech for this excellent contribution!

I installed v2 tonight and the only issue I am facing is that the Calender button is appearing twice next to the Date field.

I also have Gift Wrapping mod installed - so had to make some manual edits. Not sure if I screwed up something while making those edits. Any advice?

Thanks in advance. Below is the screenshot.

The website is https://www.divani.cc if anyone wants to check.

Vab

27 May 2008, 5:31 AM
#43
mrmeech avatar

mrmeech

Zen Follower

Join Date:
Nov 2006
Location:
New York City
Posts:
248
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

divani:

Hello All,

And thanks MrMeech for this excellent contribution!

I installed v2 tonight and the only issue I am facing is that the Calender button is appearing twice next to the Date field.

Divani,

Glad to hear that you enjoy the contribution. :smile:

When you are viewing the page with the dropdown calendar, do you find that only one of the buttons works? Or do they both work?

27 May 2008, 1:23 PM
#44
divani avatar

divani

New Zenner

Join Date:
May 2008
Location:
Foxburg, PA
Posts:
13
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

MrMeech,

Only button on the left displays the calender. The one on the right doesn't do anything at all. Also, for the records, I don't see any other errors like Javascript etc.

Thanks again,
Vab

27 May 2008, 4:07 PM
#45
mrmeech avatar

mrmeech

Zen Follower

Join Date:
Nov 2006
Location:
New York City
Posts:
248
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

divani:

MrMeech,

Only button on the left displays the calender. The one on the right doesn't do anything at all. Also, for the records, I don't see any other errors like Javascript etc.

Vab,

Try replacing includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_shipping_default.php with the one attached to my reply here (which will need to be unzipped, obviously)

Let me know if it fixes your problem and if so, i'll update the contribution.

27 May 2008, 4:24 PM
#46
divani avatar

divani

New Zenner

Join Date:
May 2008
Location:
Foxburg, PA
Posts:
13
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

Yes, the new file fixed it. :clap:

Thanks a ton!
Vab

27 May 2008, 9:46 PM
#48
divani avatar

divani

New Zenner

Join Date:
May 2008
Location:
Foxburg, PA
Posts:
13
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

MrMeech,

I found one more issue. The Desired Delivery Date does not register properly. At the Order Confirmation page during checkout, it shows up as blank. See screenshot below.

Then in Admin->Orders, it displays as 12/31/1969 17:59:59. See screenshot below.

Same for Invoice and Packing Slip for that particular order.

I tried the new includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_shipping_default.php and both with and without "Gift Wrap" contribution edits applied.

Thanks,
Vab

28 May 2008, 12:30 AM
#50
mrmeech avatar

mrmeech

Zen Follower

Join Date:
Nov 2006
Location:
New York City
Posts:
248
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

Vab,

I think you should re-upload all of the files again. Be sure to delete them FIRST, before uploading. I can tell from one of your screenshots that you still had Version 1 files. Additionally, the gift wrap module also customizes the order.php file in the "CLASSES" folder, and there is vital information in there to make it work with the delivery date mod i have here. If the order.php file is incorrect, you will get blank fields, as you are experiencing.

So, bottom line: Carefully re-upload ALL of the version 2 files and let me know where you get.

28 May 2008, 3:54 AM
#51
divani avatar

divani

New Zenner

Join Date:
May 2008
Location:
Foxburg, PA
Posts:
13
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

MrMeech,

I am using zen cart 1.3.8a. Order Delivery Date is v2 and this is the only version I ever installed on my zen cart installation. Besides, I merged changes with Gift Wrap modified files using WinMerge.

I just went through all the changes again, particularly admin/includes/classes/order.php and catalog/includes/classes/order.php.

The Gift Wrap module adds only a couple of entries to admin/includes/classes/order.php. So it wasn't difficult to merge.

The catalog/includes/classes/order.php, however, has a lot of modifications. Like I said, I used WinMerge to carefully merge changes. I am attaching three versions of catalog/includes/classes/order.php here. One from stock zen cart installation, second after installing Gift Wrap and third after installing Order Delivery Date. Maybe that'll help troubleshoot.

I'll look through all the file changes I made tomorrow morning and will post any new findings.

Thanks again,
Vab

28 May 2008, 11:58 AM
#53
divani avatar

divani

New Zenner

Join Date:
May 2008
Location:
Foxburg, PA
Posts:
13
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

mrmeech:

Vab,

Have you tried this with all "pure" delivery date files? ie: no merging or sharing files with the gift wrap mod, etc...?

That's the next thing I am going to try...will let you know.

29 May 2008, 1:53 AM
#54
deoxiribo avatar

deoxiribo

New Zenner

Join Date:
May 2008
Location:
California
Posts:
3
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

divani:

MrMeech,

I found one more issue. The Desired Delivery Date does not register properly. At the Order Confirmation page during checkout, it shows up as blank. See screenshot below.

Then in Admin->Orders, it displays as 12/31/1969 17:59:59. See screenshot below.

Same for Invoice and Packing Slip for that particular order.

I tried the new includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_shipping_default.php and both with and without "Gift Wrap" contribution edits applied.

Thanks,
Vab

I'm actually getting the same odd checkout error, and the date comes over as Tuesday 30 November, 1999 rather than the date the customer enters.

The other error I get is a PHP error for the admin/orders.php page on line 818 saying zen_get_orders_comments is undefined.

I run no other mods, and this mod (Order Delivery Date) is the first mod I've added to my zen cart. At the bottom of my admin, it says my zen cart version is: Zen Cart v1.3.7.1/v1.3.7

29 May 2008, 3:29 AM
#55
mrmeech avatar

mrmeech

Zen Follower

Join Date:
Nov 2006
Location:
New York City
Posts:
248
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

deoxiribo:

I'm actually getting the same odd checkout error, and the date comes over as Tuesday 30 November, 1999 rather than the date the customer enters.

The other error I get is a PHP error for the admin/orders.php page on line 818 saying zen_get_orders_comments is undefined.

I run no other mods, and this mod (Order Delivery Date) is the first mod I've added to my zen cart. At the bottom of my admin, it says my zen cart version is: Zen Cart v1.3.7.1/v1.3.7

Deoxiribo,

This mod is only for 1.3.8, so i am almost entirely certain that that is causing your errors. When ZC went from 1.3.7 to 1.3.8 they overhauled a LOT of code on the Admin side, which, to the end user was/is transparent. They have been working on converting tons of procedural code into a more streamlined setup.

Try upgrading to 1.3.8 and then apply the Delevery Date Mod. (I would recommend upgrading anyway because with each release there are tons of updates, feature additions, and bug fixes..).

Hope that helps! :smile:

29 May 2008, 5:39 AM
#56
deoxiribo avatar

deoxiribo

New Zenner

Join Date:
May 2008
Location:
California
Posts:
3
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

mrmeech:

Deoxiribo,

This mod is only for 1.3.8, so i am almost entirely certain that that is causing your errors. When ZC went from 1.3.7 to 1.3.8 they overhauled a LOT of code on the Admin side, which, to the end user was/is transparent. They have been working on converting tons of procedural code into a more streamlined setup.

Try upgrading to 1.3.8 and then apply the Delevery Date Mod. (I would recommend upgrading anyway because with each release there are tons of updates, feature additions, and bug fixes..).

Hope that helps! :smile:

Thank you! That got rid of the PHP error. I'm embarrassed that I didn't think to upgrade. :blush:

The date is still coming over as 11/30/1999 00:00:00 for me. I'm not sure what files I should check.

29 May 2008, 5:55 AM
#57
mrmeech avatar

mrmeech

Zen Follower

Join Date:
Nov 2006
Location:
New York City
Posts:
248
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

deoxiribo:

Thank you! That got rid of the PHP error. I'm embarrassed that I didn't think to upgrade. :blush:

The date is still coming over as 11/30/1999 00:00:00 for me. I'm not sure what files I should check.

Could you elaborate on the date error? I really want to get this fixed - I'm having a hard time reproducing it on my computer. Is your computer system clock synced to the right date?

2 Jun 2008, 10:19 PM
#58
yellowleaf avatar

yellowleaf

New Zenner

Join Date:
Jun 2008
Posts:
10
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

The installation instructions require an SQL adjustment, however my db does not have a TABLE zen_orders. What are the SQL requirements to add this table or am I missing a component needed to make this program work?

I am running 1.3.8a-full.

Thank you

2 Jun 2008, 10:24 PM
#59
mrmeech avatar

mrmeech

Zen Follower

Join Date:
Nov 2006
Location:
New York City
Posts:
248
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

yellowleaf:

The installation instructions require an SQL adjustment, however my db does not have a TABLE zen_orders. What are the SQL requirements to add this table or am I missing a component needed to make this program work?

I am running 1.3.8a-full.

Thank you

Your database probably doesn't have the "zen_" prefix on each table.

Try the attached SQL file..

3 Jun 2008, 1:25 AM
#60
yellowleaf avatar

yellowleaf

New Zenner

Join Date:
Jun 2008
Posts:
10
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

Thank you for the quick reply. That was it.