Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Aug 2008
    Posts
    450
    Plugin Contributions
    0

    Default Changing paypal express button image

    Is there a way to change the button image in shopping cart and login page? It looks outdated and kinda ugly.

  2. #2
    Join Date
    Nov 2010
    Posts
    64
    Plugin Contributions
    0

    Default Re: Changing paypal express button image

    I'd search for the button in an images folder and just make a new one, upload it there with the same name (unless of course this is against PayPal's terms and conditions). Probably others have different thoughts on this issue?

  3. #3
    Join Date
    Jan 2004
    Posts
    64,907
    Blog Entries
    6
    Plugin Contributions
    220

    Default Re: Changing paypal express button image

    Quote Originally Posted by habsolutely View Post
    I'd search for the button in an images folder and just make a new one, upload it there with the same name (unless of course this is against PayPal's terms and conditions). Probably others have different thoughts on this issue?
    There's no button to replace. The button comes FROM PayPal's server already, according to their terms and conditions.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Aug 2008
    Posts
    450
    Plugin Contributions
    0

    Default Re: Changing paypal express button image

    Quote Originally Posted by DrByte View Post
    Quote Originally Posted by habsolutely View Post
    I'd search for the button in an images folder and just make a new one, upload it there with the same name (unless of course this is against PayPal's terms and conditions). Probably others have different thoughts on this issue?
    There's no button to replace. The button comes FROM PayPal's server already, according to their terms and conditions.
    I thought so too when I saw this: https://www.paypalobjects.com/en_US/...ssCheckout.gif

  5. #5
    Join Date
    Aug 2008
    Posts
    450
    Plugin Contributions
    0

    Default Re: Changing paypal express button image

    I found where to change it
    line 64 in tpl_ec_button.php
    <img src="<?php echo MODULE_PAYMENT_PAYPALWPP_EC_BUTTON_IMG ?>

  6. #6
    Join Date
    Aug 2008
    Posts
    450
    Plugin Contributions
    0

    Default Re: Changing paypal express button image

    how would they even know if we decided to use a different image?

  7. #7
    Join Date
    Jan 2004
    Posts
    64,907
    Blog Entries
    6
    Plugin Contributions
    220

    Default Re: Changing paypal express button image

    Quote Originally Posted by ebaobao View Post
    I found where to change it
    line 64 in tpl_ec_button.php
    <img src="<?php echo MODULE_PAYMENT_PAYPALWPP_EC_BUTTON_IMG ?>
    NO!

    Leave that file alone.

    Change the define in the paypalwpp.php language file, by following the instructions contained there.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Nov 2010
    Posts
    64
    Plugin Contributions
    0

    Default Re: Changing paypal express button image

    Quote Originally Posted by DrByte View Post
    Change the define in the paypalwpp.php language file, by following the instructions contained there.
    Where's that file?

  9. #9
    Join Date
    Aug 2008
    Posts
    450
    Plugin Contributions
    0

    Default Re: Changing paypal express button image

    habsolutely,

    learn to use the developrs tool kit in your admin. a quick search on the constant MODULE_PAYMENT_PAYPALWPP_EC_BUTTON_IMG and here is the file location.
    includes/languages/english/modules/payment/paypalwpp.php

    may not be a good idea to change to hard-coded image because then you can't dynamically get new images when paypal does updates.

  10. #10
    Join Date
    Dec 2011
    Posts
    8
    Plugin Contributions
    0

    Default Re: Changing paypal express button image

    Quote Originally Posted by ebaobao View Post
    habsolutely,

    learn to use the developrs tool kit in your admin. a quick search on the constant MODULE_PAYMENT_PAYPALWPP_EC_BUTTON_IMG and here is the file location.
    includes/languages/english/modules/payment/paypalwpp.php

    may not be a good idea to change to hard-coded image because then you can't dynamically get new images when paypal does updates.

    where in paypalwpp.php can put it in?
    Thank you:)

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. No PayPal Express Button
    By normyib in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 25 Sep 2011, 12:31 PM
  2. Cart not showing on paypal express Check after click on express checkout button
    By magic.solve in forum PayPal Express Checkout support
    Replies: 5
    Last Post: 2 Aug 2011, 06:58 PM
  3. Changing from Paypal IPN to Paypal Express
    By nigelt74 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 27 Apr 2010, 01:16 AM
  4. PayPal Express Button Image -how do I get it to move to the right side, not the left?
    By Mike_Dean in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Oct 2009, 04:46 AM
  5. PayPal Express Link Button Image/Location
    By drzac2003 in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 13 Jul 2009, 08:14 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR