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
6963 1878 2295

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

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


tiãohappy
New Member
5 0 0

here is the link:

stayeased.com 

Moeed
Shopify Partner
6963 1878 2295

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

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


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
761 145 157

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

Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront

Contact here


BEST CUSTOMER ACCOUNTS APP WITH CUSTOM WISHLIST OPTION 
TRY OUR APP :

PWC: Customer Accounts & Pages

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