1 Attachment(s)
Re: Order Delivery Date Support Thread
Quote:
Originally Posted by
velvetangels
...
I tried to test it out and i am not getting any values to post through to other pages.
...
I looked over the files you attached, and the only immediately apparent errors were in the includes/classes/order.php around line 950-ish in the email section. I'll attach the file with the corrections.
Also it appears you have not yet edited the files in the email directory- if ya don't do that the info will never make it onto the actual emails generated to the customer.
Re: Order Delivery Date Support Thread
Quote:
Originally Posted by
mrmeech
I looked over the files you attached, and the only immediately apparent errors were in the includes/classes/order.php around line 950-ish in the email section. I'll attach the file with the corrections.
Also it appears you have not yet edited the files in the email directory- if ya don't do that the info will never make it onto the actual emails generated to the customer.
I think there is something else wrong with the script. I tried to install a fresh version on zencart and it never did pull the values all the way through to the confirmation page.
Re: Order Delivery Date Support Thread
Quote:
Originally Posted by
velvetangels
I think there is something else wrong with the script. I tried to install a fresh version on zencart and it never did pull the values all the way through to the confirmation page.
I will look into this right away.
Re: Order Delivery Date Support Thread
Velvetangels,
You are right. I made changes from version 1 to version 2 (which is where i believe this happened) on a clean 138 install and somewhere in bringing the files to the community i botched something. It's quite frustrating because i have a working version of the calendar mod on a server and i've been trying to figure out what happened. I even have some awesome file compare tools that outline line by line changes to help and i'm still stumped.
Gotta head to bed but i'll work on this more tomorrow. I need to sleep on it. :smile:
Have you been working with a 138, or 138a version of ZC?
Re: Order Delivery Date Support Thread
I FOUND IT!!!! I shut down my computer, and sat for a second (after all these hours of hunting for it)...had an epiphany... and turned it back on and found it in a second. Study the two blocks of code, and you'll figure it out. It was tpl_checkout_shipping_defualt.php that was causing the problem.
Delivery Date version 2:
PHP Code:
<!-- Bof Ship Date -->
<fieldset class="shipping" id="order_delivery_date">
<legend><?php echo TABLE_HEADING_DELIVERY_DATE; ?></legend>
<label for="date">Date</label>
<input class="calendar" readonly="readonly" id="date" name="date" type="text">
</fieldset>
<!-- Eof Ship Date -->
And what it SHOULD be:
PHP Code:
<!-- 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 -->
how stupid.
Re: Order Delivery Date Support Thread
Thank you! Version 2.2 works beautifully! The date came over perfectly.
Thank you so much for this mod. It's what I've been looking for over the course of several months. It's perfect for a flower shop website. :clap:
Re: Order Delivery Date Support Thread
How do I change the style of the calendar to the alternate styling (dashboard) as seen here: http://electricprism.com/aeron/calendar/#download.
I tried to insert the classes: ['dashboard'] but that caused no graphics... So i need different graphics? Where do I get them?
1 Attachment(s)
Re: Order Delivery Date Support Thread
Quote:
Originally Posted by
dimmyr
How do I change the style of the calendar to the alternate styling (dashboard) as seen here:
http://electricprism.com/aeron/calendar/#download.
I tried to insert the classes: ['dashboard'] but that caused no graphics... So i need different graphics? Where do I get them?
When making the first version of the popup calendar there was seemingly nowhere to go to get the background(s) for the calendar, so they are directly from the example page.
Check out the attached zip file.
Re: Order Delivery Date Support Thread
Hi,
Thanks for this great contribution, much respect!
Is there some way of making certain dates in the future "unavailble"?
Would there be a way of doing this through the admin panel?
(apologies if this has already been discussed, I couldnt find it if it has!)
Thanks for replies in advance
Re: Order Delivery Date Support Thread
Quote:
Originally Posted by
deoxiribo
Thank you! Version 2.2 works beautifully! The date came over perfectly.
Thank you so much for this mod. It's what I've been looking for over the course of several months. It's perfect for a flower shop website. :clap:
Where can I find version 2.2? I've looked through the files in the thread and the download section. Am I just missing it along the way?
thank you,
betty