<div itemscope itemtype="http://schema.org/Article">
<!-- lo que haya antes -->
<div itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
<div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
<img src="http://www.mycorp.com/logo.jpg"/>
<meta itemprop="url" content="http://www.mycorp.com/logo.jpg">
<meta itemprop="width" content="400">
<meta itemprop="height" content="60">
</div>
<meta itemprop="name" content="MyCorp">
</div>
</div>
<article itemscope="" itemtype="http://schema.org/Product" class="container product-bag">
<img itemprop="image" alt="Vinagre de manzana" src="/uploads/productos/Vinagres/manzana.jpg" draggable="false">
<span itemprop="name" style="display:none;">Vinagre de manzana</span>
<span itemprop="brand" style="display:none;">Mi empresa</span>
<span itemprop="description" style="display:none;"><p>Lo que sea</p></span>
</article>
Producto con precio:
<div itemscope="" itemtype="http://schema.org/Product">
<meta itemprop="brand" content="Mi Marca">
<h1 itemprop="name">xxx</h1>
<p itemprop="sku">xxx</p>
<span itemprop="offers" itemscope="" itemtype="http://schema.org/Offer">
<meta itemprop="priceCurrency" content="EUR">
<link itemprop="availability" href="http://schema.org/InStock">
<meta itemprop="price" content="11.36">
<meta itemprop="image" content="/images/foto.png">
<div itemprop="description">xxx</div>
<div itemprop="AgregateRating" style="display:none;">0</div>
</span>
</div>
Para chequear una web:
https://search.google.com/structured-data/testing-tool/
No hay comentarios:
Publicar un comentario