Display points in the page header

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 adds a small points summary underneath the welcome message for each customer. This gives the customer a quick reference for their points no matter which page they visit in their store.

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 page header.

1. Open /design/frontend/[your package]/[your theme]/template/page/html/header.phtml

2. Copy this code:

<?php /*MageRewards CODE BEGIN*/ ?>
<?php echo $this->getChildHtml('rewardsHeader') ?>
<?php /*MageRewards CODE END*/ ?>

3. Look for line 31 and place the copied code in lines 35-37 as shown here: 

<?php echo $this->getChildHtml('topSearch') ?>
<div class="quick-access">
    <?php echo $this->getWelcome() ?>
    <?php /*MageRewards CODE BEGIN*/ ?>
    <?php echo $this->getChildHtml('rewardsHeader') ?>
    <?php /*MageRewards CODE END*/ ?>         
    <div class="shop-access">
        <?php echo $this->getChildHtml('topLinks') ?>
    <?php echo $this->getChildHtml('store_language') ?>

Still need help? Get Help Get Help