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

Order Delivery Date Support Thread

Views: 163,130

Results 401 to 420 of 545
20 Oct 2017, 9:04 PM
#401
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Order Delivery Date Support Thread

saftek:

We have resolved the email problem by making all emails html. BUT: we have the following problems. We have merged all pages into existing pages.

  1. calendar isn't showing up on the checkout page.
  2. /yourtemplate/templates/tpl_checkout_confirmation_default.php - line 187 - this bit of code

---- . (is_array($payment_modules->modules) ? $payment_modules->process_form_params() : '') ----

breaks the final checkout page and results in error

-----Fatal error: Call to undefined method payment::process_form_params() in /home/saftek/public_html/shop/includes/templates/custom/templates/tpl_checkout_confirmation_default.php on line 187 ----

Any clues on where to go from here would be appreciated.
Yeah, that undefined method is something that was anticipated to make it into ZC 1.5.5; however, was pushed out to ZC 1.6.0 which wasn't "realized" until well after the plugin was released. That line can be restored to what is provided in a default ZC store as provided by the likes of includes/templates/template_default/templates/tpl_checkout_confirmation_default.php. It was incorporated to provide support for paypal InContext. The alternative would be to add an applicable function to includes/classes/payment.php like shown in the v1.6.0 version of the same file. Or like pretty much any of the functions in that file.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

20 Oct 2017, 9:11 PM
#402
saftek avatar

saftek

New Zenner

Join Date:
Apr 2012
Posts:
27
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

Thanks. That clears #2... I had already stripped that bit of code from the page... actually left it as it was prior.

Still haven't figured out #1 - why the calendar doesn't show up ... can manually input a date at the moment, but no calendar to pick from. Since this worked last week, before updating 155e and 251... it has to be in this new code someplace.

20 Oct 2017, 10:07 PM
#403
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Order Delivery Date Support Thread

saftek:

Thanks. That clears #2... I had already stripped that bit of code from the page... actually left it as it was prior.

Still haven't figured out #1 - why the calendar doesn't show up ... can manually input a date at the moment, but no calendar to pick from. Since this worked last week, before updating 155e and 251... it has to be in this new code someplace.
Being javascript/jquery, my first recommendation is to verify html validation, next is to identify what jquery is loaded as seen at the proposed point of execution? I'd step in more if I was at a computer, but not too much of that diagnostics can be done from my mobile (easily).

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

20 Oct 2017, 10:55 PM
#404
saftek avatar

saftek

New Zenner

Join Date:
Apr 2012
Posts:
27
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

mc12345678:

Being javascript/jquery, my first recommendation is to verify html validation, next is to identify what jquery is loaded as seen at the proposed point of execution? I'd step in more if I was at a computer, but not too much of that diagnostics can be done from my mobile (easily).

I appreciate your patience and assistance. Not seeing any html related errors. jquery -1.12.0min.js loading, looks like the appropriate jscripts are loading... jscript_b-calendar, mootools etc.

Via console I see : TypeError: B.getTag is not a function in the calendar JS.

21 Oct 2017, 12:32 AM
#405
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Order Delivery Date Support Thread

saftek:

I appreciate your patience and assistance. Not seeing any html related errors. jquery -1.12.0min.js loading, looks like the appropriate jscripts are loading... jscript_b-calendar, mootools etc.

Via console I see : TypeError: B.getTag is not a function in the calendar JS.
So this is aggravating. The jscript_b-calendar.js file is not the same that I have on my functional ZC 1.5.5 site that also has jquery 1.12.0. The "new" file is a year younger and is written differently to not have the B.getTag command and other code.

I'm going to get this up on github and then try to package for re-release...

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

21 Oct 2017, 12:44 AM
#406
saftek avatar

saftek

New Zenner

Join Date:
Apr 2012
Posts:
27
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

mc12345678:

So this is aggravating. The jscript_b-calendar.js file is not the same that I have on my functional ZC 1.5.5 site that also has jquery 1.12.0. The "new" file is a year younger and is written differently to not have the B.getTag command and other code.

I'm going to get this up on github and then try to package for re-release...

LOL... computer programs are a perfect home for gremlins!

21 Oct 2017, 11:28 AM
#407
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Order Delivery Date Support Thread

saftek:

LOL... computer programs are a perfect home for gremlins!
The change is shown here: https://github.com/mc12345678/order-delivery-date/commit/9d1424145968e775bb870d83a2314d690af32add

I haven't uploaded the other changes I discussed earlier, yet. That commit is the one that was supposed to be with this plugin's distribution. The thing that primarily made/allowed it to work with ZC 1.5.5...

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

21 Oct 2017, 6:12 PM
#408
saftek avatar

saftek

New Zenner

Join Date:
Apr 2012
Posts:
27
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

copied the code provided. Still not seeing the calendar and getting the following error in the console...

TypeError: el.addEvent is not a function jscript_b-calendar.js:451:4

21 Oct 2017, 6:35 PM
#409
saftek avatar

saftek

New Zenner

Join Date:
Apr 2012
Posts:
27
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

saftek:

copied the code provided. Still not seeing the calendar and getting the following error in the console...

TypeError: el.addEvent is not a function jscript_b-calendar.js:451:4

recopied the file... no errors from b-calendar file now. But am working out the following errors...

TypeError: MooTools.upgradeLog is not a function[Learn More] jscript_a-mootools.js:360:37475
<anonymous> /includes/modules/pages/checkout_shipping/jscript_a-mootools.js:360:37475
presto /includes/modules/pages/checkout_shipping/jscript_a-mootools.js:27:464
Browser.detect /includes/modules/pages/checkout_shipping/jscript_b-calendar.js:15:5235
<anonymous> /includes/modules/pages/checkout_shipping/jscript_b-calendar.js:15:5360

#2
ReferenceError: Calendar is not defined[Learn More] index.php:152:42
<anonymous> /index.php:152:42
f /includes/modules/pages/checkout_shipping/jscript_a-mootools.js:57:68
create/< /includes/modules/pages/checkout_shipping/jscript_a-mootools.js:58:39
fireEvent/ /includes/modules/pages/checkout_shipping/jscript_a-mootools.js:186:113
forEach self-hosted:269:13
fireEvent /includes/modules/pages/checkout_shipping/jscript_a-mootools.js:186:86
b /includes/modules/pages/checkout_shipping/jscript_a-mootools.js:264:1
d /includes/modules/pages/checkout_shipping/jscript_a-mootools.js:180:54

21 Oct 2017, 6:48 PM
#410
saftek avatar

saftek

New Zenner

Join Date:
Apr 2012
Posts:
27
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

saftek:

recopied the file... no errors from b-calendar file now. But am working out the following errors...

TypeError: MooTools.upgradeLog is not a function[Learn More] jscript_a-mootools.js:360:37475
<anonymous> /includes/modules/pages/checkout_shipping/jscript_a-mootools.js:360:37475
presto /includes/modules/pages/checkout_shipping/jscript_a-mootools.js:27:464
Browser.detect /includes/modules/pages/checkout_shipping/jscript_b-calendar.js:15:5235
<anonymous> /includes/modules/pages/checkout_shipping/jscript_b-calendar.js:15:5360

#2
ReferenceError: Calendar is not defined[Learn More] index.php:152:42
<anonymous> /index.php:152:42
f /includes/modules/pages/checkout_shipping/jscript_a-mootools.js:57:68
create/< /includes/modules/pages/checkout_shipping/jscript_a-mootools.js:58:39
fireEvent/ /includes/modules/pages/checkout_shipping/jscript_a-mootools.js:186:113
forEach self-hosted:269:13
fireEvent /includes/modules/pages/checkout_shipping/jscript_a-mootools.js:186:86
b /includes/modules/pages/checkout_shipping/jscript_a-mootools.js:264:1
d /includes/modules/pages/checkout_shipping/jscript_a-mootools.js:180:54

replaced the mootools.js with the one from github, cleared error #1. still have #2

21 Oct 2017, 6:58 PM
#411
saftek avatar

saftek

New Zenner

Join Date:
Apr 2012
Posts:
27
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

saftek:

replaced the mootools.js with the one from github, cleared error #1. still have #2

Cleared #2 by deleting calendar and mootools files and replacing with those copied from github. Now see the the calendar and all appears to be working. Thanks for your efforts! Cheers

21 Oct 2017, 10:52 PM
#412
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Order Delivery Date Support Thread

saftek:

Cleared #2 by deleting calendar and mootools files and replacing with those copied from github. Now see the the calendar and all appears to be working. Thanks for your efforts! Cheers
So to clarify, the files that are basically in this path: https://github.com/mc12345678/order-delivery-date/tree/master/155_files on github are the ones that worked? Or did you go elsewhere in github?

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

22 Oct 2017, 5:33 PM
#413
saftek avatar

saftek

New Zenner

Join Date:
Apr 2012
Posts:
27
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

mc12345678:

So to clarify, the files that are basically in this path: https://github.com/mc12345678/order-delivery-date/tree/master/155_files on github are the ones that worked? Or did you go elsewhere in github?

Yes, I pulled from that area. My file sizes are Moo=60294, calendar=24680 if that helps. If there are identifiers within the files you can use, let me know.

Cheers.

1 Nov 2017, 6:04 PM
#414
plantman avatar

plantman

New Zenner

Join Date:
Sep 2017
Location:
Rockwood, TN
Posts:
10
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

I could use some help.
I noticed some talk about some of my issues but I'm not sure they are the same.

I am running ZC Version 1.5.5e.
This is a new shop from scratch.
I installed the files from the beginning of this thread that I downloaded in September, 2017.
#1) I am not getting a calendar to choose a date from but am getting the field I can fill in.
#2) When I get to Step 3 - Order Confirmation, I don't find a way to submit the order. This may not have to do with the Delivery Date addon but I don't know as I have not used the shop without it. I will be running more tests for this.

Are there some other files I need?
Thanks :D

1 Nov 2017, 6:44 PM
#415
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Order Delivery Date Support Thread

plantman:

I could use some help.
I noticed some talk about some of my issues but I'm not sure they are the same.

I am running ZC Version 1.5.5e.
This is a new shop from scratch.
I installed the files from the beginning of this thread that I downloaded in September, 2017.
#1) I am not getting a calendar to choose a date from but am getting the field I can fill in.
#2) When I get to Step 3 - Order Confirmation, I don't find a way to submit the order. This may not have to do with the Delivery Date addon but I don't know as I have not used the shop without it. I will be running more tests for this.

Are there some other files I need?
Thanks :D
Haven't gotten to a point of submitting the change to the forum, but yes, there were some issues with the download submitted to the ZC forum. The first of which was that the zip file was corrupted, then when it was "repaired" the wrong (older) moo tools related javascript files were provided, which means the download didn't offer the desired/expected functionality.

That's been corrected in github, but needs to be submitted. Further in correcting that issue, it was rewritten to not require modification to core files (just template related files) by way of using notifiers that exist in ZC 1.5.5.

These files are found at: https://github.com/mc12345678/order-delivery-date/archive/master.zip

What it means (and instruction still needs to be written/rewritten to address this drastic change), but basically would recommend undoing the file changes that were made using the current install and then apply/incorporate the files from the 155_files folder of the download. The changes that have been made to those files can remain, they just are unnecessary.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

1 Nov 2017, 6:52 PM
#416
plantman avatar

plantman

New Zenner

Join Date:
Sep 2017
Location:
Rockwood, TN
Posts:
10
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

Just to make sure I am correct.
I am going to revert the changed files from the Delivery Date addon back to the Original ZC files.
Then Get the files from the github link and use those instead.

Thanks again.

1 Nov 2017, 7:02 PM
#417
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Order Delivery Date Support Thread

plantman:

Just to make sure I am correct.
I am going to revert the changed files from the Delivery Date addon back to the Original ZC files.
Then Get the files from the github link and use those instead.

Thanks again.

That is the suggestion. As far as reverting back to the original ZC files, if the files modified by this plugin were clean original ZC files, then yes restore them, if they had been modified by some other plugin, then they should be restored back to that. (Ultimately restored to the condition they were before adding this plugin).

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

2 Nov 2017, 5:00 PM
#418
plantman avatar

plantman

New Zenner

Join Date:
Sep 2017
Location:
Rockwood, TN
Posts:
10
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

I have that working now. I still had to go in and take care of line 187 but it is working now.
Now when an order is placed the confirmation emails (admin and customer) are not showing the delivery date. The date is there when I look at it from the admin.
Can you give me some direction to fix that.
Thanks

2 Nov 2017, 5:15 PM
#419
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Order Delivery Date Support Thread

plantman:

I have that working now. I still had to go in and take care of line 187 but it is working now.
Now when an order is placed the confirmation emails (admin and customer) are not showing the delivery date. The date is there when I look at it from the admin.
Can you give me some direction to fix that.
Thanks

Html or plain text email?

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

2 Nov 2017, 5:19 PM
#420
plantman avatar

plantman

New Zenner

Join Date:
Sep 2017
Location:
Rockwood, TN
Posts:
10
Plugin Contributions:
0

Re: Order Delivery Date Support Thread

Sorry, I thought of that just now. They are the plain text emails. A lot of our customers are schools and html emails don't go through some of the systems well.