Forums / Addon Shipping Modules / HOW TO: Add a desired shipping date field to order form [description]

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

Locked

Started by pe7er on 13 Feb 2008, 12:56 PM · Views: 36,811

Results 21 to 30 of 30
This thread is locked. New replies are disabled.
30 May 2008, 10:41 PM
#21
velvetangels avatar

velvetangels

New Zenner

Join Date:
Sep 2007
Posts:
27
Plugin Contributions:
0

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.

3 Jun 2008, 2:19 PM
#22
mrmeech avatar

mrmeech

Zen Follower

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

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

velvetangels:

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.

Velvetangels,

I'm confused as to whether or nt you're interested in the Cancel Date part of this code... if not, check out the "Order Delivery Date" mod in the downloads section.

3 Jun 2008, 3:14 PM
#23
velvetangels avatar

velvetangels

New Zenner

Join Date:
Sep 2007
Posts:
27
Plugin Contributions:
0

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

mrmeech:

Velvetangels,

I'm confused as to whether or nt you're interested in the Cancel Date part of this code... if not, check out the "Order Delivery Date" mod in the downloads section.

Mrmeech,

Actually I am very interested in both a cancel date and a desired delivery date but when I tried to install the option that had both cancel and delivery dates only the delivery date would show up. I tried searching through the script for anything that contained order_cancel_date (the sql field for the cancel date) and I found nothing.

We are a wholesaler and both are very helpful for our customers.

3 Jun 2008, 3:43 PM
#24
mrmeech avatar

mrmeech

Zen Follower

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

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

velvetangels:

Mrmeech,

Actually I am very interested in both a cancel date and a desired delivery date but when I tried to install the option that had both cancel and delivery dates only the delivery date would show up. I tried searching through the script for anything that contained order_cancel_date (the sql field for the cancel date) and I found nothing.

We are a wholesaler and both are very helpful for our customers.

Hmmm... Well, the Order Delivery Date mod is (more or less) a re-working of the mod that you are interested in, only when revised the code i only did the Delivery Date part and not the cancel date. Reasons being (but not limited to): Poorly packaged, there were a LOT of errors in the code, the cancel date didn't work to begin with (just like you're experiencing), and i didn't need it.

If you are a decent coder, it shouldn't be too hard to look through the code for the Order Delivery Date mod that i have and add in a cancel date feature along side. Or is that a bit much for your current skill level?

3 Jun 2008, 4:23 PM
#25
velvetangels avatar

velvetangels

New Zenner

Join Date:
Sep 2007
Posts:
27
Plugin Contributions:
0

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

mrmeech:

Hmmm... Well, the Order Delivery Date mod is (more or less) a re-working of the mod that you are interested in, only when revised the code i only did the Delivery Date part and not the cancel date. Reasons being (but not limited to): Poorly packaged, there were a LOT of errors in the code, the cancel date didn't work to begin with (just like you're experiencing), and i didn't need it.

If you are a decent coder, it shouldn't be too hard to look through the code for the Order Delivery Date mod that i have and add in a cancel date feature along side. Or is that a bit much for your current skill level?

MrMeech,

I think I am an ok PHP coder (only been doing it for about a year and self taught). I think this is defiantly out of my scope to do but I will work towards seeing if I can make it work.

Thanks for the advice.

3 Jun 2008, 5:46 PM
#26
mrmeech avatar

mrmeech

Zen Follower

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

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

velvetangels:

MrMeech,

I think I am an ok PHP coder (only been doing it for about a year and self taught). I think this is defiantly out of my scope to do but I will work towards seeing if I can make it work.

Thanks for the advice.

Off the top of my head can tell you that you're going to want to:

  • pay close attention to includes/classes/order.php. Look where the modifications for the order delivery date mod is... usually they are called "order_delivery_date" (go figure)
  • Update your language defines in english/YOUR_TEMPLATE/*.php
  • Update includes/templates/YOUR_TEMPLATE/templates/checkout_*.php to display your cancel date info or whatever
  • Update admin/orders.php so that when you generate an email from an order page it will include the cancel date, as well as display the cancel date info on the orders page.
  • Make sure you update admin/includes/classes/order.php as wellbest of luck and let me know how you make out!!
4 Jun 2008, 6:49 AM
#27
madge33 avatar

madge33

New Zenner

Join Date:
May 2008
Posts:
8
Plugin Contributions:
0

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

Hi,
Just read through this tread and I'm very interested, but instead of date would it be possible to edit mod to use time instead, I'm setting up a catering site where customers can order and collect or have delivered , but some items are call order and need to be cooked so a collection/delivery time would be really useful?

Cheers

4 Jun 2008, 7:12 AM
#28
mrmeech avatar

mrmeech

Zen Follower

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

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

madge33:

Hi,
Just read through this tread and I'm very interested, but instead of date would it be possible to edit mod to use time instead, I'm setting up a catering site where customers can order and collect or have delivered , but some items are call order and need to be cooked so a collection/delivery time would be really useful?

Cheers

This question, more or less, just came up in the actual delivery date mod thread. Take a look at posts 61 and my response (post 62) here: http://www.zen-cart.com/forum/showthread.php?t=92762&page=7

It's pretty much the same exact principle.

4 Jun 2008, 7:32 AM
#29
madge33 avatar

madge33

New Zenner

Join Date:
May 2008
Posts:
8
Plugin Contributions:
0

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

Cheers for that I'll stay posted.

4 Jun 2008, 7:43 AM
#30
mrmeech avatar

mrmeech

Zen Follower

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

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

madge33:

Cheers for that I'll stay posted.

Yeah, subscribe to the Order Delivery Date Support Thread and keep an eyeball on it. :smile: