Quote Originally Posted by brittainmark View Post
Have just reopened my shop after 9 weeks. updated square and have seen my first payment so all good. While testing the site I thought it would be nice to hide the credit card details until that method was selected. Made some javascript that does the job but cannot find where the credit card radio button is located so that I can add an onclick/change to the button to display the fields. Any pointers as to where I would add the onclick/change?

Thanks in anticipation.
i would look here:

https://github.com/zencart/zencart/b....php#L125-L140

includes/templates/template_default/templates/tpl_checkout_payment_default.php

i think that is what you are asking. and i'll assume you know about the whole template override thing.

best.