Post by jtricer1973 » Mon Jul 14, 2008 8:48 am

Hey guys, is there any way to replace the text in the checkout with icons? You know, where you select which payment method you want to use. It would look way better with nice icons. Thanks for any help you can give.

Newbie

Posts

Joined
Mon Jul 07, 2008 2:13 pm

Post by Muze » Mon Jul 28, 2008 10:14 am

All of this assumes that you are operating on the default theme. If not, make sure you take care to edit the paths to the images to reflect the theme you are using.


in /catalog/language/english/extension/payment find paypal.php

Look for this line:

Code: Select all

$_['text_paypal_title'] = 'PayPal';
for me, it was line #5

If you want the word PayPal followed by the paypal logo replace it with this line:

Code: Select all

$_['text_paypal_title'] = 'PayPal <img src="catalog/template/default/image/paypal.png" />';
OR

If all you want is JUST the logo, replace it with this line

Code: Select all

$_['text_paypal_title'] = '<img src="catalog/template/default/image/paypal.png" />';



I will assume that you have the check and money order mod installed.

in /catalog/language/english/extension/payment find check.php

Look for this line:

Code: Select all

$_['text_check_title'] = 'Check';
for me, it was line #3

If you want the word Check followed by the check logo replace it with this line:

Code: Select all

$_['text_check_title'] = 'Check <img src="catalog/template/default/image/check.png" />';
OR

If all you want is JUST the logo, replace it with this line

Code: Select all

$_['text_check_title'] = '<img src="catalog/template/default/image/check.png" />';


in /catalog/language/english/extension/payment find moneyorder.php

Look for this line:

Code: Select all

$_['text_moneyorder_title'] = 'Money Order';
for me, it was line #3

If you want the words Money Order followed by the Money Order logo replace it with this line:

Code: Select all

$_['text_moneyorder_title'] = 'Money Order <img src="catalog/template/default/image/moneyorder.png" />';
OR

If all you want is JUST the logo, replace it with this line

Code: Select all

$_['text_moneyorder_title''] = '<img src="catalog/template/default/image/moneyorder.png" />';


Below are two files. Check.png and Moneyorder.png upload these to catalog/template/default/image folder

Of course you can always design your own logos and upload them to the same directory.

I hope this is what you where wanting.

Newbie

Posts

Joined
Thu Jul 24, 2008 11:46 am
Who is online

Users browsing this forum: No registered users and 4 guests