Display points in the customer account dashboard

Where is the configuration setting for this block?

If you were to set this in  Rewards > Configuration > Other Configuration in the Integrated Content section, it would be this setting:

What does this block do?

This block adds a point summary to the dashboard of each customer's account page.

How do I integrate this block manually?

If your theme is too customized to use the configuration setting or you simply would rather implement the code manually, please follow these directions to integrate this block into your customer dashboard.

1. Open /design/frontend/ [your package]/[your theme]/template/customer/account/dashboard.phtml

2. Copy this code:

<?php /*MageRewards CODE BEGINS*/?>
<?php if(!Mage::getStoreConfigFlag('advanced/modules_disable_output/TBT_Rewards') 
        	&& Mage::getConfig()->getModuleConfig('TBT_Rewards')->is('active', 'true')) : ?>
	<?php echo Mage::getBlockSingleton('rewards/customer_summary')->toHtml()?>
<?php endif;?>
<?php /*MageRewards CODE ENDS*/?>
	

3. Look for line 27 and place the copied code in lines 33-38 as shown here: 

<div class="page-head">
    <h3><?php echo $this->__('My Dashboard') ?></h3>
</div>
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
<?php echo $this->getChildHtml('hello') ?>
<?php /*MageRewards CODE BEGINS*/?>
<?php if(!Mage::getStoreConfigFlag('advanced/modules_disable_output/TBT_Rewards') 
        	&& Mage::getConfig()->getModuleConfig('TBT_Rewards')->is('active', 'true')) : ?>
	<?php echo Mage::getBlockSingleton('rewards/customer_summary')->toHtml()?>
<?php endif;?>
<?php /*MageRewards CODE ENDS*/?> 
<?php echo $this->getChildHtml('top') ?>
<div class="account-box ad-account-info">
    <div class="head">
        <h4><?php echo $this->__('Account Information') ?></h4>
    </div>
	

Still need help? Get Help Get Help