Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / add a shipping date field

add a shipping date field

Locked

Views: 2,316

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
14 Dec 2007, 10:12 PM
#1
chronister avatar

chronister

New Zenner

Join Date:
Oct 2007
Posts:
10
Plugin Contributions:
0

add a shipping date field

I am trying to add a date field on page ?main_page=checkout_confirmation. I want to know where the processing takes place for this page. I have the field in place, but cannot find the processing side to add the code there. I want this date appended to the comments and also added to the database as a separate field.

Where is the processing for this form? The variable receiving part and the query part?

Thanks in advance for your help.

Nate

10 Jan 2008, 1:39 AM
#2
pe7er avatar

pe7er

New Zenner

Join Date:
Apr 2007
Location:
Nijmegen, Netherlands
Posts:
44
Plugin Contributions:
0

Re: add a shipping date field

I am not sure if you are trying to accomplish something similar as I did for some client who needed their clients to select a delivery date.

In the table "orders" I added a field called "order_delivery_date".
And made some modifications in:
\includes\templates\classic\templates\tpl_checkout_shipping_default.php
\includes\classes\order.php
**\includes\modules\pages\checkout_shipping\header_php.php
\admin\includes\classes\order.php
\admin\orders.php
\admin\invoice.php
\admin\packingslip.php
**and the accompanying language files.

Kind Regards,
Peter Martin, Joomla specialist
www.db8.nl

7 Feb 2008, 7:42 AM
#3
mrmeech avatar

mrmeech

Zen Follower

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

Re: add a shipping date field

pe7er,

There seems to be a good number of people looking for a contribution like this. Have you considered putting one together? I think it would a great addition to zen-cart. :smile:

pe7er:

I am not sure if you are trying to accomplish something similar as I did for some client who needed their clients to select a delivery date.

In the table "orders" I added a field called "order_delivery_date".
And made some modifications in:
\includes\templates\classic\templates\tpl_checkout_shipping_default.php
\includes\classes\order.php
**\includes\modules\pages\checkout_shipping\header_php.php
\admin\includes\classes\order.php
\admin\orders.php
\admin\invoice.php
\admin\packingslip.php
**and the accompanying language files.

9 Feb 2008, 8:53 PM
#4
dreamz avatar

dreamz

New Zenner

Join Date:
Oct 2007
Posts:
52
Plugin Contributions:
0

Re: add a shipping date field

I'm also really hoping you do post this as a mod or a text file outlining the process.

13 Feb 2008, 1:00 PM
#5
pe7er avatar

pe7er

New Zenner

Join Date:
Apr 2007
Location:
Nijmegen, Netherlands
Posts:
44
Plugin Contributions:
0

Re: add a shipping date field

I posted a detailed explanation of my modification to get a drop down list with desired delivery date to the order form [for Zen Cart 1.3.7] in another thread.
See: http://www.zen-cart.com/forum/showthread.php?t=88550

Kind Regards,
Peter Martin, Joomla specialist
www.db8.nl

16 Feb 2008, 5:17 AM
#6
mrmeech avatar

mrmeech

Zen Follower

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

Re: add a shipping date field

BRILLIANT!! :D

Quite a bit of code, however. Have you put any thought into making a contribution for this? I mean, you have all the hard part finished! Perhaps doing so would help you keep track of the revisions and changes as zen cart continues in its development..

Thanks again! This is so excellent!

pe7er:

I posted a detailed explanation of my modification to get a drop down list with desired delivery date to the order form [for Zen Cart 1.3.7] in another thread.
See: http://www.zen-cart.com/forum/showthread.php?t=88550