Disable Express Payment Options in the Checkout

Topic summary

Goal: Hide express/accelerated payment buttons (e.g., PayPal Express) in Checkout after Checkout.liquid deprecation using Checkout Extensions.

What didn’t work:

  • Injecting {{ content_for_additional_checkout_buttons }} no longer affects Checkout.
  • Using HideOperation couldn’t disable PayPal Express without also disabling PayPal (same ID). Toggling visibility mid-checkout caused CLS (layout shift).

Suggestions raised:

  • Third‑party apps (e.g., PayRules), but these mirror HideOperation limits.
  • Deactivating PayPal in Settings removes express buttons but also removes PayPal entirely.

Resolution (latest update):

  • API version 2024_07 adds PaymentCustomizationPaymentMethod with a placements field. Hiding placements: AcceleratedCheckout via a Shopify Function cleanly removes acceleration/express options without affecting standard methods. No third‑party app needed. A code snippet demonstrating this approach was shared and is central to the solution.

Implementation notes:

  • Requires creating an app and a Shopify Function via the Partners Portal (Payment Customization function). Docs and a tutorial example link were provided for guidance.

Status: Resolved with a native, maintainable solution; setup is technical and may require a developer.

Summarized with AI on December 18. AI used: gpt-5.

Yep. As Nichharp says it’s a bit more complicated than just placing the code somewhere. Here’s an example of how to hide the Paypal Express button, https://jpllosa.blogspot.com/2024/08/shopify-function-extension-example.html, if you want to learn more about it in detail.