Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / PayPal Logo at Checkout (Which Language file?)

PayPal Logo at Checkout (Which Language file?)

Locked

Views: 4,646

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
10 May 2006, 6:21 AM
#1
jaxmac avatar

jaxmac

New Zenner

Join Date:
Feb 2006
Posts:
64
Plugin Contributions:
0

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!

11 May 2006, 1:47 AM
#2
jaxmac avatar

jaxmac

New Zenner

Join Date:
Feb 2006
Posts:
64
Plugin Contributions:
0

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.

11 May 2006, 1:57 AM
#3
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

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

11 May 2006, 2:29 AM
#4
jaxmac avatar

jaxmac

New Zenner

Join Date:
Feb 2006
Posts:
64
Plugin Contributions:
0

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

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!

11 May 2006, 2:43 AM
#5
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

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

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

find

define('MODULE_PAYMENT_PAYPAL_TEXT_CATALOG_TITLE', 'Paypal');

Zen cart PCI compliant Hosting

11 May 2006, 5:55 AM
#6
jaxmac avatar

jaxmac

New Zenner

Join Date:
Feb 2006
Posts:
64
Plugin Contributions:
0

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!

11 May 2006, 8:27 AM
#7
tehcronage avatar

tehcronage

New Zenner

Join Date:
May 2006
Posts:
3
Plugin Contributions:
0

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

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

16 May 2006, 11:42 AM
#8
pauls avatar

pauls

Zen Follower

Join Date:
Feb 2006
Location:
UK
Posts:
300
Plugin Contributions:
0

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

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.