Madman00 0 Posted February 14, 2006 HOw would a customer check his balance in a Credit Class & Gift Voucher module. Thanks Share this post Link to post Share on other sites
Madman00 0 Posted February 14, 2006 HOw would a customer check his balance in a Credit Class & Gift Voucher module. Thanks Anyone Share this post Link to post Share on other sites
insomniac2 0 Posted February 15, 2006 You would need to paste this code in the pages where you want the balance to show. <?php // show voucher balance // should we display any voucher balances? if ($gv_result['amount'] > 0 ) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main"><?php echo VOUCHER_BALANCE; ?>:</td> <td class="main"><?php echo $currencies->format($gv_result['amount']); ?></td> </tr> <?php } // End voucher balance ?> Share this post Link to post Share on other sites