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

Order Delivery Date Support Thread

Views: 163,129

Results 101 to 120 of 545
18 Aug 2008, 5:55 AM
#101
juno avatar

juno

New Zenner

Join Date:
Mar 2008
Posts:
22
Plugin Contributions:
0

Order Delivery Date Support Thread

Oh, those ghost files are Mac-related as far as I can tell.

It doesn't SEEM that the PO module is interfering with anything, but I just have no idea. I would think that all other aspects of the form would be having problems instead of just this. Comments works fine.

19 Aug 2008, 6:22 PM
#102
mrmeech avatar

mrmeech

Zen Follower

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

Re: Order Delivery Date Support Thread

enchantedneedle:

The calendar does work in IE, but not in FF. I was using FF to test it, my bad. Any ideas on the solution for the browser difference?

What version of FF are you using? and Mac or PC?

19 Aug 2008, 6:25 PM
#103
mrmeech avatar

mrmeech

Zen Follower

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

Re: Order Delivery Date Support Thread

juno:

Oh, those ghost files are Mac-related as far as I can tell.

It doesn't SEEM that the PO module is interfering with anything, but I just have no idea. I would think that all other aspects of the form would be having problems instead of just this. Comments works fine.

Well, once there are any other modules in the mix, there are quite a lot of variables of things that could be wrong.

One thing you could do, however, is compare the file structure of your PO module to the file structure of the Delivery Date module to find out if there are any conflicting files in there. If so, let us know which files are conflicting and attach any PO files to your reply that are in question.

21 Aug 2008, 3:31 PM
#104
juno avatar

juno

New Zenner

Join Date:
Mar 2008
Posts:
22
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

I removed the PO module completely and installed the order delivery date contribution EXACTLY as written.

Still no dice. The date is just not coming over. I am receiving no errors.

Also, for what it's worth, the calendar also does not work in Firefox for me (Firefox 2.0.0.15 on a Windows box). It works fine in IE.

21 Aug 2008, 6:15 PM
#105
mrmeech avatar

mrmeech

Zen Follower

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

Re: Order Delivery Date Support Thread

juno:

I removed the PO module completely and installed the order delivery date contribution EXACTLY as written.

Still no dice. The date is just not coming over. I am receiving no errors.

Do you get a blank screen? Or is it literally just the date not working?

juno:

Also, for what it's worth, the calendar also does not work in Firefox for me (Firefox 2.0.0.15 on a Windows box). It works fine in IE.

That's a bummer and i will look into it within the next day or so.. It's most likely just an incompatible or bad tag somewhere.

25 Aug 2008, 12:11 PM
#106
duffy avatar

duffy

New Zenner

Join Date:
Aug 2005
Location:
Johnstown, PA, USA
Posts:
45
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

Good day mrmeech. This is a great mod! I just updated to version 2 with the javascript calendar and noticed some strange behavior--from my customers, not the mod. They don't always enter a date:blink:. Consequently I get a date of Tuesday, November 30, 1999 by default.

I was wondering if there was a way to make the date selection required?

12 Sep 2008, 5:03 AM
#107
jbpounders avatar

jbpounders

New Zenner

Join Date:
Sep 2008
Posts:
2
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

Is it possible to feed the date to Interapptive Shipworks? I need to print the ship date on my invoices. This module is amazing! I appreciate the help.:lookaroun

15 Sep 2008, 6:50 PM
#108
mrmeech avatar

mrmeech

Zen Follower

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

Re: Order Delivery Date Support Thread

jbpounders:

Is it possible to feed the date to Interapptive Shipworks? I need to print the ship date on my invoices. This module is amazing! I appreciate the help.:lookaroun

Hey there - Unfortunately i am not familiar with Shipworks. Additionally, this module is configured to allow a person to request the DELIVERY date, not the SHIP date.

As for having the imputed delivery date on the invoices - that's already in the contribution's code.

15 Sep 2008, 6:57 PM
#109
jbpounders avatar

jbpounders

New Zenner

Join Date:
Sep 2008
Posts:
2
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

Right, I understand...what's the difference between having it be a ship date and a delivery date? We only ship on mondays so I set up the javascript to eliminate all the days except monday. Well if we could figure out how to insert the date into the notes section it should make it into shipworks fine..just need to know how to do that :)
Thanks,
JBP

15 Sep 2008, 7:17 PM
#110
mrmeech avatar

mrmeech

Zen Follower

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

Re: Order Delivery Date Support Thread

jbpounders:

... if we could figure out how to insert the date into the notes section it should make it into shipworks fine..just need to know how to do that :)
Thanks,
JBP

That would take me a while to figure out how to do and i'm ridiculously busy right now, but i can point you in the direction that might lead you to an answer... which is to look over the CREATE function in includes/classes/functions/order.php. Or maybe it would be in the order.php file in the admin side?

Basically, i think you need to find the code that generates the comments when an order is submitted and put a line in there to suck the date from the order session and input it into the comments. Once you get that figured out, you will need to know exactly where and how shipworks is obtaining the comments information.

If you have a low enough order volume you can always open up each order and copy and paste the date into the comments field and make a new comment. But, that is clearly the ghetto and time consuming solution.

Honestly, it's slightly above my knowledge of the code that executes the order submission... maybe DrByte or Ajeh or one of the developers can guide you in a more refined direction?

Please let us know how you do with this and kindly post your solution on here for anyone else wishing to do the same thing down the line. :smile:

17 Sep 2008, 12:23 AM
#111
cjsmiff avatar

cjsmiff

Zen Follower

Join Date:
Jul 2006
Location:
UK
Posts:
170
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

Hi,

I'm having problems unzipping the download - it gives me 2 blank files when it's unzipped. Could someone send me a copy please?

Would be eternally grateful.

Cheers
Claire

17 Sep 2008, 1:09 AM
#112
mrmeech avatar

mrmeech

Zen Follower

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

Re: Order Delivery Date Support Thread

cjsmiff:

Hi,

I'm having problems unzipping the download - it gives me 2 blank files when it's unzipped. Could someone send me a copy please?

Would be eternally grateful.

Cheers
Claire

Hey Claire,

Are you on a pc/windows computer by any chance?

17 Sep 2008, 1:11 AM
#113
cjsmiff avatar

cjsmiff

Zen Follower

Join Date:
Jul 2006
Location:
UK
Posts:
170
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

Hi,

yes, laptop running windows vista.

Cheers
Claire

3 Oct 2008, 9:46 PM
#115
duffy avatar

duffy

New Zenner

Join Date:
Aug 2005
Location:
Johnstown, PA, USA
Posts:
45
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

Is it possible to make the entry of the date mandatory, that is to say a required field?

4 Oct 2008, 5:25 AM
#116
mrmeech avatar

mrmeech

Zen Follower

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

Re: Order Delivery Date Support Thread

duffy:

Is it possible to make the entry of the date mandatory, that is to say a required field?

Duffy,

The configuration of of the checkout form (using graphical submit button) as well as the read-only field, has provided a challenge that has defeated me in my couple of hours i just tried to make this work. Normally this would be a very simple task, but unfortunately given the circumstances here, it is not. :( I'm not saying it can't be done - because it can - but i think there are a few too many quirks for me to grasp what's (not) happening in the code. For starters, google "form image submit validation" and you can start reading the evidence that's out there that it's a pain. And that's not even taking into consideration the complexity of the code in zen cart.

I tried!!

4 Oct 2008, 9:21 PM
#117
duffy avatar

duffy

New Zenner

Join Date:
Aug 2005
Location:
Johnstown, PA, USA
Posts:
45
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

mrmeech,

Thanks for your efforts, truly appreciated.

8 Oct 2008, 3:40 PM
#118
doodlebuckets avatar

doodlebuckets

Totally Zenned

Join Date:
Jul 2005
Posts:
497
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

I am using the Fast and Easy Checkout mod for my sites and I noticed that this mod alters the checkout_shipping.php file but that file is not utilized in my checkouts now. How do you go about integrating this with FEC?

Thanks, I would LOVE to use this!

8 Oct 2008, 4:21 PM
#119
mrmeech avatar

mrmeech

Zen Follower

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

Re: Order Delivery Date Support Thread

Doodlebuckets:

I am using the Fast and Easy Checkout mod for my sites and I noticed that this mod alters the checkout_shipping.php file but that file is not utilized in my checkouts now. How do you go about integrating this with FEC?

Thanks, I would LOVE to use this!

Unfortunately i do not have the time right now to actually merge the contributions together, BUT - I can give you a roadmap to follow based on peeking at the FEC contribution files, so here it goes:

**BACK UP YOUR DATABASE! Then back it up again, for good measure. I am not liable if your database gets messed up. (or anything else)

**1) Install the SQL patch, which will add a row in the orders table to hold the delivery date.

  1. Apply everything in the admin folder to your site's admin folder.

  2. Update the email templates - this will reflect the delivery date on emails generated to the customer from when the order is processed, and when you choose to notify the customer when you update their status in the admin.

  3. Upload includes/classes/order.php

  4. includs/languages/english/YOUR_TEMPLATE/*.php

8 Oct 2008, 4:44 PM
#120
mrmeech avatar

mrmeech

Zen Follower

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

Re: Order Delivery Date Support Thread

Doodlebuckets:

I am using the Fast and Easy Checkout mod for my sites and I noticed that this mod alters the checkout_shipping.php file but that file is not utilized in my checkouts now. How do you go about integrating this with FEC?

Thanks, I would LOVE to use this!

Unfortunately i do not have the time right now to actually merge the contributions together, BUT - I can give you a roadmap to follow based on peeking at the FEC contribution files, so here it goes:

**BACK UP YOUR DATABASE! Then back it up again, for good measure. I am not liable if your database gets messed up. (or anything else) Absolutely DO NOT do this on a live store.

**1) Install the SQL patch, which will add a row in the orders table to hold the delivery date.

  1. Apply everything in the admin folder to your site's admin folder.

  2. Update the email templates - this will reflect the delivery date on emails generated to the customer from when the order is processed, and when you choose to notify the customer when you update their status in the admin.

  3. Upload includes/classes/order.php

  4. includs/languages/english/YOUR_TEMPLATE/*.php
    All of the language definitions are at the bottom of the files. Some of them repeat. You want to make sure that they are inserted into your FEC language files (which, as it is structured in the package, does not use a template override, which i would suggest). Some of the language definitions repeat depending on the page - just make sure you have one of each definition in the FEC language files. In other words, no repeats.

  5. I am not 100% sure on this, but i think this what you need to do. Take everything in the includes/modules/pages/checkout_shipping folder and put it into the respective folders for the FEC pages where you want to have the delivery date calendar. I think this is probably INCLUDES/MODULES/PAGES/CHECKOUT for the FEC code. DO NOT OVERWRITE the HEADER.PHP file here!!! Open the Delivery date header up and find the noted edits and copy them into the FEC header.php.

  6. Copy and add CSS from INCLUDES/TEMPLATES/your_template/CSS/checkout_shipping.css into INCLUDES/TEMPLATES/your_template/CSS/checkout.css

  7. copy image files in the template folder - nothing overwritten there.

  8. Adding the code in the template to display the delivery date code in the checkout: So, add this code somewhere WITHIN the "FORM" tag on the template file for FEC where you'd like to have the calendar displayed:

<!-- Bof Order Delivery Date -->
<fieldset class="shipping" id="order_delivery_date">
<legend><?php echo TABLE_HEADING_DELIVERY_DATE; ?></legend>

<label for="order_delivery_date">Date:</label>
<input readonly="readonly" id="date" name="order_delivery_date" type="text">
</fieldset>
<!-- Eof Order Delivery Date -->
```and then add this to the template file where you'd like to have it reflected on the confirmation page:
```html
<?php // BEGIN Order Delivery Date ?>
<br />
<h3><?php echo TABLE_HEADING_DELIVERY_DATE; ?></h3>
<h4><?php echo zen_date_long($order->info['order_delivery_date']); ?></h4><br />
</div>
<?php // END Order Delivery Date ?>
```10) Configuring the calendar - this is done in the file INCLUDES/MODULES/PAGES/CHECKOUT_SHIPPING/jscript_calendar_head.php

Instructions are commented into the file itself.

Best of luck! :smile: