Madman00 Posted February 14, 2006 Posted February 14, 2006 HOw would a customer check his balance in a Credit Class & Gift Voucher module. Thanks Quote
Madman00 Posted February 14, 2006 Author Posted February 14, 2006 HOw would a customer check his balance in a Credit Class & Gift Voucher module. Thanks Anyone Quote
insomniac2 Posted February 15, 2006 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
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.
Note: Your post will require moderator approval before it will be visible.