Zen Cart Logo
Forums / General Questions / Payment Radio Button Text. How Do Ya Change It?

Payment Radio Button Text. How Do Ya Change It?

Locked

Views: 2,097

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
6 May 2007, 4:47 PM
#1
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Payment Radio Button Text. How Do Ya Change It?

Hi All,
I want to change the text next to the PAYPAL IPN radio button.
Think I wore out my developers tool kit looking for this. I need to know where to find the area to edit. The radio buttons are those found on the step 2 of 3 checkout page.
I dont want it to say PAYPAL IPN. I plan to replace the text with my payment methods logo. Better than telling your customers that to checkout with your CC please select paypal ipn. Ya Know?!
Thanks in advance,
John

6 May 2007, 5:35 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Payment Radio Button Text. How Do Ya Change It?

You might check the PayPal terms of service before doing this as they have been known to be stinky about this.

Might be better to play up through text that their info is safe and not collected nor stored on your site and that all transactions are processed through PayPal.

But I am no Lawyer...

6 May 2007, 5:41 PM
#3
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Payment Radio Button Text. How Do Ya Change It?

I can leave the text "Paypal IPN" there and add an Image to it then. Sounds like it will please all.
Thanks,
John

6 May 2007, 5:45 PM
#4
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Payment Radio Button Text. How Do Ya Change It?

I did find the file to edit. /includes/languages/english/modules/payment/paypal.php
To keep on with the overrides I made /includes/languages/english/modules/payment/my_template/paypal.php

I found that I can work with the text part of this on line #11
define('MODULE_PAYMENT_PAYPAL_TEXT_CATALOG_TITLE', 'Paypal IPN');

I have tried to get some code pointers through php.net to add an image to this with out much luck.

How would I add the image?

John

6 May 2007, 6:42 PM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Payment Radio Button Text. How Do Ya Change It?

You can modify this code for any desired constant to contain an image link:

define('MORE_INFO_TEXT', '<img src="' . HTTP_SERVER . DIR_WS_CATALOG . DIR_WS_TEMPLATE . 'images/yourimage.gif">'); 

The image file goes in your template's /images/ subfolder.

6 May 2007, 7:50 PM
#6
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Payment Radio Button Text. How Do Ya Change It?

GJH42, Thanks.

Couldnt get this to work as all one piece tho. Not sure if I may have used it in the wrong place or what.

What I did was edited my line#11 where it says 'paypal ipn'. I removed the text paypal ipn and inserted your code <img src="' . HTTP_SERVER . DIR_WS_CATALOG . DIR_WS_TEMPLATE . 'images/yourimage.gif">
and that worked GREAT!

Thanks,
John