Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default Default Payment Method Selection problem with FEC

    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.

  2. #2
    Join Date
    Sep 2009
    Posts
    48
    Plugin Contributions
    0

    Default Re: Default Payment Method Selected

    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.

  3. #3
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default Re: Default Payment Method Selected

    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.

  4. #4
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default Re: Default Payment Method Selected

    Hmm i just as a test whacked this in:

    PHP Code:
    echo '<!--test-->'
    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.

    ill report back :)

  5. #5
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default Re: Default Payment Method Selected

    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.

  6. #6
    Join Date
    Sep 2009
    Posts
    48
    Plugin Contributions
    0

    Default Re: Default Payment Method Selected

    Quote Originally Posted by Andy_GS View Post
    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.

  7. #7
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default Re: Default Payment Method Selected

    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.

  8. #8
    Join Date
    Sep 2009
    Posts
    48
    Plugin Contributions
    0

    Default Re: Default Payment Method Selected

    Quote Originally Posted by Andy_GS View Post
    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.
    Thanks Andy, that fixed it!!!

    Bill

  9. #9
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default Re: Default Payment Method Selected

    Hi Bill,
    glad we managed to sort each other issues out :)

    regards
    Andy.

  10. #10
    Join Date
    Sep 2009
    Posts
    48
    Plugin Contributions
    0

    Default Re: Default Payment Method Selected

    Quote Originally Posted by Andy_GS View Post
    Hi Bill,
    glad we managed to sort each other issues out :)

    regards
    Andy.
    Yep...and I just wish answers were this easy to come by all the time.

 

 

Similar Threads

  1. v153 store shipping METHOD selection for order only, with FEC?
    By abcisme in forum General Questions
    Replies: 1
    Last Post: 23 Feb 2015, 06:14 PM
  2. v151 Paypal Express default select the cheapest method regardless the customers' selection
    By kagaroo in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 18 Nov 2013, 08:45 AM
  3. Default selection problems with 3 different payment types
    By sam_m in forum Addon Payment Modules
    Replies: 1
    Last Post: 18 Nov 2010, 08:10 PM
  4. Shipping method default selection
    By kanine in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 3 Sep 2010, 03:06 AM
  5. Default language selection problem
    By JRDMcLAREN in forum Addon Language Packs
    Replies: 6
    Last Post: 4 Jul 2006, 06:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg