Problem with Markup (Price, MaxPrice, MinPrice)
-
Hi Hi,
I've inserted some Markup on my homepage for a vacation flat. It's looking like thies:
As there is not just one price for the whole season, I used minPrice and maxPrice to define it. Unfortunatelly the Google Testing Tool (https://developers.google.com/webmasters/structured-data/testing-tool/) sais, that the value "price" has to be also in the code, but I have no clue what value I should give it? Has someone an advice? Thank you very much!
Best regards
André
-
You could always put the default price in the middle at 129 and finalize it based on which ever dates the user selects.
-
I was curious about this, too. Spent quite a bit of time looking through schema.org and other examples, and it seems the price property must be included. We can't just use maxPrice and minPrice to specify a range.
I replaced the minPrice property with the price property and my testing worked just fine. Depending on your business model, you could consider using price for either maxPrice or minPrice, depending on which price you'd like search engines to show your visitors. Since my prices only increase when adding variations, i.e., extra sauce, pre-cut, etc., I want visitors to see my lowest base price on search results. If for some reason you want visitors to see your high price on search results and then awe them with a lower price when they hit your site, maybe substitute the price property for your maxPrice.
Hope that helps!
-
FYI, "Google prefers microdata for web content." This was taken directly from their site at https://support.google.com/webmasters/answer/3069489?hl=en
"Google is in the process of adding JSON-LD support to more markup-powered features. So far, JSON-LD is supported for all Knowledge Graph features, sitelink search boxes, and Event Rich Snippets; Google recommends the use of JSON-LD for those features. For the remaining Rich Snippets types and breadcrumbs, Google recommends the use of microdata or RDFa." From https://developers.google.com/structured-data/schema-org