Y
Y
Yura Komarov2019-11-15 11:44:57
JavaScript
Yura Komarov, 2019-11-15 11:44:57

Is it possible to specify the price from - to in Yandex markup?

Hello.
Is it possible to specify the price from - to in the Yandex markup?
Well, that is, micro-markup for this price format "2,970 ₽ - 17,330 ₽"

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Sokolov, 2018-11-01
@Drovosek01

The console displays the last returned value.
The function returned a value all 10 times, but nothing was done with it. And the console showed the latter.

Another example
>> 1, 2, 3, 4, 5;
<– 5

In the second example, everything is the same. The returned value is below: undefined.
But before that, the output to the console was executed 10 times via console.log().

A
Alexander, 2019-11-15
@Yurajun

Here it is written how to do it right https://yandex.ru/support/webmaster/supported-sche...
and here schema.org/AggregateOffer

<div itemprop="offers" itemscope itemtype="http://schema.org/AggregateOffer">
    <meta itemprop="priceCurrency" content="RUB">
    <span itemprop="lowPrice">2 970</span> ₽ — <span itemprop="highPrice">17 330</span></div>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question