Rich Snippets installation instructions

Thank you for downloading our magento extension. Please follow these instructions to proceed with the installation of your theme:

Turn store compilation off:

Navigate to Admin -> Tools -> Compilation and deactivate compilation mode for your store.

Copy all files into your magento directory:

Simply copy all files from "extension source x.x.x" directory into your magento store directory.

Turn your magento cache off:

Navigate to Admin -> System -> Manage Cache and deactivate cache for your store. You can enable it after extension installation will be finished.

Refresh your admin user access rights:

Simply logout from your store admin and then login back.

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!

Posted by Chris Streit, Friday, March 27, 2015 on page Rich Snippets installation instructions
  • 0
    vote
    A: You should remove our extension code from your products page template and disable extension at app\etc\modules\TM_RichSnippets.xml. After that it will not affect your store. You can also remove all extension files after that.
    Posted by Peter D. on Friday, March 27, 2015

Ask Your Question

* Required Fields

Back to top