Fixing "Either 'Offers', 'Review', or 'AggregateRating' Should Be Specified" Error in Shopify

Decoding the "Offers, Review, or AggregateRating" Error in Shopify

Ever seen this message in your Google Search Console or Semrush: "Either 'offers', 'review', or 'aggregateRating' should be specified"? It can be a bit puzzling, but it's a common issue for Shopify store owners. I recently saw a thread about this in the Shopify community, and it sparked some really helpful insights.

The original poster, @Hygge, was seeing this error and looking for a solution. Let's break down what it means and how you can tackle it, drawing from the advice shared in the community.

What Does This Error Mean?

Essentially, this error pops up when Google (or Semrush) thinks your product pages aren't providing enough structured data. Structured data, or schema markup, helps search engines understand what your page is about. In this case, it's looking for information about the product's price (offers), customer feedback (review), or overall rating (aggregateRating).

As @Hygge mentioned, the error message was: "Either “offers”, “review”, or “aggregateRating” should be specified." It's a nudge to add more detail to your product pages so Google can display richer snippets in search results.

How to Fix It: Community Solutions

So, how do you actually *fix* this? Here's a synthesis of the solutions offered in the forum thread:

  1. Specify Missing Attributes: As @trevor43 pointed out, the core solution is to explicitly include the "offers," "review," or "aggregateRating" attributes in your product page's schema markup.
  2. Add Schema Markup: This involves adding specific code snippets to your product page's HTML. These snippets tell search engines what the price is, what customers think, and the overall rating.
  3. Encourage Customer Reviews: One of the best long-term strategies is to get more customer reviews. More reviews automatically provide the data needed for the "review" and "aggregateRating" fields. As suggested by LitExtension, focus on "encouraging more customer reviews or adding your existing review data through schema markup." :blush:
  4. Ignore (Temporarily): LitExtension suggested that if you're overwhelmed, you can "ignore this warning for now and fix it gradually." This is okay in the short term, but definitely address it eventually for better SEO.

Step-by-Step: Adding Schema Markup (the technical bit)

Here's a breakdown of how to add schema markup. This can get a bit technical, so take it slow.

  1. Identify Your Theme's Product Template: In your Shopify admin, go to Online Store > Themes > Actions > Edit Code. Look for a file typically named something like product.liquid or main-product.liquid within the "Sections" or "Templates" directory.
  2. Find the Right Place: Within the product template, look for the section where the product details (price, description, etc.) are rendered. This is where you'll add the schema markup.
  3. Add the Schema: You'll need to add a

    Important Considerations:

    • Dynamic Values: The bracketed values (e.g., [Your Product Name]) need to be dynamically populated with your actual product data using Shopify's Liquid templating language. For example, {{ product.title }} for the product name.
    • Reviews: If you have reviews, you'll need to add a "review" or "aggregateRating" property to the schema. This is more complex and usually requires a reviews app that automatically handles the schema.
    • Testing: After adding the schema, use Google's Rich Results Test (search for it on Google) to validate that it's implemented correctly.

    Real-World Examples from Hygge

    @Hygge even shared links to the affected product pages:

    https://hyggebyscandinavia.com/products/michael-peter-ancher-anna-ancher-returning-from-the-field-poster-premium-quality-art-print”

    https://hyggebyscandinavia.com/products/august-andreas-jerndorff-coastal-scene-from-marselisborg”

    Looking at these pages, you can see how adding schema markup for offers (price) and, ideally, reviews, would help Google understand and display these products more effectively in search results.

    So, that's the gist of it! Addressing the "offers, review, or aggregateRating" error involves adding structured data to your Shopify product pages. It might seem daunting at first, but by breaking it down and taking it one step at a time, you can improve your SEO and get those rich snippets showing up in search results. Remember, start with the "offers" attribute and then focus on getting those customer reviews rolling in – you've got this!

Share:

Start with the tools

Explore migration tools

See options, compare methods, and pick the path that fits your store.

Explore migration tools