<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум ReadyScript &mdash; Микроразметка категории и товаров по schema.org (Современная тема)]]></title>
	<link rel="self" href="http://forum.readyscript.ru/feed/atom/topic/1720/" />
	<updated>2019-01-31T08:12:41Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.readyscript.ru/topic/1720/mikrorazmetka-kategorii-i-tovarov-po-schemaorg-sovremennaya-tema/</id>
		<entry>
			<title type="html"><![CDATA[Re: Микроразметка категории и товаров по schema.org (Современная тема)]]></title>
			<link rel="alternate" href="http://forum.readyscript.ru/post/9465/#p9465" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Закусило Александр пишет:</cite><blockquote><p>Вам всегда доступна переменная {$category} в шаблоне списка товаров. Из которой можно всё извлечь по ней.<br /></p><div class="codebox"><pre><code>&lt;pre&gt;
{var_dump($category)}
&lt;/pre&gt;</code></pre></div><div class="codebox"><pre><code>{$category.name}</code></pre></div><p>Тоже самое и с товаром, внутри их перебора <strong>{$product}</strong><br /></p><div class="codebox"><pre><code>Название - {$product.title}</code></pre></div><div class="codebox"><pre><code>Картинка - {$product-&gt;getMainImage()-&gt;getUrl(500, 500)}</code></pre></div><div class="codebox"><pre><code>Цена - {$product-&gt;getCost()}</code></pre></div><div class="codebox"><pre><code>Бренд - {$product-&gt;getBrand()-&gt;title}</code></pre></div></blockquote></div><p>Спасибо, а как из фильтра по цене вытащить значения<br />&quot;lowPrice&quot; : &quot;*min цена товара*&quot;,<br />&quot;highPrice&quot; : &quot;*max цена товара*&quot;,</p>]]></content>
			<author>
				<name><![CDATA[Константин]]></name>
				<uri>http://forum.readyscript.ru/user/166/</uri>
			</author>
			<updated>2019-01-31T08:12:41Z</updated>
			<id>http://forum.readyscript.ru/post/9465/#p9465</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Микроразметка категории и товаров по schema.org (Современная тема)]]></title>
			<link rel="alternate" href="http://forum.readyscript.ru/post/9462/#p9462" />
			<content type="html"><![CDATA[<p>Вам всегда доступна переменная {$category} в шаблоне списка товаров. Из которой можно всё извлечь по ней.<br /></p><div class="codebox"><pre><code>&lt;pre&gt;
{var_dump($category)}
&lt;/pre&gt;</code></pre></div><div class="codebox"><pre><code>{$category.name}</code></pre></div><p>Тоже самое и с товаром, внутри их перебора <strong>{$product}</strong><br /></p><div class="codebox"><pre><code>Название - {$product.title}</code></pre></div><div class="codebox"><pre><code>Картинка - {$product-&gt;getMainImage()-&gt;getUrl(500, 500)}</code></pre></div><div class="codebox"><pre><code>Цена - {$product-&gt;getCost()}</code></pre></div><div class="codebox"><pre><code>Бренд - {$product-&gt;getBrand()-&gt;title}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Закусило Александр]]></name>
				<uri>http://forum.readyscript.ru/user/20/</uri>
			</author>
			<updated>2019-01-30T15:46:44Z</updated>
			<id>http://forum.readyscript.ru/post/9462/#p9462</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Микроразметка категории и товаров по schema.org (Современная тема)]]></title>
			<link rel="alternate" href="http://forum.readyscript.ru/post/9461/#p9461" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Закусило Александр пишет:</cite><blockquote><p>Какой конкретно параметр у Вас не получается получить?</p></blockquote></div><p>Для категории: </p><p>&quot;name&quot;: &quot;*<strong>Название категории</strong>*&quot;,<br />&quot;offers&quot;:{<br />&quot;@type&quot;: &quot;AggregateOffer&quot;,<br />&quot;lowPrice&quot; : &quot;*<strong>min цена товара</strong>*&quot;,<br />&quot;highPrice&quot; : &quot;*<strong>max цена товара</strong>*&quot;,</p><p>Для товара:</p><p>&quot;image&quot;: &quot;*<strong>Изображение товара</strong>*&quot;,<br />&quot;mpn&quot;: &quot;<strong>артикул</strong>&quot;,<br />&quot;brand&quot; : {<br />&nbsp; &nbsp; &quot;@type&quot; : &quot;Brand&quot;,<br />&nbsp; &nbsp; &quot;name&quot; : &quot;<strong>Название бренда</strong>&quot;<br />&nbsp; },</p>]]></content>
			<author>
				<name><![CDATA[Константин]]></name>
				<uri>http://forum.readyscript.ru/user/166/</uri>
			</author>
			<updated>2019-01-30T13:28:31Z</updated>
			<id>http://forum.readyscript.ru/post/9461/#p9461</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Микроразметка категории и товаров по schema.org (Современная тема)]]></title>
			<link rel="alternate" href="http://forum.readyscript.ru/post/9460/#p9460" />
			<content type="html"><![CDATA[<p>Какой конкретно параметр у Вас не получается получить?</p>]]></content>
			<author>
				<name><![CDATA[Закусило Александр]]></name>
				<uri>http://forum.readyscript.ru/user/20/</uri>
			</author>
			<updated>2019-01-30T12:48:45Z</updated>
			<id>http://forum.readyscript.ru/post/9460/#p9460</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Микроразметка категории и товаров по schema.org (Современная тема)]]></title>
			<link rel="alternate" href="http://forum.readyscript.ru/post/9458/#p9458" />
			<content type="html"><![CDATA[<p>Добрый день необходимо реализовать микроразметку для страничек категорий и товаров.</p><p>Помогите пожалуйста с подстановкой значений.</p><p><strong>Для категории:</strong></p><div class="codebox"><pre><code>&lt;script type=&#039;application/ld+json&#039;&gt; {
&quot;@context&quot;: &quot;http://www.schema.org&quot;;,
&quot;@type&quot;: &quot;product&quot;,
&quot;name&quot;: &quot;*Название категории*&quot;,
&quot;offers&quot;:{
&quot;@type&quot;: &quot;AggregateOffer&quot;,
&quot;lowPrice&quot; : &quot;*min цена товара*&quot;,
&quot;highPrice&quot; : &quot;*max цена товара*&quot;,
&quot;priceCurrency&quot; : &quot;UAH&quot;
},
&quot;aggregateRating&quot;: {
&quot;@type&quot;: &quot;aggregateRating&quot;,
&quot;ratingValue&quot;: &quot;*средняя оценка*&quot;,
&quot;reviewCount&quot;: &quot;*кол-во оценок*&quot;,
&quot;bestRating&quot;:&quot;*максимальный рейтинг*&quot;
}
}
&lt;/script&gt;</code></pre></div><p><strong>Для товара:</strong></p><div class="codebox"><pre><code>&lt;script type=&quot;application/ld+json&quot;&gt;
{
&quot;@context&quot;: &quot;http://schema.org&quot;;,
&quot;@type&quot;: &quot;Product&quot;,
&quot;aggregateRating&quot;: {
&quot;@type&quot;: &quot;AggregateRating&quot;,
&quot;ratingValue&quot;: &quot;*Средняя оценка товара*&quot;,
&quot;reviewCount&quot;: &quot;*Количество отзывов*&quot;
},
&quot;description&quot;: &quot;*Описание товара*&quot;,
&quot;name&quot;: &quot;*Наименование товара*&quot;,
&quot;image&quot;: &quot;*Изображение товара*&quot;,
&quot;mpn&quot;: &quot;артикул&quot;,
&quot;brand&quot; : {
    &quot;@type&quot; : &quot;Brand&quot;,
    &quot;name&quot; : &quot;Название бренда&quot;
  },
&quot;offers&quot;: {
&quot;@type&quot;: &quot;Offer&quot;,
&quot;availability&quot;: &quot;http://schema.org/InStock&quot;;,
&quot;price&quot;: &quot;*Стоимость товара*&quot;,
&quot;priceCurrency&quot;: &quot;UAH&quot;
},
&quot;review&quot;: [
{
&quot;@type&quot;: &quot;Review&quot;,
&quot;author&quot;: &quot;*Имя автора отзыва*&quot;,
&quot;datePublished&quot;: &quot;*Дата публикации отзыва&quot;,
&quot;description&quot;: &quot;*Сам отзыв*&quot;,
&quot;reviewRating&quot;: {
&quot;@type&quot;: &quot;Rating&quot;,
&quot;bestRating&quot;: &quot;*мах оценка*&quot;,
&quot;ratingValue&quot;: &quot;*оставленный рейтинг*&quot;,
&quot;worstRating&quot;: &quot;*min оценка*&quot;}}]}
&lt;/script&gt;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Константин]]></name>
				<uri>http://forum.readyscript.ru/user/166/</uri>
			</author>
			<updated>2019-01-30T09:29:12Z</updated>
			<id>http://forum.readyscript.ru/post/9458/#p9458</id>
		</entry>
</feed>
