Jump to content

Error with PayPal Checkout button


Recommended Posts

Hi,

 

My clients go through PayPal to purchase my products, through the cart process. However, the PayPal button is stuck on the product page, and collides with the Add to Cart button as seen in the image.

 

I want to remove the PayPal button from the product page, but keep it in the cart process. Otherwise, clients can just click the PayPal button instead of the Add to Cart button and then pay for the product and pay $0 for shipping.

 

Regards,

 

Josh

 

post-1281946-0-25325000-1466991524_thumb.jpg

 

 

Link to comment
Share on other sites

You can hide Paypal button from all product pages by using single line of CSS code. If you don't have CSS knowledge, kindly share your website URL so that we can check the paypal button and can give you code accordingly.

My website is www.oziotech.com.au

 

appreciate that mate

Link to comment
Share on other sites

Thank you for sharing your website url.

 

You need to edit one core file of your prestashop store and add below code in /themes/default-bootstrap/css/global.css

 

#paypal-express-checkout-form {    display: none; }
 
If you don't want to edit core file, you can check below module, which allows you to add custom css or js code to any page of your website without modifying core files. Using this module, you can also decide whether to apply code to mobile phone or not.
 
Link to comment
Share on other sites

 

Thank you for sharing your website url.

 

You need to edit one core file of your prestashop store and add below code in /themes/default-bootstrap/css/global.css

 

#paypal-express-checkout-form {    display: none; }
 
If you don't want to edit core file, you can check below module, which allows you to add custom css or js code to any page of your website without modifying core files. Using this module, you can also decide whether to apply code to mobile phone or not.
 

 

This fixed the problem, however, I want my customers to be able to pay with PayPal at the end of the checkout process. This removed the PayPal checkout altogether. Is there some way or alternative to make it so customers can use PayPal to pay? 

 

Thanks again for the quick response and the great response mate btw

Link to comment
Share on other sites

  • 2 weeks later...

Sorry forgot that you just need to hide it on product page.

 

Please add below code in last line of /themes/default-bootstrap/css/product.css.

 

#paypal-express-checkout-form { display:none !important; }

 

This will hide Paypal button only on product pages.

Thanks! Managed to disable the product page having the express checkout via the PayPal settings in the Admin Console.

 

Another problem which is related - I want the express checkout to be available in Picture 2, not in Picture 1.

post-1281946-0-52383100-1468305603_thumb.png

post-1281946-0-43320900-1468305634_thumb.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...