How can I remove the PayPal option of of our update your credit card form? Please help?
I know on order forms that if you put the below into the footer HTML then it will hide the button:
< script>
jQuery('.checkoutWithPayPalLink').hide();
< / script >
ignore the spaces i needed to get this to show
<script>jQuery('.checkoutWithPayPalLink').hide();</script >
lol well there ya go Thanks @martinc!
To suppress the (misleading) PayPal buttons in the Shopping Cart form, make this change to your Layout CSS:
.checkoutPaypalSmartPaymentButtons { /* Container for the PayPal smart payment buttons */ margin: 0 30px 10px; float: right; clear: both; display: none; // make it disappear }
This is important because my credit card customers may not want their card processed by PayPal.
Or you could:
as noted above ;)Do you mean ā<script>jQuery(ā.checkoutWithPayPalLinkā).hide();</script >ā? Does not work for me. Iām using a basic, off-the-shelf Form, I didnāt develop it myself. I donāt have access to the HTML, the only thing they let me customize is the CSS.
When I copy the ā<script>ā¦ā in the Footer, it appears verbatim in the form, where the customer can see the raw command. And the PayPal buttons are still there.
My fault folks. I didnāt realize that this was hijacked to a completely unrelated topic. Itās too confusing for someone to search for answers when a new topic is introduced into a thread (especially three years later), so Iām turning of commenting for this thread.