Structured data problems

  • Davide
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 8 months ago - 8 years 8 months ago #67079 by Davide
Structured data problems was created by Davide
Hi, I have 2 problems with structured data. When I check them on Google Webmaster Tool I have 2 error:
  • ratingValue cannot be empty: in the code there is an image but should be a number, from 1 to 5. If 0 is better to omit aggregateRating at all
  • price is required: when a product is set as "call for price", price is omit in structured data but is required. It may make sense to indicate 0?
There is a way to manage this cases? It is important in your opinion?
Last edit: 8 years 8 months ago by Davide.

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

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
8 years 8 months ago #67349 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Structured data problems
Hello Davide,

Regarding 2 errors that you said:

1. ratingValue has an image and a reviewCount now. If the product has no review/rating yet, then image has 0 star and reviewCount = 0. What's problem with that?

2. Regarding price, I only show price if the system allows to show price there. In this case, I think that show price 0 is not good.

Sincerely, Giang

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

  • Davide
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 8 months ago #67370 by Davide
Replied by Davide on topic Structured data problems

Giang Dinh Truong wrote: Hello Davide,

Regarding 2 errors that you said:

1. ratingValue has an image and a reviewCount now. If the product has no review/rating yet, then image has 0 star and reviewCount = 0. What's problem with that?

2. Regarding price, I only show price if the system allows to show price there. In this case, I think that show price 0 is not good.

Sincerely, Giang

Hi Giang, for point 1 the problem is that structured data want a number, not an image. For point 2 the problem is that, in structured data, price is required for product rich snippet. If you don't belive try yourself: :laugh:

1) go to developers.google.com/structured-data/testing-tool/
2) past the code or insert the URL of your demo product Canon Powershot SX40 ( joomdonationdemo.com/eshop/televisions/c...-powershot-sx40.html )
3) see alert on the right or see attachement

I hope I was more clear, thanks for your help :)
Attachments:

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

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
8 years 8 months ago #67418 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Structured data problems
Hello Davide,

I saw that but what your suggested now?

1. If the product does not have any rating, then what I should add there?
2. If product is not allowed to show price, then what should I show for price? Is it zero?

Sincerely, Giang

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

  • Davide
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 8 months ago #67420 by Davide
Replied by Davide on topic Structured data problems
Hi Giang,

Giang Dinh Truong wrote: 1. If the product does not have any rating, then what I should add there?

There are 2 solutions imho but both needed that rating is a number (0-5):

1) omit all aggregateRating if rating is 0 (best option imho because review is 0 and rating is 0, there is no rating at all)
2) add <span itemprop="worstRating">0</span> because schema.org default value is 1 for worst rating value (see attachement 1)

Giang Dinh Truong wrote: 2. If product is not allowed to show price, then what should I show for price? Is it zero?


Zero is not good, I found that Google "translate" zero with Free. The only solution that I found id omit offers at all. Unfortunately in this way is not possibile to indicate the number of product in stock

Davide
Attachments:

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

More
8 years 1 month ago #78389 by Matt Bean
Replied by Matt Bean on topic Structured data problems
Davide, did you figure this out?

I'm having the same problem with Google giving me errors for the Structured Data.

Thank you!

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

Moderators: Giang Dinh Truong