Rich Snippets installation instructions

Next steps
  1. Find and open [your theme] cataog/product/view.phtml file
  2. Find next line
    <div class="product-shop">
    
    And insert next code after it
    <div itemscope itemtype="http://schema.org/Product"> 
    
  3. Find next line
    		
    <h1><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></h1>
    
    and change it to
    <h1 itemprop="name" ><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></h1>
    
    Please notice that current code should be placed inside new itemscope div container you just inserted.
  4. Find next line
    		
    <div class="std"><?php echo $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description') ?></div>
    
    and change it to
    <div class="std" itemprop="description" ><?php echo $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description') ?></div>
    
  5. Find closing div tag for product-shop div container. Ussually it looks like :
     
    </div>
    <div class="clearer"></div> 
    
    and insert next code right before it.
    <!-- Rich snippets block -->
    			<?php echo $this->getLayout()
    				->createBlock('richsnippets/product')
    				->setTemplate('tm/richsnippets/richsnippets_view.phtml')
    				->toHtml() ?>
    		 <!-- Rich snippets block -->  
    		</div> 
    
  6. Login to your store admin and log out.
  7. Navigate to System > Configuration > Templates-Master > Rich Snippets and enable extension for any store you need.
  8. Configure Rich Snippets module according to your needs.
  9. That's all. It will take some time while Google will reindex your products pages and will start using them on SERPs.
That's all. Navigate to your store and check how your store looks.

If you have any problems with extension installation please contact us at templates-master.com/helpdesk and we will help you with extension installation for free

Common questions and ideas

Come up with new ideas!