Okay, after re-reading the install file and studying this thread, jscript_square.php requires modification to work with square.
I found:
PHP Code:
if ($payment_modules->in_special_checkout() || empty($square) || !$square->enabled) {
return false;
}
and replaced it with:
PHP Code:
//mikeel100 - file:///var/www/zencart-1.5.7d/docs/one_page_checkout/readme.html#details
if ($payment_modules->in_special_checkout() || !defined(MODULE_PAYMENT_SQUARE_STATUS) || MODULE_PAYMENT_SQUARE_STATUS != 'True' || (!defined('MODULE_PAYMENT_SQUARE_APPLICATION_ID') || MODULE_PAYMENT_SQUARE_ACCESS_TOKEN == '')) {
return false;
}
//end mikeel100
Next, I closed admin and catalog...and cleared Firefox cache.
I still have the issue so I put the original jscript back and put the corrected code below it.
That did not work as well.
Jscript is not blocked in my ff browser.
I also copied the entire jscript folder from templates_default into my ezfeeds plugin folder but that did not help.
I have one jscript unique to ezfeeds but it is a simple scroll to top of page script:
Code:
<script>
$(window).scroll(function() {
if($(this).scrollTop() != 0) {
$('#myBtn').fadeIn("fast");
} else { // else
$('#myBtn').fadeOut("fast");
}
});
function topFunction() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}
</script>
I have exhausted everything I know to get those input boxes to show up.
Ideas welcome.
Bookmarks