Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Add Credit Card Logos to Step 2 of checkout process

Add Credit Card Logos to Step 2 of checkout process

Locked

Views: 1,744

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
28 Aug 2009, 6:09 PM
#1
ifc_5050 avatar

ifc_5050

New Zenner

Join Date:
Aug 2009
Posts:
1
Plugin Contributions:
0

Add Credit Card Logos to Step 2 of checkout process

My payment processor is requiring that I include credit card logos in the section for Payment Method on the following page:

index.php?main_page=checkout_payment

The Payment Method is included on Step 2 of the checkout process. Where can I find the file that controls what appears here so that I can add an image into that section?

Thank you in advance for your assistance.

28 Aug 2009, 7:06 PM
#2
jc8125 avatar

jc8125

Zen Follower

Join Date:
Oct 2007
Posts:
143
Plugin Contributions:
0

Re: Add Credit Card Logos to Step 2 of checkout process

the file to make manual changes is includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_payment_default.php

however, zen cart already has a switch to control whether or not cc logos are displayed.. the switch is SHOW_ACCEPTED_CREDIT_CARDS

but i'm having trouble locating/remembering where to change it in the admin. in any event, i remember not liking something about that display.. so i turned it off an add my own logos to the tpl file.

28 Aug 2009, 7:08 PM
#3
jc8125 avatar

jc8125

Zen Follower

Join Date:
Oct 2007
Posts:
143
Plugin Contributions:
0

Re: Add Credit Card Logos to Step 2 of checkout process

found it.. the admin switch is admin->configuration->credit cards->Credit Card Enabled - Show on Payment. change this setting to
"2" and you should see the cc logos..

7 Oct 2010, 7:08 AM
#4
jdog21 avatar

jdog21

New Zenner

Join Date:
Apr 2010
Location:
Tallahassee, Florida USA
Posts:
98
Plugin Contributions:
0

Re: Add Credit Card Logos to Step 2 of checkout process

Hi,

For whatever reason, I could not get the logos to show, even though I tunred them "on" in the admin. I ***would truly prefer ***to use this method. I wish I could make it work.

I moved the logos from images/icons to /includes/templates/MYTEMPLATE/images/icons, and renamed them cc1.gif, cc2.gif, etc., according to the tutorial at
https://www.zen-cart.com/tutorials/index.php?article=72 .

The logos show, now. I do not have a JCB or a Diner's club logo. Does anyone know where I can get these?

All the free logos on the net I can find don't seem to have singular pictures of these two cards.......

Alternatively, is it possible to use a downloaded picture of a bunch oif CC logos, and name it CC1.gif, and simply "turn off" the other ones?

7 Oct 2010, 2:21 PM
#5
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Add Credit Card Logos to Step 2 of checkout process

JDog21:

Hi,

Alternatively, is it possible to use a downloaded picture of a bunch oif CC logos, and name it CC1.gif, and simply "turn off" the other ones?

This might make zen cart reject the rest of the cards (if you turn them off as 'not accepted' in the admin 'credit cards' section.)

You would have to test it, but I would suspect that would be the case.