Bug or Feature? Structured Data Markup and Voting?

  • Posts: 140
  • Thank you received: 18
7 years 7 months ago #278812

-- url of the page with the problem -- : www.eutopiantrader.com
-- HikaShop version -- : 3.1.1

Hi Guys,

I don't know if this is a bug or feature request however, if you enable to Structured Data Markup, and you have Voting for your products turned on, it fails to pass the test for Google because it states that this field can not be empty

Field ratingValue may not be empty.
One of ratingCount or reviewCount must be provided.

and shows this part of the code

<div class="hikashop_vote_stars" itemprop="aggregateRating" itemscope itemtype=" schema.org/AggregateRating ">

So my question is, is you have no votes yet, then shouldn't it be OK to not have any Votes yet? Because if I turn voting off then I wont get any chance for this to get any votes. I am not sure whether this is a bug or a feature request. If you need more info, please let me know. The above data was captured using the Google Webmaster Tools for testing the Structured Data Markup.

Cheers


(HikaShop Business 3.2.0 [1709061916])
Last edit: 7 years 7 months ago by Dardwizzle.

Please Log in or Create an account to join the conversation.

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
7 years 7 months ago #278848

Hello,

I don't understand something because I had just have a look on one of your product page, and processed test with the https://search.google.com/structured-data/testing-tool/u/0/?hl=frGoogle tool .



And everything seems work well, your MicroData & your Vote system.
Awaiting news from you.

Regards

Attachments:
Last edit: 7 years 7 months ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 140
  • Thank you received: 18
7 years 7 months ago #278893

Hi Philip.

While I do agree with you that everything looks right, and it appears to be OK, however I was running some tests using the Google Webmaster Test Page for the products on my page and for all the ones that have no vote or comment set, the test tool throws those errors. While it doesnt affect the user point of view, I didn't know if this could cause penalties in SEO due to the errors. I have attached the screenshot from the Google Structured Data Test Tool. Again, there is no issue with the rendering from what I can see, this is just Google's tool erro

ring when I test such pages.


Perhaps this error is irrelevant? I don't know, but thought it best to ask.

Cheers.


(HikaShop Business 3.2.0 [1709061916])
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
7 years 7 months ago #278923

Hello,

You were right to make us this return, in order to better understand what's going on can you provide an Url with the issue, like you I'd like to understand.
In my mind, if the vote system is off on this page, the itemprop "AggregateRating" mustn't be display.

Note : If required, you can use our Contact us form to provide elements, add to your message an Url link to this topic.

Awaiting news from you.
Regards

Last edit: 7 years 7 months ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 140
  • Thank you received: 18
7 years 7 months ago #278992

Hi Philip,

Sorry for the delay but i have filled out that form you sent me and sent a sample URL. Pretty much any Product URL with No Votes Recorded will cause this error on the Google Structured Data Tool Google Structured Data Testing Tool . will display this error. I hope this helps!

Cheers

John


(HikaShop Business 3.2.0 [1709061916])

Please Log in or Create an account to join the conversation.

  • Posts: 140
  • Thank you received: 18
7 years 7 months ago #278993

Dardwizzle wrote: Hi Philip,

Sorry for the delay but i have filled out that form you sent me and sent a sample URL. Pretty much any Product URL with No Votes Recorded will cause this error on the Google Structured Data Markup Test Tool will display this error. I hope this helps! Note that the Vote system is turned ON, and I would like it on so that customers can vote on a products. With it turned on returning atleast a value of 0 as opposed to a Null value would likely fix the issue, I would think, but I don't know for sure.without votes HikaShop is returning an empty value instead of a 0 value.

Cheers

John


(HikaShop Business 3.2.0 [1709061916])
Last edit: 7 years 7 months ago by Dardwizzle.

Please Log in or Create an account to join the conversation.

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
7 years 7 months ago #279035

Hello,

I proceed again test from my localhost with vote : On and no vote recorded for this product, and as expected "aggregateRating" isn't display in my product page, and there is no error on the google test tool.
So from this, I wonder if you haven't an override view on your product page ? To check this switch to a default template (like Protostar) see if the issue remain.

Or maybe, you have switch On the old "HikaShop Microdata on Product Page plugin" in Extensions => Plugins, this plugin isn't required anymore to process micro data on your product page, and maybe can't leads to issue...

Awaiting news from you.

Regards

Last edit: 7 years 7 months ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 140
  • Thank you received: 18
7 years 7 months ago #279059

Looks like you nailed it. The old Microdata plugin was enabled. I have disabled it and we are good to go! Thanks for your help Philip!


(HikaShop Business 3.2.0 [1709061916])
The following user(s) said Thank You: Philip

Please Log in or Create an account to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum