Hiding Accelerated Checkout Buttons (PayPal, Appple Pay, GPay) not working anymore

thcurran
Tourist
11 2 3

Dear Community,

 

i need your help, with hiding the accelerated checkout buttons in the shopify checkout.

 

We did the workaround as described in this tutorial: https://community.shopify.com/c/Shopify-Design/Remove-the-Express-Checkout-buttons-from-first-Checko...

 

This has worked fine for the past year or so, but the buttons have now started reappearing in certain scenarios.

 

Here is a brief description of how we set up the custom code:

 

Adding the buttons to the cart template. They are present. 

Screenshot 2020-09-18 at 12.34.14.png

 

Hiding the buttons via css "d-none" class.

Screenshot 2020-09-18 at 12.45.08.png

 

Cookies are set by the buttons on the cart page.

Screenshot 2020-09-18 at 12.45.30.png

 

Yet, buttons are displayed in the checkout.

Screenshot 2020-09-18 at 12.46.51.png

 

We started noticing this last week. Most commonly in incognito browser session, chrome and safari on mobile devices.

 

I am guessing, this has something to do with cookies. I believe, the checkout checks, wether the accelerated checkout buttons cookies exist in the browser and then displays the buttons. I might be wrong.

 

Has anyone noticed a change how the buttons behave in the checkout?

 

Thank you

 

Rewindd22988
New Member
9 0 0

Looks like they have fixed it

 

0 Likes