Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Nuanced Media

    (@nuanced-media)

    The markup that you are showing is not the stock markup that ships with Rich Reviews. scoreValue is not the proper data property to display your review rating. ratingValue is the data property that you need be using. As you can see here, https://puu.sh/oLMI7/c7122b305a.png, ratingValue is the itemProp that Rich Reviews outputs, I’m not sure exactly how your markup ended up changed. But that is the reason you are seeing those errors.

    Let me know if you need any further help,
    Thanks,
    Charlie Maxwell
    [NM_Developer]

    Thread Starter donkarim

    (@donkarim)

    Hello Maxwell,

    Thx for the reply. The only changes i made are using a translate plugin to translate some snippet content to dutch. But i guess that’s not where the issue comes from.

    For the rest i never changed anything, i dont even know how to. Do you have suggestion how i can fix this?

    Thanks

    Plugin Contributor Nuanced Media

    (@nuanced-media)

    The file that needs changing is /views/frontend/snippets.php. What needs changing are lines 15 and 38, where you have scoreValue, the proper itmprop is ratingValue. You can make this change through the editor in the WordPress dashboard, or by directly editing your files through a file manager or ftp. If you would like to make me a temporary admin account I can go ahead and make this change for you.

    Charlie Maxwell
    [NM_Developer]

    Thread Starter donkarim

    (@donkarim)

    I checked the file and it said ratingvalue. then i checked the translate plugin(real time find and replace), and it seems that plugin is guilty after all.

    By translating the “rating” part in “overall rating”, it changed the itemprop with it, which caused the problem. I had “overall rating” translated to “gemiddelde score” and that caused the problems. But now i changed it to “gemiddelde rating” and its all good. As long as the word “rating” remains unchanged, all is good.

    This ons is solved. Thanks again for the support sir Maxwell.
    Glad we got it allright:)

    Greets,

    Karim

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cant get the average rating working on site’ is closed to new replies.