Hide Paypal Button based on the specific Location on checkout page

Hide Paypal Button based on the specific Location on checkout page

ecomdevstar
Excursionist
16 0 3

Hi Experts,

I hope you are doing well.

How can I hide the paypal button based on some locations on Checkout page?

I'm on already Shopify Checkout Extensibility.

Can we use the Extension for this?

 

Replies 3 (3)

Liam
Community Manager
3108 341 880

HI Ecomdevstar,

 

Since PayPal is an express checkout, it's not currently possible to hide it dynamically with extensibility. Support for this may be added in the future however.

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

LudovicD
Visitor
1 0 0

Hello,

Please can you tell me if this fonctionnality has been developped ? 

We have the same problem on our websites Shopify+. 

Thank you. 

Ludovic

AlexHeard
Shopify Partner
64 0 1

You can hide the PayPal button based on specific locations on the checkout page using the PayRules: Hide Payment Methods app. Here's how you can do it:

 

  1. Choose "PayPal" from the "Select payment methods" field.
  2. In the "Countries" field, select "Hide if found" and add the specific country. Or you can utilize the “Postal/zip codes” field if you prefer.

paypal-country.png

 

This will ensure that the PayPal button is hidden based on the specified locations.