Hi guys,
we've just enabled paypal on our website to accompany our credit card payement module.
How do i make it so that one of them is the default selected? I see sort order in the menus but theres nothing that says default selected.
regards
Andy.
Hi guys,
we've just enabled paypal on our website to accompany our credit card payement module.
How do i make it so that one of them is the default selected? I see sort order in the menus but theres nothing that says default selected.
regards
Andy.
Hi Andy,
I just had the same question so did some searching and found this thread. It would be nice to have it in the admin/payment area so you could easily change the default, but this will solve your problem:
http://www.zen-cart.com/forum/showpo...2&postcount=23
I should mention that if you are using a custom template that has overridden the file to be modified the path to the file to modify will be:
/includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_payment_default.php NOT /includes/templates/template_default/templates/tpl_checkout_payment_default.php
Bill
Last edited by bpryor; 15 Oct 2010 at 06:34 AM.
Hey Bill,
did you manage to get that working on 1.3.8a ? The code on that thread is slightly different to mine.
tried placing the bits of code in the places that seem to match up and no dice, tried my custom template folder as well as the default folder and still didn't work
any ideas?
Andy.
Hmm i just as a test whacked this in:
next to the radial buttons but it doesn't register which means its being generate somewhere else i think we have FEC installed which will be where i next look.PHP Code:echo '<!--test-->';
ill report back :)
Aha,
i found it was in:
tpl_checkout_split.php (part of the FEC mod (fast easy checkout))
so all sorted now :)
thanks for the link to the thread.
Andy.
Hi Andy,
Funny, I was just coming back up here to post because I too use FEC and also found the code that needs to be changed in a different place....but not in the same file as you since we are probably using different FEC options. The file I needed to change was the FEC file "/includes/templates/MY_TEMPLATE/templates/tpl_checkout_stacked.php"
Glad you got yours fixed....now I have to go on a search to find out why my payment methods aren't respecting the sort order I set and are displaying in the wrong order....which means the wrong one is being set as the default.
Hey Bill,
Yeah, i just looked for the lines before the corrections and updated them and it worked for me.
Have you got any of them set to 0? I found that the first one had to be 1 rather than 0. not sure if thats helpful or not.
regards
Andy.
Hi Bill,
glad we managed to sort each other issues out :)
regards
Andy.