Manually Integrating Product Tag Points Block

Where is the configuration settings 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 injection is a display telling the customer how many points they will earn by tagging a product. Nothing will show if you do not have a rule distributing points for tagging products or if it doesn't apply to the current customer.

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 product view page.

1. Open /design/frontend/ [your package]/[your theme]/template/tag/list.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/special_tag')->setTemplate("rewards/special/tag.phtml")->toHtml(); ?>
 <?php endif;?>
<?php /*MageRewards CODE ENDS*/?> <br>

3. Look for line 39 and place the copied code in lines 40-45 as shown here:

<h5><?php echo $this->__('Add Your Tags:') ?></h5>
<?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/special_tag')->setTemplate("rewards/special/tag.phtml")->toHtml(); ?>
 <?php endif;?>
<?php /*MageRewards CODE ENDS*/?> 
<div class="add-tag-box">
    <form id="addTagForm" action="<?php echo $this->getFormAction(); ?>"  method="get"><br>

Still need help? Get Help Get Help