New Zenner
- Join Date:
- Apr 2007
- Posts:
- 87
- Plugin Contributions:
- 0
WorldPay Module version 2.0 - Support thread
I know Philip replied but for anybody else stuck with this here's what i did to remove the visa / mastercard dropdown box.
In the file tpl_checkout_payment_default.php in includes\templates\template_default\templates in the new worldpay mod version 2.08 at line 148 find the following code:
<!-- BOF Draw CC dropdown box -->
<?php
//This assumes that the Worldpay is your FIRST in your sort order in the ADMIN > Payment > Modules
//If not then change the value of $i to match where in the order you want it
if ($i==0)
{
//Create the array of credit cards as per Worldpay documentation
$cc1[] = array('id' => 'VISA', 'text' => 'Visa');
$cc1[] = array('id' => 'MSCD', 'text' => 'MasterCard');
echo zen_draw_pull_down_menu("paymentType", $cc1,'','','');
}
?>
<!-- EOF Draw CC dropdown box -->
and either commment out or delete it. That's it!