Remove payment options (Paypal, ShopPay, GPay) from Cart (Dawn Theme)

Hi. How do I remove the 3 payment options (Paypal, ShopPay, GPay) buttons in my cart page?

I’m using the Dawn theme.

1 Like

@MKS2 Can you send me store url?

Hello There,

Please share your store URL and password.
So that I will check and let you know the exact solution here.

URL is mukaswim.myshopify.com

password: cheenu

1 Like

Hello There,

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset >base.liquid and paste this at the bottom of the file:
.cart__dynamic-checkout-buttons.additional-checkout-buttons {
display: none;
}

Screenshot :- https://img001.prntscr.com/file/img001/Ybcp5gPxSwSj-y9ehssmvA.png

Thanks @ZestardTech I couldn’t find the base.liquid file. Is the base.css file the same? I pasted it there but didn’t seem to work.

Share me screenshot where to paste code.

Actually @ZestardTech when i’m viewing the Cart page in the editor I don’t see the payment options anymore. But if I view the site clicking on ‘View your store’, then in the Cart page I can see that the 3 payment options is still there.

Hello working fine!

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset >base.css and paste this at the bottom of the file:
.cart__dynamic-checkout-buttons.additional-checkout-buttons {
display: none!important;
}
5 Likes

Hello there,

screenshot :- https://img001.prntscr.com/file/img001/BBMWbE1MRYaHwuxy1Dxm-Q.png

@ZestardTech I’ve done as you’ve said and pasted the code in Asset>base.css right at the bottom. (see screen shot)

But again, i can still see the payment options when i view the store outside of using the editor.

Hello there,

resolved this one error.

Screenshot :-

@ZestardTech thank you for your help. I’m probably not explaining myself well. Based on your screenshot, yes I see that too in my editor. So when i click on Themes>Customise>Cart, it looks good. Payment options is not visible.

But if I click on View your store, and view cart, I can still see the 3 payment options. Any idea why they both don’t show the same thing?

Screen Shot 2022-03-08 at 11.53.29 pm.png

Yes that worked!!! thank you!

1 Like

Thank you for your response. If helpful then please Like and Accept Solution All.

Hi @ZestardTech . Thanks so much for your help. Unfortunately now while the payment buttons are removed from cart, it is also missing from my checkout page. I would still like the 3 options available on checkout.

Are you able to help?

thanks

I couldn’t find a base.css file in my theme.

However, the cart.liquid template has this code:

{% if additional_checkout_buttons %}
            {{ content_for_additional_checkout_buttons }}

          {% endif %}

Enclosing this in a comment (or deleting it) will remove the undesired buttons from the cart page.

{% comment %}
          ML 12-8-22, remove comment to restore PayPal button to cart page
          {% if additional_checkout_buttons %}
            {{ content_for_additional_checkout_buttons }}

          {% endif %}
          {% endcomment %}