I can't find the itemprop
s for a product with two prices on schema.org.
The types of prices are:
I can't imagine, that there is not fitting schema.org markup for this, but after a long search, I couldn't find the solution for this anywhere.
Example HTML:
<div itemscope itemtype="http://schema.org/Product">
<!-- ... -->
<div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<!-- What should I use for the old price? -->
<div><span itemprop="???">4321</span> <span>€</span></div>
<!-- Should I use "price" for the new reduced price? -->
<div><span itemprop="price">1234</span> <span>€</span></div>
</div>
<!-- ... -->
</div>
What is Product schema markup? Product schema markup is basically code you can add to the backend of your website so that search engines can provide additional information about your products in search through enhanced features like rich results.
What is a Schema Markup? Schema markup informs the search engine precisely what your content is trying to convey on your web page. It converts unstructured data into structured data. Adding schema will help the search engine crawl better, raising the websites ranking while keeping other best practives of SEO in mind.
There are 3 schema encoding types for schema markup: RDFa, Microdata, and JSON-LD.
Maybe give two prices, and use validFrom
/validThrough
on them …?
http://schema.org/PriceSpecification
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With