Remove “or” checkout with PayPal in cart
-
This is a tutorial on how to remove the “or Checkout with PayPal” button that shows in the CART page.
I’m sure there are others just like me, who want to require the visitor to go to the checkout page, and then select PayPal (as a gateway) and then pay.
Specifically I require this to require users to select and check the “Agree to Terms and Conditions” on my checkout page.
If you want to remove the “or Checkout with PayPal (shown as button)” on the CART page, you can do so with this code:
https://gist.github.com/tripflex/4d15783f47b046774cdbdcd3c986227aBasically it adds a function that will allow you to remove action/filters that were added with a callback to a method of a specific object, which you don’t have access to.
- The topic ‘Remove “or” checkout with PayPal in cart’ is closed to new replies.