Jump to content

Replacing Paypal / 2Checkout text with logos


j3ph

Recommended Posts

I have two options for payment: Paypal and Credit Card (via 2checkout).I want to replace the text located next to each payment option radio button with an image of each gateway's logo.

 

I tried adding a field called image to the tblpaymentgateways table that contained the html for the image and then replaced {$gateway.name} with {$gateway.image}

 

but that seemed to do nothing.

 

Any ideas?

Link to comment
Share on other sites

  • 4 weeks later...

It's pretty easy actually. From the Payment Gateway setup page (in admin), there is a box that says "Visible Name."

 

Use the html tag <img> to place your image there instead of the text.

 

For example:

 

<img src="http://www.yourdomain.com/image.jpg">

 

Works perfect!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated