Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing itemRiviewed field #157

Closed
Fred64640 opened this issue Nov 29, 2021 · 6 comments
Closed

missing itemRiviewed field #157

Fred64640 opened this issue Nov 29, 2021 · 6 comments

Comments

@Fred64640
Copy link

Hello, if I activate the Rich Snippets I have an error in the google console search for "missing itemRiviewed field" and I don't know why.
Capture d’écran 2021-11-29 202138
Thanks Frédéric

@getdatakick
Copy link
Owner

This is bug in your theme, not related to revws module

@carrinhos3b
Copy link

Hello, if I activate the Rich Snippets I have an error in the google console search for "missing itemRiviewed field" and I don't know why. Capture d’écran 2021-11-29 202138 Thanks Frédéric

Hello, I have this issue too. Can you tell me how do you solved it? Thank you very much

@Fred64640
Copy link
Author

Fred64640 commented Mar 11, 2024 via email

@carrinhos3b
Copy link

I have the classic theme, and the same problem... Thank you

@getdatakick
Copy link
Owner

getdatakick commented Mar 13, 2024

Again, this is not an issue with the module. It's the issue with the theme itself.

The generated HTML code of the product page looks like this:

<div itemscope="" itemtype="https://schema.org/Product">
    <h1 itemprop="name">Product name</h1>
    <span itemprop="price">$100</div>
    <div class="revws-section">
        <div class="review" itemprop="review" itemscope="" itemtype="http://schema.org/Review">
            <span itemprop="reviewRating" itemscope="" itemtype="http://schema.org/Rating">4</span>
        </div>
   </div>
</div>

The theme is responsible to emit metadata about product itself (itemtype="https://schema.org/Product"), revws module is responsible for emitting metadata about review (itemtype="http://schema.org/Review")

If the review <div itemtype="http://schema.org/Review"> is inside product <div itemtype="https://schema.org/Product">, the review will be associated with product.

You will get the missing itemReviewed error if

  1. your theme does not emit metadata about product
  2. your theme placed reviews section "outside" of <div itemtype="https://schema.org/Product"> scope

Neither of that is issue with revws module.

@carrinhos3b
Copy link

I never said the problem is of the revws module... isn't that what's in cause. The module is amazing! But the problem exists to many people and I'm only searching what to do to correct it (a explanation for newbies... where and what exactly to modify in the theme to correct the problem). Thank you all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants