Post by cruiz » Tue Feb 22, 2011 1:46 pm

Is there a way to add logos of accepted credit cards in the payment page right before the shopper types in his/her credit card number so they know which card is accepted and which is not. We don't accept American Express on our site...so I need a logo of all cards but the AE.

e.g.

http://developer.authorize.net/guides/SIM/image7.gif

New member

Posts

Joined
Thu Dec 09, 2010 4:11 am

Post by cruiz » Wed Feb 23, 2011 2:41 am

anyone?????

New member

Posts

Joined
Thu Dec 09, 2010 4:11 am

Post by Qphoria » Wed Feb 23, 2011 3:32 am

Sure.

1. EDIT: catalog/view/theme/default/template/payment/authorizenet_aim.tpl

2. FIND:

Code: Select all

    <tr>
      <td><?php echo $entry_cc_owner; ?></td>
      <td><input type="text" name="cc_owner" value="" /></td>
    </tr>
3. BEFORE ADD:

Code: Select all

    <tr>
      <td></td>
      <td><img src="path/to/acceptedcards.jpg" alt="" /></td>
    </tr>

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by cruiz » Fri Feb 25, 2011 6:36 am

Worked great....thank you so much Q

Now I'm gonna add image in payment.tpl... one for credit card and another for paypal for accepted payment methods.

New member

Posts

Joined
Thu Dec 09, 2010 4:11 am
Who is online

Users browsing this forum: No registered users and 6 guests