Tuesday, February 10, 2015

Set the default payment method Paypal direct and hide the Paypal express method

Edit your app/design/frontend/my/default/template/checkout/onepage/payment/methods.phtml

<script>
  $j('#p_method_paypal_direct').prop('checked', 'checked');
  payment.switchMethod('paypal_direct');
  $j('#checkout-payment-method-load > dt').css('display', 'none');
</script>

No comments: