How to hide Shop Pay, Apple Pay and PayPal buttons on Shopify: product page, cart and checkout

Express checkout buttons show in three places, and each has its own control. On the product page and in the cart, it is a theme setting or a small theme edit. At the top of checkout, you turn the payment method off in your payment settings or, on Shopify Plus, hide it by rule with a custom app.

Four stacked pill-shaped buttons on a pale lilac background, the top two only dashed outlines, the lower two solid dark violet and purple.

Shopify calls them accelerated checkout buttons. Older themes call them dynamic checkout buttons. They are the Shop Pay, Apple Pay, Google Pay and PayPal buttons that let a customer pay without filling in the form. Two of the three places are in your theme. The third is checkout, where what you can do depends on your plan, and it is part of our Shopify Plus checkout work.

Product page: a theme setting

This one needs no code.

  1. In your Shopify admin, go to Online Store and click Edit theme.
  2. Open Products, then Default product, or the product template you want to change.
  3. In the Product information section, click Buy buttons.
  4. Deselect Show accelerated checkout buttons. In Dawn the checkbox is called Dynamic checkout buttons.
  5. Save.

A featured product section on the home page has the same checkbox in its own Buy buttons block.

Two limits to know. The setting hides all the buttons together, you cannot keep Shop Pay and hide PayPal here. And it works per template: to hide the buttons on some products only, create a second product template, assign it to those products and turn the checkbox off there.

If no wallet is active in your payment settings, the button you see is the plain Buy it now one. The same checkbox removes it.

Cart: it depends on the theme

Some themes have a setting. In Horizon it is under Theme settings, Cart, Accelerated checkout buttons.

Dawn has no setting for the cart page. The buttons come from these lines in sections/main-cart-footer.liquid:

{%- if additional_checkout_buttons -%}
  <div class="cart__dynamic-checkout-buttons additional-checkout-buttons">
    {{ content_for_additional_checkout_buttons }}
  </div>
{%- endif -%}

To hide them, duplicate the theme, remove that block in the copy, preview the cart, then publish the copy. Do not edit the live theme. If your theme is not Dawn, search its code for content_for_additional_checkout_buttons, the tag is the same in every theme.

Removing the tag is cleaner than hiding the buttons with CSS, because the buttons are not loaded at all.

Checkout: a payment setting, or Shopify Plus

At the top of checkout the buttons sit in a section called Express Checkout. Shopify decides the order and shows first the method that is fastest for that customer. Your theme has no control here.

On every plan, you can turn a payment method off. That is a payment setting, not a display setting: the method disappears from the whole store, not only from the top of checkout.

  • Shop Pay: Settings, Payments, Manage in the Shopify Payments section, More actions, Manage payment methods, then deactivate Shop Pay in the Shop section. Shopify warns that subscriptions created with Shop Pay will fail after you deactivate it, and that Shop sign-in features go with it.
  • Apple Pay and Google Pay: Settings, Payments, Manage for your card payment provider, Wallets section.
  • PayPal: deactivate PayPal Express Checkout in Settings, Payments.

On Shopify Plus, there is a second route. A custom app built on Shopify’s Payment Customization API can hide the accelerated checkout options at checkout when the cart or the customer meets a condition you choose. For example, hide them for B2B customers, or when the cart holds a product that needs a note. The payment method stays active everywhere else.

We could not find, in Shopify’s documentation, a way to hide only the express section of checkout on the other plans while keeping the payment method active.

What you give up

Shopify says it plainly in its own help center: hiding accelerated checkout options might have a negative impact on your conversion rates. A returning customer with saved details pays in two taps. Without the button, that customer fills in the form.

So we hide them when there is a reason in the order, not for the look of the page. The reasons we see most often:

  • Your cart collects information the order needs, such as a terms checkbox, a gift note or a delivery date. Accelerated checkout buttons do not support these cart fields, and a customer who uses the button skips them.
  • An app changes the cart or converts currencies. Shopify lists these as possible conflicts.
  • Customers buy several variants together. A product page button buys one variant only.
  • Customers use discount codes. With Apple Pay on the cart page, there is no step where they can enter one.

In most of these cases, hiding the buttons on the product page and in the cart is enough. At checkout the form fields are already there, so we leave the express section on.

Before you publish

Test on a phone, with a real wallet. Which buttons appear depends on the customer’s device, browser and payment history. Not seeing Apple Pay on your office computer does not mean it is hidden.

Then place one test order from the product page, one from the cart and one from checkout, and check that each order has the information you need.

Keep reading

Tell us what you are working on

Book a 15-minute call, or write to us.

Book a call (opens in a new tab)