Giter VIP home page Giter VIP logo

Comments (6)

getdatakick avatar getdatakick commented on June 20, 2024

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

from revws.

carrinhos3b avatar carrinhos3b commented on June 20, 2024

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

from revws.

Fred64640 avatar Fred64640 commented on June 20, 2024

from revws.

carrinhos3b avatar carrinhos3b commented on June 20, 2024

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

from revws.

getdatakick avatar getdatakick commented on June 20, 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.

from revws.

carrinhos3b avatar carrinhos3b commented on June 20, 2024

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

from revws.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.