Make paypal the default payment option

davcogdavcog Member
in Help edited January 2012
Hi

Is there a way of making pay with paypal the default option on the checkout page? I have a store and I want to accept both paypal and credit cards but I want to "encourage" customers to use paypal when possible. At the moment pay with credit card is the default option. Can I change this to paypal?

Thanks
Dave
Tagged:
Comments
  • lukeluke FoxyCart Team
    Hello Dave. That's an interesting question that hasn't come up before. Try adding this to your checkout template:

    jQuery(document).ready(function() {
    if (!FC.checkout.config.postedCheckout) {
    jQuery("#fc_payment_method_paypal").click();
    FC.checkout.updatePaymentDisplay();
    }
    });
Sign In or Register to comment.