Remove/hide the amazon pay button form Checkout page

Hey

I would like to remove/ hide the amazon pay button from the checkout page. The url is https://outdoordogsupply.com

Hello @odsadmin,

Thanks for asking. :slight_smile:

To hide Amazon Pay button only on checkout page please use #pay_with_amazon selector and then prefix the same with .woocommerce-checkout class. After that all you need to do is use CSS display property. Here is a sample code that you can use to get started:

.woocommerce-checkout div#pay_with_amazon {display: none;}

I am sharing links of few resources if you would like to learn more.

https://www.w3schools.com/cssref/pr_class_display.asp

Thanks.

So that code took off the Button but it did not take off the Have an Amazon account?. All I see for this whole thing is a class of wc-amazon-checkout-message wc-amazon-payments-advanced-populated

How can I remove that whole spot

Hello @odsadmin,

Please add following CSS to remove Amazon Account text:

.wc-amazon-checkout-message {display: none;}

Thanks.

That worked Great!! Thank you so much!!

On behalf of my colleague, you’re welcome. Cheers