Hi,

The following code is for where you need to display the Store Credit on site. But the store credit value it is showing in Default Currency of website not the session currency user selected on site. Though on checkout page the module is showing proper session currency then why not here.

Can anybody help here?

http://www.zen-cart.com/downloads.php?do=file&id=339
Code:
<!-- bof Store Credit Display -->

<?php

  if (MODULE_ORDER_TOTAL_SC_ORDER_PRODUCT_POINTS == 'true') {

    require_once(DIR_WS_CLASSES . 'store_credit.php');

    $store_credit =   new storeCredit();

    echo   $store_credit->retrieve_customer_credit($_SESSION['customer_id']);

  }

?>
<!-- eof Store Credit Display -->
~Time