Probably most of the store owners would like to have their products to be highlighted among other search results in search engines.
Google’s Rich snippets can help you to get desired results. All you need is to integrate them in your Magento store.
About rich snippets and structured data you can read more here.
Sample of Breadcrumbs integration into magento is pretty simple,
code of “template/page/breadcrumbs.phtml”
<?php if($crumbs && is_array($crumbs)): ?> <div class="breadcrumbs"> <ul xmlns:v="http://rdf.data-vocabulary.org/#"> <?php foreach($crumbs as $_crumbName=>$_crumbInfo): ?> <li class="<?php echo $_crumbName ?>" typeof="v:Breadcrumb"> <?php if($_crumbInfo['link']): ?> <a href="<?php echo $_crumbInfo['link'] ?>" title="<?php echo $this->htmlEscape($_crumbInfo['title']) ?>" rel="v:url" property="v:title"> <span><?php echo $this->htmlEscape($_crumbInfo['label']) ?></span> </a> <?php elseif($_crumbInfo['last']): ?> <span rel="v:child" property="v:title"> <strong><?php echo $this->htmlEscape($_crumbInfo['label']) . ' for sale' ?></strong> </span> <?php else: ?> <span><?php echo $this->htmlEscape($_crumbInfo['label']) ?></span> <?php endif; ?> <?php if(!$_crumbInfo['last']): ?> <span>/ </span> <?php endif; ?> </li> <?php endforeach; ?> </ul> </div> <?php endif; ?>
Rich snippets types that you can implement:
- Review ratings
- Shopping and products
- Marking up products for rich snippets
- Videos: Facebook Share and RDFa
Rich Snippets Testing Tool is at url: http://www.google.com/webmasters/tools/richsnippets
We’ll take an example of gas masks. Just copy/paste the link:
into input field and you’ll see results like this:
Snippets that you can implement on Magento store are breadcrumbs, products, reviews and ratings as you can see on the described example.