Madman00 Posted February 14, 2006 Share Posted February 14, 2006 HOw would a customer check his balance in a Credit Class & Gift Voucher module. Thanks Quote Link to comment Share on other sites More sharing options...
Madman00 Posted February 14, 2006 Author Share Posted February 14, 2006 HOw would a customer check his balance in a Credit Class & Gift Voucher module. Thanks Anyone Quote Link to comment Share on other sites More sharing options...
insomniac2 Posted February 15, 2006 Share 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 ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.