New Zenner
- Join Date:
- Mar 2011
- Posts:
- 42
- Plugin Contributions:
- 0
How to hide CVV2 confirmation number on step 3 of checkout?
I am using the latest version of Zen Cart.
On step 3 of checkout, the confirmation step, I do not like that the CVV2 number is displayed, I would rather this be shown as Xs, or be hidden altogether.
Does anyone know how to do this? I looked into the tpl_checkout_confirmation_default.php file, but in the section that displays the payment info, the code is as follows:
<?php
$class =& $_SESSION['payment'];
?>
<h3 id="checkoutConfirmDefaultPayment"><span style="color: #6E9606;"><?php echo HEADING_PAYMENT_METHOD; ?></span></h3>
<h4 id="checkoutConfirmDefaultPaymentTitle"><span style="font-weight: normal;"><?php echo $GLOBALS[$class]->title; ?></span></h4>
<?php
if (is_array($payment_modules->modules)) {
if ($confirmation = $payment_modules->confirmation()) {
?>
<div class="important" style="font-weight: normal; margin-left: 3px;"><?php echo $confirmation['title']; ?></div>
<?php
}
?>
<div class="important">
<?php
for ($i=0, $n=sizeof($confirmation['fields']); $i<$n; $i++) {
?>
<div class="back"><?php echo $confirmation['fields'][$i]['title']; ?></div>
<div ><?php echo $confirmation['fields'][$i]['field']; ?></div>
<?php
}
?>
</div>
<?php
}
?>
Any help would be appreciated!