Now that I actually created an account I can see what you mean. You have this "Credit Card (online via ANZ eGate)" and you want to have an image next to it.
This is the long version again, but only because I figure it helps you figure out other stuff when the time comes. On my site it just says "Credit Card".
- Copy the text Credit Card (online via ANZ eGate)
- Go to Admin>Tools>Developers Tool Kit
- SCroll to bottom.
- In "**Look-up in all files" **paste in the copied text.
- Search in All Files
- Find the result that most looks like it should be the correct one. In a situation like this 90% of the time it is a language file.
For me the file is **either ****includes/languages/english/modules/payment/authorizenet_aim.php
or
**/includes/languages/english/modules/payment/authorizenet.php and the section of code is
define('MODULE_PAYMENT_AUTHORIZENET_TEXT_CATALOG_TITLE', 'Credit Card'); // Payment option title as displayed to the customer
I know I use Authorizenet_aim, so I'm going to change that file.
- Open that file.
- Find the section with the corresponding code from before.
Hmmm, ok so we want an image next to the text. Well we could try inserting stuff into the actual checkout page file and create a new line in the language file,blah blah blah, or lets first see if inserting it into this language file in the already existing Credit Card line works (simplifies spacing too.)
- Put your image somewhere on your server
- Open up google.
- Search for "image html code"
- Click on any link with w3schools.com in it
- Find source code for images to find the correct syntax for creating an IMG tag
- In your store file, insert image source code in with 'Credit Card'
- For me I did 'Credit Card<img src="https://www.mysitename.com/images/icons/Amex.gif"/>'
That should be all.
I'm not sure if you need the https as opposed to http, but I did it anyway and it doesn't seem to be causing any security errors.
-lindasdd
P.S. If you want to properly use the overrides(you should), then put the new file in your template folder within the payment folder, even if that means you need to create a new template folder. For instance, for me that means, instead of putting the altered file here:**includes/languages/english/modules/payment/authorizenet_aim.php
I put it here: /includes/languages/english/modules/payment/CUSTOM/****authorizenet_aim.php
**CUSTOM obviously being your template name