obinet Posted February 9, 2005 Share Posted February 9, 2005 Is there a way to add the Paypal and also maybe Credit Card logos to the left of the text within the Payment Method box? I've searched the forums, but didn't find anything that specifically addresses this and I'm not very good with PHP, so I was hoping to find a piece of code that would accomplish this. Thanks in advance for any suggestions. Quote Link to comment Share on other sites More sharing options...
tomjmul Posted February 10, 2005 Share Posted February 10, 2005 Is there a way to add the Paypal and also maybe Credit Card logos to the left of the text within the Payment Method box? I've searched the forums, but didn't find anything that specifically addresses this and I'm not very good with PHP, so I was hoping to find a piece of code that would accomplish this. Thanks in advance for any suggestions. <{POST_SNAPBACK}> It's quite easy really. Here's what you do. 1. Go to your directory includes/languages/english/modules/payment 2. Find the file corresponding to paypal/credit card module 3. Find the line that says something like: define('MODULE_PAYMENT_PAYPAL_TEXT_TITLE', 'Paypal'); 4. Change it to something like: define('MODULE_PAYMENT_PAYPAL_TEXT_TITLE', 'Paypal <img border=0 src=/shop/images/creditcards.gif>') Hope that helps you out Quote OSC Image Magic On-the-fly thumbnails, watermarks and image processing Link to comment Share on other sites More sharing options...
tomjmul Posted February 10, 2005 Share Posted February 10, 2005 Just a quick addendum to my last post, I'm no php programmer either, so the solution give might have knock on effect that I don't know about. Anybody else? Quote OSC Image Magic On-the-fly thumbnails, watermarks and image processing Link to comment Share on other sites More sharing options...
obinet Posted February 10, 2005 Author Share Posted February 10, 2005 Thanks, that worked! Quote Link to comment Share on other sites More sharing options...
obinet Posted February 10, 2005 Author Share Posted February 10, 2005 One other tip - to make it look a little nicer on the particular store in question, I altered the code to put the logo to the left and position it at the middle of the text next to it: define('MODULE_PAYMENT_PAYPALIPN_TEXT_TITLE', 'PayPal <img border=0 src=/store/images/paypal.gif align=absmiddle>'); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.