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!
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!
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.
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
Hi Merlinpa,Originally Posted by Merlinpa1969
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!
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
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!
hmm.. seems like that shouldve worked...
someone help this guy, i want to know tooo...
your original button name was wrong, and you didn't include a path :)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">');
EDIT:: i included the alt text and the align attribute.
Last edited by Pauls; 16 May 2006 at 12:47 PM.
Bookmarks