DrByte... thanks... worked like a treat!
For future.. anyone wanting to add extra credit cards to your cart
etc. (Setp 2 of 3) Payment information.
This will only display the image.. not validate the card.
Solution
Step 1:
add your card images to
HTML Code:
includes\templates\template_default\images\icons\{c11.gif}
Step 2:
Open
HTML Code:
includes\languages\english\credit_cards.php
add the following lines of code
PHP Code:
define('TEXT_CC_ENABLED_EC','EC Card');
define('IMAGE_CC_ENABLED_EC', zen_image($template->get_template_dir('cc11.gif', DIR_WS_TEMPLATE, $current_page_base,'images/icons'). '/' . 'cc11.gif'));
Step 3:
Go into admin->tools->install sql patches
(Make sure you backup first)
insert the following
PHP Code:
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Credit Card Enable Status - EC', 'CC_ENABLED_EC', '1', 'Accept EC 0= off 1= on', '17', '1', 'zen_cfg_select_option(array(\'0\', \'1\'), ', now());
Step 4:
Go to admin->credit cards
and set
HTML Code:
your new card (EC) to number 1
make sure
HTML Code:
Credit Card Enabled - Show on Payment = 2
All the best