Yep, that addthis plugin is "polluting" the javascript/jQuery pool and the AJAX checkout is very dependent on that pool being "clean".
Yep, that addthis plugin is "polluting" the javascript/jQuery pool and the AJAX checkout is very dependent on that pool being "clean".
Yikes......alright, I will see if we can eliminate that from the checkout pages. Not sure exactly how to do that since it's part of our global header file (in common/html_header.php).
Until I can figure it out, I'll keep the PSS setting turned off as swguy suggested.
Is there a php FLAG or something I can put in the HEAD area to determine if we're on the checkout_payment page, and therefore not have that part of the code outputted? Let me know. If not, I'll do some more hunting around.
Last edited by Jeff_Mash; 12 Aug 2019 at 09:19 PM.
- Jeff
Could put it within the following php check:
Code:<?php if (empty($_GET['main_page']) || substr($_GET['main_page'], 0, 9) != 'checkout_') { ?> //script code <?php } ?>
Last edited by mc12345678; 12 Aug 2019 at 09:40 PM.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Where's the love for $current_page_base ?
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
One other thing to check ... @Jeff_Mash, what is the store's setting for Configuration->Gzip Compression? If that's enabled, try disabling the compression and re-enabling the AJAX checkout. I'll bet that it's that setting that is causing the issue.
Bookmarks