theride Posted April 3, 2013 Share Posted April 3, 2013 (edited) Hi, When a user goes to check out, in the first step there is a paypal express checkout button at the bottom which i want to remove. Would someone mind to let me know what i need to do to the code to remove it. Page: /index.php?controller=order&step=0 HTML code. <div class="cart_navigation_extra"> <div id="HOOK_SHOPPING_CART_EXTRA"><div id="container_express_checkout" style="float:right; margin: 10px 40px 0 0"> <img id="payment_paypal_express_checkout" src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" alt="" /> <form id="paypal_payment_form" action="http://www.XXXXXXXXXXXXX.com/modules/paypal/express_checkout/payment.php" data-ajax="false" title="Pay with PayPal" method="post" data-ajax="false"> <!-- Change dynamicaly when the form is submitted --> <input type="hidden" name="quantity" value="1" /> <input type="hidden" name="id_p_attr" value="" /> <input type="hidden" name="express_checkout" value="cart"/> <input type="hidden" name="current_shop_url" value="http://www.XXXXXXXXXXXXX.com/index.php?controller=order&step=0" /> <input type="hidden" name="bn" value="FR_PRESTASHOP_H3S" /> </form> </div> Edited April 3, 2013 by theride (see edit history) Link to comment Share on other sites More sharing options...
conidig Posted April 3, 2013 Share Posted April 3, 2013 if you go to modules and then paypal you can disable it Link to comment Share on other sites More sharing options...
theride Posted April 3, 2013 Author Share Posted April 3, 2013 Thanks for the quick response. I am not sure how I missed it. Link to comment Share on other sites More sharing options...
dianix416 Posted November 4, 2013 Share Posted November 4, 2013 How can I remove the express checkout block that appears in the 5th step (payment)? I have the standard payment and express checkout enabled. I do want the block to show up on the 1st step (summary), which it does, but it's also showing on the payment page along with the standard payment one, so now I have two. I appreciate any help! Link to comment Share on other sites More sharing options...
mm99 Posted November 8, 2013 Share Posted November 8, 2013 I am having same problem. Did you find any solution? Thank you in advance Link to comment Share on other sites More sharing options...
vekia Posted November 9, 2013 Share Posted November 9, 2013 I am having same problem. Did you find any solution? Thank you in advance How can I remove the express checkout block that appears in the 5th step (payment)? I have the standard payment and express checkout enabled. I do want the block to show up on the 1st step (summary), which it does, but it's also showing on the payment page along with the standard payment one, so now I have two. I appreciate any help! please share url to websites Link to comment Share on other sites More sharing options...
dianix416 Posted November 14, 2013 Share Posted November 14, 2013 please share url to websites Hi, sorry for the late reply. Here is my url: www.nailsdeart.com Thanks! Link to comment Share on other sites More sharing options...
Centio Posted February 3, 2014 Share Posted February 3, 2014 Same issue here. After installing Paypal module, buttons start to appear everywhere. Goto modules-positions and look for "Shopping Cart - Additional Button" and unhook paypal. 1 Link to comment Share on other sites More sharing options...
nareitz Posted September 19, 2014 Share Posted September 19, 2014 I'm having the same issue. My shop is DestinyHealthPublishing.com. Any help would be greatly appreciated! Link to comment Share on other sites More sharing options...
bellini13 Posted September 19, 2014 Share Posted September 19, 2014 I'm having the same issue. My shop is DestinyHealthPublishing.com. Any help would be greatly appreciated! there are 2 issues in this thread, you might want to clarify which one you are talking about Link to comment Share on other sites More sharing options...
nareitz Posted September 20, 2014 Share Posted September 20, 2014 I have figured out this issue, but am plagued with other issues related to accepting PayPal payments. I was attempting to have both Express and Standard PayPal checkout options, but didn't want the Express checkout button in the shopping cart. In the end, I found that Express wouldn't work for me as it doesn't allow vouchers. Link to comment Share on other sites More sharing options...
GenZai Posted May 15, 2015 Share Posted May 15, 2015 You can go in module section and click on configure for the paypal module. In the configuration screen you can check the no box, if you don't want the express checkout. 1 Link to comment Share on other sites More sharing options...
PestoSauce Posted December 5, 2015 Share Posted December 5, 2015 How can I remove the express checkout block that appears in the 5th step (payment)? I have the standard payment and express checkout enabled. I do want the block to show up on the 1st step (summary), which it does, but it's also showing on the payment page along with the standard payment one, so now I have two. I appreciate any help! Yes! This is exactly what I have been trying to do for hours without success! Any solution? I activated Standard and Express on the Paypal module. I like the Express button on step 1 of checkout. However, on step 5 I don't like the Express button because it is confusing with two Paypal buttons! On step 5, the top button is for Express and the bottom button is for Standard, but how could a customer know that? If a customer makes it to step 5 I don't consider it "Express" anymore and the Express button should be removed. If a customer clicks the top Express button on step 5 and doesn't have a Paypal account and tries to go back on the browser it causes a website error, or at best, confusion. If I disable Express in the Paypal module it removes the button from step1 AND 5. The solution to unhook the "Shopping Cart - Additional Button" removes the Express button from step 1 only, which is the opposite of what we wanted to do. I thought that it would be under the Paypal Module - Manage hooks. I tried to edit "displayPayment" and added the exception "module-paypalusa-expresscheckout" and hit save but it didn't do anything. My website is www.stephendevans.com if you want to try it. Link to comment Share on other sites More sharing options...
bellini13 Posted December 5, 2015 Share Posted December 5, 2015 Isn't there options in the modules configuration page, towards the bottom of the page, there are some checkbox options? Link to comment Share on other sites More sharing options...
PestoSauce Posted December 5, 2015 Share Posted December 5, 2015 Isn't there options in the modules configuration page, towards the bottom of the page, there are some checkbox options? On that page if you enable Express Check Out there are some options on the bottom. You can check or uncheck "Show Express Checkout on ( ) Product Page ( ) Shopping Cart". If you uncheck shopping cart and hit save it just puts a check back on. I guess if you enable Express Checkout you would want a Express Checkout button so you really can't change that check box - it's a false option. Plus, I do think I want it on the Shopping Cart (Step 1) just not step 5. I tried changing it just to see what happens but it just puts the check back on if Express Checkout is enabled. Link to comment Share on other sites More sharing options...
bellini13 Posted December 6, 2015 Share Posted December 6, 2015 Then i suppose you will need to alter the payment module code to fit your needs Link to comment Share on other sites More sharing options...
PestoSauce Posted December 6, 2015 Share Posted December 6, 2015 Then i suppose you will need to alter the payment module code to fit your needs Then i suppose you will need to alter the payment module code to fit your needs Thanks for all the input bellini13. I can't see how having two identical paypal buttons at the end would suit anybody and I am surprised there isn't an easy way of changing this option. Better yet, it would be better for the module [coding] not to have two Paypal buttons by default on Step 5. I found two work arounds before but I don't think they are great solutions. Here are some work arounds for other people who are searching. 1.) Just forget and inactivate Paypal Express in the Configuration of the Paypal Module. Just use Paypal Standard. Even though you have the option of choosing both, having both Paypal Express and Standard causes confusing for customers at step 5. While Paypal Express is beneficial to have in Step 1, it isn't worth the confusion of having two buttons in Step 5. Paypal Standard let's you pay without a Paypal account with the "Don't have a Paypal Account" on the bottom right so you can accept credit cards. 2.) When I updated Prestashop all my hard coding disappeared so I can't even take a screenshot of the changes I made and I don't want to do it again. But this is what I did to change to help customers with confusion in Step 5. I changed one Paypal button images and added some notes. The two logos were the same and was confusing. I made backups of the files I was changing just in case I messed things up so "express_checkout_shortcut_button.tpl" was called "express_checkout_shortcut_button.tpl.backup" and I was free to modify "express_checkout_shortcut_button.tpl". I searched Paypal developers for a good Paypal Express logo and changed src="location for new image" in module: modules/paypal/views/templates/hook/ open file: express_checkout_shortcut_button.tpl search for: <img id="payment_paypal_express_checkout" src="https://www.paypal.com/{$PayPal_lang_code}/i/btn/btn_xpressCheckout.gif" alt="" /> I think I left the other Paypal Standard Logo alone but added some text. Instead of "Pay with Paypal" I think I changed it to "Pay with Credit Card with or without Paypal." Link to comment Share on other sites More sharing options...
Rosie Posy Posted January 31, 2016 Share Posted January 31, 2016 Hi guys After removing the paypal hook in the express page, I have some customers asking for paypal. I can not remember where I unhooked the paypal method of payment. Can someone advise me, I have been searching now for hours. Thanks in advance Kind regards Len ps here is the link to the 3 payment options I have http://rosieposy.fr/fr/quick-order Link to comment Share on other sites More sharing options...
filamingo Posted February 4, 2016 Share Posted February 4, 2016 Hi guys I have a problem about my products frame, it's not competible on page.how can i fix it.Could you help me pls. Thank you. Link to comment Share on other sites More sharing options...
bellini13 Posted February 4, 2016 Share Posted February 4, 2016 I would suggest you reach out to your themes author Link to comment Share on other sites More sharing options...
Rosie Posy Posted February 4, 2016 Share Posted February 4, 2016 try reinstalling paypal by clicking reset on the paypal module. It also depends on your setup. Look in Configure "Theme configurator" module then scroll down to Display logos of available payment methods click 'configure' I hope that helps. I Configure "Theme configurator" module Link to comment Share on other sites More sharing options...
Rosie Posy Posted February 4, 2016 Share Posted February 4, 2016 I have solved the hook problem, I went into payments module, selected paypal and restored the module, then entered paypal details from my paypal account. Voila it works.Solved Link to comment Share on other sites More sharing options...
filamingo Posted February 4, 2016 Share Posted February 4, 2016 Hi guys i have problem about product purchase page, it's not compatible on frame as you see. How can i fix it ? Thank you. Link to comment Share on other sites More sharing options...
jhon111 Posted April 7, 2016 Share Posted April 7, 2016 Hi guys I have a problem about my products frame, it's not competible on page. how can i fix it. Could you help me pls. Thank you. Hello; I can help you to do a css style to that problem contact me just here https://www.fiverr.com/jhon111 to can give you a budget Thanks Link to comment Share on other sites More sharing options...
Karthik@123 Posted June 28, 2016 Share Posted June 28, 2016 Can any one tell me which file the code for "Check out" is present . I need to redirect to a new URL on click of the check out button Thank you for the help in advance Link to comment Share on other sites More sharing options...
archproject Posted June 28, 2016 Share Posted June 28, 2016 (edited) Hi guys, ok after alot of pondering I did the below and it worked for me. 1) I uploaded a transparent image file "transparent.png" to where ever you want in to store directory. I uploaded it to /module/paypal/views/img/transparent.png 2) Edit the file below modules/paypal/views/templates/hook/express_checkout_shortcut_button.tpl 3) On line 35 change it accordingly <img id="payment_paypal_express_checkout" src="https://www.paypal.com/{$PayPal_lang_code|escape:'htmlall':'UTF-8'}/i/btn/btn_xpressCheckout.gif" alt="" /> to <img id="payment_paypal_express_checkout" src="http://www.YOURSITE.com/module/paypal/views/img/transparent.png" alt="" /> WARNING : THE ABOVE DOES NOT REMOVE IT BUT IT WILL MAKE IT DISAPPEAR (Which is what i wanted) If you want to really make it disappear go to the paypal module in your module admin page and click on MANAGE HOOKS and unhook those that you do not want it to appear. honestly I am not confident enough to unhook so I did the above. you have to be careful you might unhook those that are important. Happy Trying. Edited June 29, 2016 by archproject (see edit history) Link to comment Share on other sites More sharing options...
ritopina Posted October 6, 2016 Share Posted October 6, 2016 Simply remove HOOK DisplayFooterProduct Link to comment Share on other sites More sharing options...
Sanitaria Posted November 17, 2016 Share Posted November 17, 2016 (edited) Everyone noticed that everyitme somesone visit the product page, it generate this error: i have paypal express button disabled 2016/11/17 11:03:18 [error] 30348#0: *119 FastCGI sent in stderr: "PHP message: PHP Warning: include_once(/var/www/sanitariacamporomano.cominit.php): failed to open stream: No such file or directory in /var/www/sanitariacamporomano.com/modules/paypal/express_checkout/ajax.php on line 28https://test.sanitariacamporomano.com/it/dambulatori-e-rollator/75-rollator-dolomite-jazz.html" Edited November 17, 2016 by malachiel (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now