how to remove paypal button form the product page but still keep using it as a express checkout?

how to remove paypal button form the product page but still keep using it as a express checkout?

tiãohappy
New Member
5 0 0

hello i'm having a problem with the paypal button on my product page. I would like to remove this button and replace it with the "buy now" button. However, when the customer is directed to the checkout, they still have paypal as an additional payment method.

 

This is now:

imagem_2024-07-08_152030570.png

i want this:

imagem_2024-07-08_152136494.png

but still with the paypal as a express checkout:

imagem_2024-07-08_152523886.png

 

 

Replies 7 (7)

Moeed
Shopify Partner
4327 1113 1365

Hey @tiãohappy 

 

Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.

 

Best Regards,
Moeed

Need a Shopify Specialist? Chat on WhatsApp


- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
tiãohappy
New Member
5 0 0

here is the link:

stayeased.com 

Moeed
Shopify Partner
4327 1113 1365

Hey @tiãohappy 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.shopify-payment-button {
    display: none !important;
}
</style>

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify Specialist? Chat on WhatsApp


- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
tiãohappy
New Member
5 0 0

so i followed your instructions perfectly but it ended up removing the "buy now" button and only the "add to cart" button remained. i would like the buy now button to remain too. Like this:

Captura de tela 2024-07-08 152129.png

Rahul_dhiman
Shopify Partner
226 41 40

Hello @tiãohappy 

1) to remone the Paypal button:-

Go to online store ---------> themes --------------> actions ------> edit code------->Theme.css----> line number 10062
search this code

.shopify-payment-button {
margin-top: 20px;
text-align: center;
}

and replace with this code.

.shopify-payment-button {
display: none !important;
}

 

and the reslt will be
9.png

 

2)   To add "buy now" button - This will need some custom coding to add the buy now button in your product page.
   If you need, i can help you with this.

If this was helpful, hit the like button and mark the job as completed.
Thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -rahul@prowebcoder.com - Skype: live:dhiman.639
Checkout Some Free Sections Here
tiãohappy
New Member
5 0 0

i would like to remove paypal button and add the buy it now button that leads directly to checkout. I dont know about coding so your help would be very good😁

tiãohappy
New Member
5 0 0

how can i put the "buy it now" button?? after removing paypal button