New Zenner
- Join Date:
- Jun 2009
- Location:
- Australia
- Posts:
- 20
- Plugin Contributions:
- 0
Gift Certificate redemption displaying intermittently in checkout process
Hi all,
The gift certificate (GC) redemption field seems to be showing up intermittently during the checkout process. The discount coupon field is always showing.
During testing - I have found that it will definately show up if the customer has a balance in their GC account.
I tracked it down to the tpl_checkout_payment_default file which I am playing around with under includes\templates[my template]\templates
<?php } for ($j=0, $n2=sizeof($selection[$i]['fields']); $j<$n2; $j++) { ?>
<fieldset> <legend><?php echo $selection[$i]['module']; ?></legend> <?php echo $selection[$i]['redeem_instructions']; ?> <div class="gvBal larger"><?php echo $selection[$i]['checkbox']; ?></div> <label class="inputLabel"<?php echo ($selection[$i]['fields'][$j]['tag']) ? ' for="'.$selection[$i]['fields'][$j]['tag'].'"': ''; ?>><?php echo $selection[$i]['fields'][$j]['title']; ?></label> <?php echo $selection[$i]['fields'][$j]['field']; ?> </fieldset> <?php } } ?>I would like for both the the GC and discount coupon field to be always showing during checkout.
Is it possible to "hardcode" the above text so instead of looping through 'fields' which are GC and discount coupon. I hardcode two sets of <fieldsets> i.e.
<fieldset>
<legend>Promotion Code</legend> ... </fieldset> <fieldset> <legend>Gift Vouchers</legend> ... </fieldset>Hope this makes sense. Thanks in advance.
Erko