Микроразметка товаров с общим описанием и оптовой / розничной ценой

S
На сайте с 20.04.2004
Offline
145
sss
7315

Ситуация такая:

Есть каталог товаров, где на конечной странице товара имеется общее описание товара (Название, картинка большая через highslide и превью, описание) и таблица цен: подвид товара (например объем), цена оптовая, цена розничная.

Пока мысли такие:


<div itemscope itemtype="http://schema.org/Product">
<h1 itemprop="name">Виски ballantines</h1>
<div itemprop="offers" itemscope itemtype="http://schema.org/AggregateOffer">
<meta itemprop="lowPrice" content="219.00" />
<meta itemprop="highPrice" content="733.95" />
<meta itemprop="priceCurrency" content="RUB" />
</div>
<table>
<tr>
<td>Наименование</td>
<td>Цена оптовая</td>
<td>Цена розничная</td>
</tr>
<tr itemscope itemtype="http://schema.org/ProductModel">
<td itemprop="name">ballantines 0,7 l</td>
<td itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<span itemprop="price">219.00</span>
<span itemprop="priceCurrency" content="RUB">руб</span>
<link itemprop="availability" href="http://schema.org/InStock" />
<meta itemprop="eligibleTransactionVolume" content="50000.00" />
</td>
<td itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<span itemprop="price">229.95</span>
<span itemprop="priceCurrency" content="RUB">руб</span>
<link itemprop="availability" href="http://schema.org/InStock" />
<meta itemprop="eligibleTransactionVolume" content="0.00" />
</td>
</tr>
<tr itemscope itemtype="http://schema.org/ProductModel">
<td itemprop="name">ballantines 1,0 l</td>
<td itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<span itemprop="price">669.00</span>
<span itemprop="priceCurrency" content="RUB">руб</span>
<link itemprop="availability" href="http://schema.org/InStock" />
<meta itemprop="eligibleTransactionVolume" content="50000.00" />
</td>
<td itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<span itemprop="price">733.95</span>
<span itemprop="priceCurrency" content="RUB">руб</span>
<link itemprop="availability" href="http://schema.org/InStock" />
<meta itemprop="eligibleTransactionVolume" content="0.00" />
</td>
</tr>
</table>
<div itemprop="image" itemscope itemtype="https://schema.org/ImageObject" style="background-image:url('[small_image_url]');">
<meta itemprop="width" content="[big_image_width]">
<meta itemprop="height" content="[big_image_height]">
<meta itemprop="caption" content="[Описание картинки]">
<a id="thumb1" itemprop="url contentUrl" href="[big_image_url]" class="highslide" onclick="return hs.expand(this)">
<img itemprop="thumbnail" src="[small_image_url]" width="175" height="175" alt="[Описание картинки]" />
</a>
</div>
<div itemprop="description">Общее описание товаров</div>
</div>

Вопросы

1) насколько корректно тут использовать AggregateOffer? (Яндекс при виде Product хочет Offer или AggregateOffer - чтоб не ругался)

2) Правильно ли я указываю, что оптовая цена - от 50000 руб?

3) Не смог найти ни у кого микроразметки для highslide картинок - получилась вот такая...

4) Поругайте, предложите что еще обязательно надо внедрить, поправьте где плохо...

Спасибо.

Andrey_Prog
На сайте с 20.04.2014
Offline
56
#1

Первое что бросается в глаза использование табличной разметки. Это было бы актуально году в 97. Сейчас использование table вместо div-ов считается как бы не комильфо...

S
На сайте с 20.04.2004
Offline
145
sss
#2

Гм... суть была не в этом,

Но вы считаете, что табличные данные (а часть прайс-листа, согласитесь, это таблица) разумнее верстать Div'ами?

А суть вопроса - микроразметка при фактически одном описании и разных предложениях (допустим с разным объемом один и тот же товар) с оптовой и розничной ценой. И как корректнее быть с Offer для основного товара?

L
На сайте с 16.10.2014
Offline
108
#3
sss:
Гм... суть была не в этом,
Но вы считаете, что табличные данные (а часть прайс-листа, согласитесь, это таблица) разумнее верстать Div'ами?

А суть вопроса - микроразметка при фактически одном описании и разных предложениях (допустим с разным объемом один и тот же товар) с оптовой и розничной ценой. И как корректнее быть с Offer для основного товара?

ОН вас вводит в заблуждение , без разници каким методом верстать , главное результат!

Микро разметка в 1 очередь как вы знаете для формирования красивого снипета в выдаче, яб на вашем месте добавил рейтинг , отзывы....

Купить автомобиль из США можно тут (https://us-car.com.ua)
S
На сайте с 20.04.2004
Offline
145
sss
#4

Я бы сказал, что в целом блочная модель чаще отображает потребности, но для табличных данных намного разумнее использовать таблицы, если Вашей задачей не стоит динамическая фильтрация, сортировка, итп...

Для таблички из 3-5 колонок и стольких же строк на мой взгляд табличная верстка окажется даже вполне себе актуальной.

[Удален]
#5
sss:
2) Правильно ли я указываю, что оптовая цена - от 50000 руб?

нет, http://schema.org/PriceSpecification

у вас ProductModel не имеет отношения к Product это разметка 3 разных сущностей, а не одной

S
На сайте с 20.04.2004
Offline
145
sss
#6

точно, было 3 объекта, спасибо, похоже так тогда?

<div itemscope itemtype="http://schema.org/Product">

<h1 itemprop="name">Виски ballantines</h1>
<div itemprop="offers" itemscope itemtype="http://schema.org/AggregateOffer">
<meta itemprop="lowPrice" content="219.00" />
<meta itemprop="highPrice" content="733.95" />
<meta itemprop="priceCurrency" content="RUB" />
</div>
<table>
<tr>
<td>Наименование</td>
<td>Цена оптовая</td>
<td>Цена розничная</td>
</tr>
<tr itemprop="model" itemscope itemtype="http://schema.org/ProductModel">
<td itemprop="name">ballantines 0,7 l</td>
<td itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<link itemprop="availability" href="http://schema.org/InStock" />
<div itemprop="priceSpecification" itemscope itemtype="http://schema.org/PriceSpecification">
<span itemprop="price">219.00</span>
<span itemprop="priceCurrency" content="RUB">руб</span>
<div itemprop="eligibleTransactionVolume" itemscope itemtype="http://schema.org/PriceSpecification">
<meta itemprop="price" content="50000.00" />
<meta itemprop="priceCurrency" content="RUB" />
</div>
</div>
</td>
<td itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<link itemprop="availability" href="http://schema.org/InStock" />
<div itemprop="priceSpecification" itemscope itemtype="http://schema.org/PriceSpecification">
<span itemprop="price">229.95</span>
<span itemprop="priceCurrency" content="RUB">руб</span>
<div itemprop="eligibleTransactionVolume" itemscope itemtype="http://schema.org/PriceSpecification">
<meta itemprop="price" content="0.00" />
<meta itemprop="priceCurrency" content="RUB" />
</div>
</div>
</td>
</tr>
<tr itemprop="model" itemscope itemtype="http://schema.org/ProductModel">
<td itemprop="name">ballantines 1,0 l</td>
<td itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<link itemprop="availability" href="http://schema.org/InStock" />
<div itemprop="priceSpecification" itemscope itemtype="http://schema.org/PriceSpecification">
<span itemprop="price">669.00</span>
<span itemprop="priceCurrency" content="RUB">руб</span>
<div itemprop="eligibleTransactionVolume" itemscope itemtype="http://schema.org/PriceSpecification">
<meta itemprop="price" content="50000.00" />
<meta itemprop="priceCurrency" content="RUB" />
</div>
</div>
</td>
<td itemprop="offers" itemscope itemtype="http://schema.org/Offer">

<link itemprop="availability" href="http://schema.org/InStock" />
<div itemprop="priceSpecification" itemscope itemtype="http://schema.org/PriceSpecification">
<span itemprop="price">733.95</span>
<span itemprop="priceCurrency" content="RUB">руб</span>
<div itemprop="eligibleTransactionVolume" itemscope itemtype="http://schema.org/PriceSpecification">
<meta itemprop="price" content="0.00" />
<meta itemprop="priceCurrency" content="RUB" />
</div>
</div>
</td>
</tr>
</table>
<div itemprop="image" itemscope itemtype="https://schema.org/ImageObject" style="background-image:url('[small_image_url]');">
<meta itemprop="width" content="[big_image_width]">
<meta itemprop="height" content="[big_image_height]">
<meta itemprop="caption" content="[Описание картинки]">
<a id="thumb1" itemprop="url contentUrl" href="[big_image_url]" class="highslide" onclick="return hs.expand(this)">
<img itemprop="thumbnail" src="[small_image_url]" width="175" height="175" alt="[Описание картинки]" />
</a>
</div>
<div itemprop="description">Общее описание товаров</div>
</div>
S
На сайте с 20.04.2004
Offline
145
sss
#7

точнее даже видимо так:


<div itemscope itemtype="http://schema.org/Product">
<h1 itemprop="name">Виски ballantines</h1>
<div itemprop="offers" itemscope itemtype="http://schema.org/AggregateOffer">
<meta itemprop="lowPrice" content="219.00" />
<meta itemprop="highPrice" content="733.95" />
<meta itemprop="priceCurrency" content="RUB" />
</div>
<table>
<tr>
<td>Наименование</td>
<td>Цена оптовая</td>
<td>Цена розничная</td>
</tr>
<tr itemprop="model" itemscope itemtype="http://schema.org/ProductModel">
<td itemprop="name">ballantines 0,7 l</td>
<td itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<link itemprop="availability" href="http://schema.org/InStock" />
<span itemprop="price">219.00</span>
<span itemprop="priceCurrency" content="RUB">руб</span>
<div itemprop="eligibleTransactionVolume" itemscope itemtype="http://schema.org/PriceSpecification">
<meta itemprop="price" content="50000.00" />
<meta itemprop="priceCurrency" content="RUB" />
</div>
</td>
<td itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<link itemprop="availability" href="http://schema.org/InStock" />
<span itemprop="price">229.95</span>
<span itemprop="priceCurrency" content="RUB">руб</span>
<div itemprop="eligibleTransactionVolume" itemscope itemtype="http://schema.org/PriceSpecification">
<meta itemprop="price" content="0.00" />
<meta itemprop="priceCurrency" content="RUB" />
</div>
</td>
</tr>
<tr itemprop="model" itemscope itemtype="http://schema.org/ProductModel">
<td itemprop="name">ballantines 1,0 l</td>
<td itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<link itemprop="availability" href="http://schema.org/InStock" />
<span itemprop="price">669.00</span>
<span itemprop="priceCurrency" content="RUB">руб</span>
<div itemprop="eligibleTransactionVolume" itemscope itemtype="http://schema.org/PriceSpecification">
<meta itemprop="price" content="50000.00" />
<meta itemprop="priceCurrency" content="RUB" />
</div>
</td>
<td itemprop="offers" itemscope itemtype="http://schema.org/Offer">

<link itemprop="availability" href="http://schema.org/InStock" />
<span itemprop="price">733.95</span>
<span itemprop="priceCurrency" content="RUB">руб</span>
<div itemprop="eligibleTransactionVolume" itemscope itemtype="http://schema.org/PriceSpecification">
<meta itemprop="price" content="0.00" />
<meta itemprop="priceCurrency" content="RUB" />
</div>
</td>
</tr>
</table>
<div itemprop="image" itemscope itemtype="https://schema.org/ImageObject" style="background-image:url('[small_image_url]');">
<meta itemprop="width" content="[big_image_width]">
<meta itemprop="height" content="[big_image_height]">
<meta itemprop="caption" content="[Описание картинки]">
<a id="thumb1" itemprop="url contentUrl" href="[big_image_url]" class="highslide" onclick="return hs.expand(this)">
<img itemprop="thumbnail" src="[small_image_url]" width="175" height="175" alt="[Описание картинки]" />
</a>
</div>
<div itemprop="description">Общее описание товаров</div>
</div>

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий