shanks73 Posted January 30, 2009 Share Posted January 30, 2009 Hello, This one is most probably a simple one. I have been away from php for a while now due to building an extension to my house. I am getting a parse error in the /catalog/includes/classes/payment.php The code I have is exactly as in the text file. if (is_array($this->modules)) { if ($coversAll) { $addThis='if (document.checkout_payment.cot_gv.checked) { payment_value='cot_gv'; } else '; } else { $addThis=''; } My problem is parsing the payment_value='cot_gv'; line. Thanks Tom Quote Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted January 30, 2009 Share Posted January 30, 2009 Have you thought of changing it to payment_value="cot_gv"; Quote Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
shanks73 Posted January 31, 2009 Author Share Posted January 31, 2009 Have you thought of changing it to payment_value="cot_gv"; Hi Geoffrey that worked a treat. Many Thanks. Tom Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.