carpygmy Posted August 1, 2017 Share Posted August 1, 2017 Hi all I'm not sure which module is responsible for this so any help would be greatly appreciated: Here's a screenshot of the issue: Any idea 1) whether a PayPal logo should be appearing here anyway and 2) how to stop this text duplication issue. Many thanks, CP Link to comment Share on other sites More sharing options...
bellini13 Posted August 1, 2017 Share Posted August 1, 2017 Which Paypal module and version of the module are you using? Did you make any translation changes to it? Link to comment Share on other sites More sharing options...
carpygmy Posted August 1, 2017 Author Share Posted August 1, 2017 Official PayPal module: Payments and Gateways PayPal v3.11.4 - by PrestaShop - Official Accepts payments by credit cards (CB, Visa, MasterCard, Amex, Aurore, Cofinoga, 4 stars) with PayPal. It's the one that works for the UK. No translation changes made. Hope that helps, and thanks for the quick reply! CP Link to comment Share on other sites More sharing options...
carpygmy Posted August 1, 2017 Author Share Posted August 1, 2017 (edited) Okay. figured some of this out. For some reason the PayPal logos.xml file assumes the shop is at the domain root, rather than the prestashop installation root. : <LocalPayPalHorizontalSolutionPP>/modules/paypal/views/img/default_logos/default_horizontal.png</LocalPayPalHorizontalSolutionPP> Mine is not, so I've changed it to: <LocalPayPalHorizontalSolutionPP>/shop/modules/paypal/views/img/default_logos/default_horizontal.png</LocalPayPalHorizontalSolutionPP> And now the logo shows. But I want the text to appear above the image and I can't see which file I need to amend to get that to happen. At present it looks like this: Any idea which file I need to change? Also: Why does the PayPal logos.xml not call the prestashop root directory (it seems to assume prestashop is installed at the root domain)? Why are the PayPal png files not transparent since quite often they're on active sections and mouse-overs will change the background colour (which looks ugly when the png background remains the same)? - This I've already remedied - but it would be sensible for the PayPal module devs to provide transparent png logos for such scenarios. Anyway - the main problem that I can't seem to figure is which file determines where that "Pay with your card or your PayPal account" is positioned relative to the PayPal logo image. Any help greatly appreciated - as it looks ugly as hell at present. Thanks. CP. Edited August 1, 2017 by carpygmy (see edit history) Link to comment Share on other sites More sharing options...
carpygmy Posted August 2, 2017 Author Share Posted August 2, 2017 Just to sum up (to save anyone reading the above posts): If anyone knows which file I have to edit to change the text positioning for this, I'd really appreciate it: Many thanks, CP. Link to comment Share on other sites More sharing options...
carpygmy Posted August 3, 2017 Author Share Posted August 3, 2017 Okay - seem to have fixed it. I've edited these two files: express_checkout_payment.tpl integral_evolution_payment.tpl And now the text is above the logo. Not sure when the 2nd one gets used but it had the same code for the button. Also, if there are any PayPal experts out there, please let me know if there's anything else I need to change. I had a look at some of the mobile options but they seem to be formatted differently. Hope this may helps anyone who has a similar problem . I'd love to know if anyone else's PayPal payment option looks odd on Prestashop. I'd not made any changes - so this was "out of the box" post upgrade. Using Prestashop 1.6.1.1. My only guess is that this could be some CSS hangover -- but I can't track down anything that would do this. Cheers, CP Link to comment Share on other sites More sharing options...
yukihiro Posted August 28, 2017 Share Posted August 28, 2017 Which Paypal module and version of the module are you using? Did you make any translation changes to it? I have same problem here with PS 1.6.1.11 and Paypal v3.11.4 I didn't make any changes in translation. 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