Thanks. The modified file has fixed the problem. Had already carried out the post #478. Any suggestions re the calendar not showing up ?
Thanks. The modified file has fixed the problem. Had already carried out the post #478. Any suggestions re the calendar not showing up ?
This could be from a number of things, between load sequence of the mootools javascript, the presence/absence of css (button may be there, but not where it is expected), template modifications and whether the date box is tied to the correct object, as part of sequence loading whether some other javascript/jquery is prohibiting connecting/executing, a javascript failure in something else, the page not passing html validation, etc...
I (or I would think almost any forum member) could take a look at some of the above by knowing where on the Internet to look at and when that/those individuals are available to do so.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
I've just had a look in the Safari javascript console and the error coming up is related to the code:
if (undefined !== typeof (jQuery)) {
jQuery.noConflict();
}
at the top of the jscript_a-mootools.js file. The error is "Can't find variable: jQuery
Appreciate any help in sorting this out.
Basically that means that jQuery is not being loaded before the mooTools.js file. This seems to imply that the header file(s) for the page load have been modified away from standard content for the last several Zen Cart versions. Specifically includes/templates/YOUR_TEMPLATE/common/html_header.php.
Effectively, somewhere above/before the mootolls file, jQuery should be loaded. It has been verified to function with the version released with ZC 1.5.6c and with the alpha version of ZC 1.5.7. Suggest comparing your version of that file with either of the two versions available either responsive_classic or template_default...
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Ok. From your suggestion I've replaced the html_header.php file with the 1.5.6c version, and that has gotten rid of the Mootools error, but I am now left with the following:
TypeError: el.addEvent is not a function. (In 'el.addEvent('focus', function(cal){ this.toggle(cal); }.pass(cal, this))', 'el.addEvent' is undefined) on line 454 of jscript_b-calendar.js
I've done a fair amount comparing of other files to try to find the problem, but have had no success.
I have this installed on what has now become a Zen Cart 1.5.7 site using responsive_classic primarily. Looking through the code as able, it seems that there may be an issue connecting with the box that is to represent/hold the date information. Again, need to be sure that the page validates against html and that the location to hold the date has the applicable html code to attach to the date block. That should be present in the provided checkout_shipping file at least in the modified code section.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Hi
Little bug that seems to have always existed with this -
If you select your delivery date then click 'Change Address' - on return to 'step 1 of 3' it doesn't remember the delivery date.
Using 1.5.6c and latest delivey date plugin - but I've had this issue forever.
Good point, though I wonder if it is possible to capture data from the page when selecting that or any other "button" on the page. Will take a look at the possibility of capturing the selection in the session when making the selection so that if a selection is made and navigation away from the page and subsequent return will retain the selection. May be a bit, but issue will be noted in github.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Submitted as an issue: https://github.com/mc12345678/order-...-date/issues/5
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Bookmarks