Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sign in to follow this  
Madman00

Credit Class & Gift Voucher

Recommended Posts

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×