Installing Rich Snippets.

Question: Installing Rich Snippets.

Solution:

    When you use structured data to markup the content on your site, you are helping the machines to better understand exactly what is on the page so that information can be displayed in search results.

    Installation Instructions

    Step 1. Update
    Step 2. Copy the SEO code snippet

    This code snippet is for displays the reviews on the google search.

    <div style=”display:none;”> {% if product.metafields.eggviews.reviews_count and product.metafields.eggviews.reviews_count != “0” %}<div itemprop=”aggregateRating” itemscope itemtype=”http://schema.org/AggregateRating”><span itemprop=”itemReviewed”>{{ product.title }}</span> has a rating of <span itemprop=”ratingValue”>{{ product.metafields.eggviews.reviews_average }}</span> stars based on <span itemprop=”ratingCount”>{{ product.metafields.eggviews.reviews_count }}</span> reviews. <span itemprop=”bestRating”>5</span> <span itemprop=”worstRating”>1</span></div> {% endif %} </div>

    Step 3. Paste the SEO code into your theme. First Open your templates/product.liquid OR Section/product-template.liquid file and find Itemscope and meta div which is shown in the image below.

    Step 4. Then templates/product.liquid OR Section/product-template.liquid In this template, paste the code before itemscope div end then save your theme.


    Keep in Mind:

    If you have marked up your page correctly and it shows the stars in the Google testing tool, keep in mind that you will need to wait approximately one month for it to be indexed by Google. The waiting time depends on Google.

    Google makes algorithmic determinations on when and how to display results in the SERPS (search engine results page), including snippet information, based on a myriad of factors including the search terms, etc. We would recommend focusing your efforts on making as unique and compelling a site as possible in order to increase the likelihood of your products reviews displaying in the Google search.

    Did this article answer your question?
    Aitrillion-promotion