Quote Originally Posted by DrByte View Post
Do I correctly read that Zen Cart is properly outputting the page-specific js that you've asked it to?
And that your problem is really just that your custom javascript/jquery code isn't performing as you intended?
More trial and error got things working:

1) moved all javascript to its proper place into the bottom of the page in tpl_footer.php, since best practice is to always put all javascript at the bottom of the page

2) use this code for now:

if ($("span:contains('Check Out')")) {
$(".btn-primary").css("color", "green");
}

However, the template uses Twitter Bootstrap, which contains horridly excessively complicated css button code, requiring considerably more testing to determine what colors to use etc. depending on the text.

The jQ code above changes the actual css of the .btn-primary class, in this case the text color for testing.

Thank you, Tom