Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2006
    Posts
    75
    Plugin Contributions
    0

    Default PayPal Logo at Checkout (Which Language file?)

    Which language file do I modify in order to insert a Paypal logo on page 2 of the checkout process?

    (My original question is in the Archives, so I can't get more details there).

    Thanks!

  2. #2
    Join Date
    Feb 2006
    Posts
    75
    Plugin Contributions
    0

    Default Re: PayPal Logo at Checkout (Which Language file?)

    I just found a file called "button_ppcheckout.gif" in the folder
    includes/templates/template_default/buttons/english

    This button (with the Paypal logo) is built into Zencart.

    Can anyone tell me how to make it appear in the Step 2 of the checkout process' payment selection?

    Thanks.

  3. #3
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: PayPal Logo at Checkout (Which Language file?)

    I would think you can place the img src code in

    includes/languages/english/modules/payment/paypal.php

    just add the img src where it says 'paypal'
    Zen cart PCI compliant Hosting

  4. #4
    Join Date
    Feb 2006
    Posts
    75
    Plugin Contributions
    0

    Default Re: PayPal Logo at Checkout (Which Language file?)

    Quote Originally Posted by Merlinpa1969
    I would think you can place the img src code in

    includes/languages/english/modules/payment/paypal.php

    just add the img src where it says 'paypal'
    Hi Merlinpa,

    I need another hint :)

    I just searched through the document. There are dozens of instances of paypal in that document. I noticed the check out listed it as "Paypal" with the first letter capitalized. My next search was case sensitive... but all the instances of "Paypal" capitalized that way were in the comments.

    Can you give me another hint?

    Thanks!

  5. #5
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: PayPal Logo at Checkout (Which Language file?)

    make sure that you are in the
    includes/languages/english/modules/payment/paypal.php

    find
    Code:
    define('MODULE_PAYMENT_PAYPAL_TEXT_CATALOG_TITLE', 'Paypal');
    Zen cart PCI compliant Hosting

  6. #6
    Join Date
    Feb 2006
    Posts
    75
    Plugin Contributions
    0

    Default Re: PayPal Logo at Checkout (Which Language file?)

    Hi Merlinpa,

    Thanks again for your help. I suck with php.

    I tried modifying the code you pointed out with the following:

    define('MODULE_PAYMENT_PAYPAL_TEXT_CATALOG_TITLE', '<strong> <font color="#ff0000">PAYPAL</strong></font> <img src="paypal_verified.gif">');

    This made the word Paypal in caps, strong text, and red letters. However, the image called "paypal_verified.gif" which is in the same folder as paypal.php did not show up.
    Is there something I'm missing?

    Thanks!

  7. #7
    Join Date
    May 2006
    Posts
    3
    Plugin Contributions
    0

    Default Re: PayPal Logo at Checkout (Which Language file?)

    hmm.. seems like that shouldve worked...
    someone help this guy, i want to know tooo...

  8. #8
    Join Date
    Feb 2006
    Location
    UK
    Posts
    306
    Plugin Contributions
    1

    Default Re: PayPal Logo at Checkout (Which Language file?)

    Code:
    define('MODULE_PAYMENT_PAYPAL_TEXT_CATALOG_TITLE', '<img src="includes/templates/template_default/buttons/english/button_ppcheckout.gif" align="top" alt="Click to pay via PayPal">');
    your original button name was wrong, and you didn't include a path :)

    EDIT:: i included the alt text and the align attribute.
    Last edited by Pauls; 16 May 2006 at 12:47 PM.

 

 

Similar Threads

  1. Replies: 2
    Last Post: 11 Feb 2013, 09:02 PM
  2. Which file to install Paypal button?
    By hara in forum Built-in Shipping and Payment Modules
    Replies: 15
    Last Post: 31 Mar 2009, 12:39 AM
  3. Which .php file contains the logo?
    By kjharrison in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Jan 2009, 11:58 PM
  4. Help w/ language file for paypal IPN module
    By TheHYPO in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 10 Oct 2008, 03:24 PM

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