Zencart Show Accepted Credit Cards Images or Text
Its really easy to configure ZenCart to show the credit cards that you are going to accept to customers during their checkout. Not only could you display the text of these images similar to the below example but its also very easy to display images of the credit card types you will be accepting.
Example: We Accept: Visa, Mastercard, AmEx, Discover
The default text can be modified in the credit_cards.php languages file located in /includes/languages/english/ directory.
To enable this text login to the ZenCart admin, click on Configuration in the top navigation, and click Credit Cards. Here you will be able to turn on or turn off all of the credit card types such as Mastercard, Visa, AmEx, Discover, JCB, Diners Club, etc. You can set the status of each card to a 0 which will determine if it is disabled or not. Zero means it is disabled while 1 means the credit card will display as text or an image depending on how the Show on Payment option is configured.
If you would like to show the credit cards that your online store accepts as text or as images during checkout then you will need to set the Show on Payment setting to 1 or 2. If set to 1 the text from the credit_cards.php file will show after the text “We Accept:” above all of your payment options. If set to 2 then images will show for all of the accepted credit card types or technically all of the credit cards that you have set to 1 in the Configuration >> Credit Cards admin section.
If you decide to display images for your accepted credit cards then you will find the following zencart add-on useful. The Credit Card Images for Payment Page add-on can be downloaded here. This add-on is just a collection of images of all the default credit card types offered in the ZenCart admin system.