<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум ReadyScript &mdash; Карточка товара]]></title>
	<link rel="self" href="https://forum.readyscript.ru/feed/atom/topic/895/" />
	<updated>2016-09-16T12:19:18Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.readyscript.ru/topic/895/kartochka-tovara/</id>
		<entry>
			<title type="html"><![CDATA[Re: Карточка товара]]></title>
			<link rel="alternate" href="https://forum.readyscript.ru/post/4583/#p4583" />
			<content type="html"><![CDATA[<p>ВЫ забыли о том, что нужно у категории добавить нужную характеристику и отметить флажок, что она участвует в фильтре. <br />Смотрим видео <a href="https://www.youtube.com/watch?v=tf_geLw8IUU&amp;list=PLh6R2ixK62ThCqF0geTT1eCc3cBdJ4u31&amp;index=10">https://www.youtube.com/watch?v=tf_geLw … p;index=10</a></p>]]></content>
			<author>
				<name><![CDATA[Закусило Александр]]></name>
				<uri>https://forum.readyscript.ru/user/20/</uri>
			</author>
			<updated>2016-09-16T12:19:18Z</updated>
			<id>https://forum.readyscript.ru/post/4583/#p4583</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Карточка товара]]></title>
			<link rel="alternate" href="https://forum.readyscript.ru/post/4582/#p4582" />
			<content type="html"><![CDATA[<p>&quot; + Как реализовать фильтр по комплектации ( так же по размерам )<br />В моем случае - это 36-37-**-46, в отличии от модели&quot;</p><p>А фильтр назначается только по характеристикам товара. Т.е. в характеристиках должен быть отмечены размеры и у категории добавить нужный фильтр по размерам</p><p>Добавили в Характеристики, <a href="http://s56.radikal.ru/i154/1609/02/7ed03b24191d.jpg">http://s56.radikal.ru/i154/1609/02/7ed03b24191d.jpg</a><br />Добавили в Характеристики у товара, <a href="http://s013.radikal.ru/i324/1609/41/47a24fba1554.jpg">http://s013.radikal.ru/i324/1609/41/47a24fba1554.jpg</a><br />Добавили у 5 моделей.</p><p>Фильтр все равно не появился.</p>]]></content>
			<author>
				<name><![CDATA[Илья]]></name>
				<uri>https://forum.readyscript.ru/user/435/</uri>
			</author>
			<updated>2016-09-16T11:13:09Z</updated>
			<id>https://forum.readyscript.ru/post/4582/#p4582</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Карточка товара]]></title>
			<link rel="alternate" href="https://forum.readyscript.ru/post/4542/#p4542" />
			<content type="html"><![CDATA[<p>Это делается за 10-20 минут. Вы можете обратиться в нашу платную поддержку, там это стоит 750(час рабочего времени). Это на данный момент.<br />helpdesk.readyscript.ru</p>]]></content>
			<author>
				<name><![CDATA[Закусило Александр]]></name>
				<uri>https://forum.readyscript.ru/user/20/</uri>
			</author>
			<updated>2016-09-12T12:08:37Z</updated>
			<id>https://forum.readyscript.ru/post/4542/#p4542</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Карточка товара]]></title>
			<link rel="alternate" href="https://forum.readyscript.ru/post/4535/#p4535" />
			<content type="html"><![CDATA[<p>Александр, за какую суммы вы сможете это реализовать у нас это на сайте?&nbsp; &nbsp;( Имею ввиду карточку товара )<br />Потому что все равно толком не понял, как это сделать)</p>]]></content>
			<author>
				<name><![CDATA[Илья]]></name>
				<uri>https://forum.readyscript.ru/user/435/</uri>
			</author>
			<updated>2016-09-12T08:30:47Z</updated>
			<id>https://forum.readyscript.ru/post/4535/#p4535</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Карточка товара]]></title>
			<link rel="alternate" href="https://forum.readyscript.ru/post/4533/#p4533" />
			<content type="html"><![CDATA[<p>В переменной <strong>$list</strong> содержится массив из множества товаров для данной страницы. Каждый товар это объект \Catalog\Model\Orm\Product (т.е. объект товара). И Вам соответственно доступны все методы товара, включая получение его комплектаций.<br />Комплектации можно получить вызвав метод fillOffers у товара. Но т.к. это список, то подгружать комплектации лучше массово через метод API.<br /></p><div class="codebox"><pre><code>{$list=$this_controller-&gt;api-&gt;addProductsOffers($list)}
//А дальше тут идёт перебор и вывод товаров.</code></pre></div><p>После этого у каждого товара у которого есть комплектации появится подмассив <strong>offers</strong>. Его можно перебрать и вытащить только нужные комплектации у которых свойство <strong>num</strong> больше 0.</p><div class="codebox"><pre><code>//Перебор товаров
{foreach $product.offers.items as $offer}
   {if $offer.num&gt;0}
       {$offer.title}
   {/if}
{/foreach}
//Конец перебора</code></pre></div><p>Ну а дальше украсить.</p><p>А фильтр назначается только по характеристикам товара. Т.е. в характеристиках должен быть отмечены размеры и у категории добавить нужный фильтр по размерам</p>]]></content>
			<author>
				<name><![CDATA[Закусило Александр]]></name>
				<uri>https://forum.readyscript.ru/user/20/</uri>
			</author>
			<updated>2016-09-12T08:11:57Z</updated>
			<id>https://forum.readyscript.ru/post/4533/#p4533</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Карточка товара]]></title>
			<link rel="alternate" href="https://forum.readyscript.ru/post/4532/#p4532" />
			<content type="html"><![CDATA[<p>Всем привет!</p><p>Сейчас карточки товара выглядит вот:<br /><a href="http://s017.radikal.ru/i404/1609/97/f1d037c02333.jpg">http://s017.radikal.ru/i404/1609/97/f1d037c02333.jpg</a></p><p>Как между название товара и ценой вставить &quot;Комплектацию&quot;<br />В моем случае - это 36-37-**-46, в отличии от модели.<br />Чтобы пользователь не кликал на каждый товар, а сразу видел какие размеры доступны.</p><p>+ Как реализовать фильтр по комплектации ( так же по размерам )</p><p>Тема: Молодежная.<br />catalog/list_products_items.tpl</p><p>Буду очень благодарна за помощь)<br />________________</p><p>{if $view_as == &#039;blocks&#039;}<br />&nbsp; &nbsp; &lt;ul class=&quot;products&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; {foreach $list as $product}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li {$product-&gt;getDebugAttributes()} data-id=&quot;{$product.id}&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {$main_image=$product-&gt;getMainImage()}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;a href=&quot;{$product-&gt;getUrl()}&quot; class=&quot;image&quot;&gt;{if $product-&gt;inDir(&#039;new&#039;)}&lt;i class=&quot;new&quot;&gt;&lt;/i&gt;{/if}&lt;img src=&quot;{$main_image-&gt;getUrl(188,258)}&quot; alt=&quot;{$main_image.title|default:&quot;{$product.title}&quot;}&quot;/&gt;&lt;/a&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {hook name=&quot;catalog-list_products:blockview-title&quot; title=&quot;{t}Просмотр категории продукции:название товара, блочный вид{/t}&quot;}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;a href=&quot;{$product-&gt;getUrl()}&quot; class=&quot;title&quot;&gt;{$product.title}&lt;/a&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {/hook}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;p class=&quot;price&quot;&gt;{$product-&gt;getCost()} {$product-&gt;getCurrency()} <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {$last_price=$product-&gt;getOldCost()}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {if $last_price&gt;0}&lt;span class=&quot;last&quot;&gt;{$last_price} {$product-&gt;getCurrency()}&lt;/span&gt;{/if}&lt;/p&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {if $THEME_SETTINGS.enable_favorite}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;a class=&quot;favorite listStyle{if $product-&gt;inFavorite()} inFavorite{/if}&quot; data-title=&quot;{t}В избранное{/t}&quot; data-already-title=&quot;{t}В избранном{/t}&quot;&gt;&lt;/a&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {/if}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;div class=&quot;hoverBlock&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;div class=&quot;back&quot;&gt;&lt;/div&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;div class=&quot;main&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {hook name=&quot;catalog-list_products:blockview-buttons&quot; title=&quot;{t}Просмотр категории продукции:кнопки, блочный вид{/t}&quot;}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {if $shop_config}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {if $product-&gt;shouldReserve()}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;a data-href=&quot;{$router-&gt;getUrl(&#039;shop-front-reservation&#039;, [&quot;product_id&quot; =&gt; $product.id])}&quot; class=&quot;button reserve inDialog&quot;&gt;Заказать&lt;/a&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {else}&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {if $check_quantity &amp;&amp; $product.num&lt;1}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;span class=&quot;noAvaible&quot;&gt;Нет в наличии&lt;/span&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {else}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {if $product-&gt;isOffersUse() || $product-&gt;isMultiOffersUse()}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;span data-href=&quot;{$router-&gt;getUrl(&#039;shop-front-multioffers&#039;, [&quot;product_id&quot; =&gt; $product.id])}&quot; class=&quot;button showMultiOffers inDialog noShowCart&quot;&gt;В корзину&lt;/span&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {else}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;a data-href=&quot;{$router-&gt;getUrl(&#039;shop-front-cartpage&#039;, [&quot;add&quot; =&gt; $product.id])}&quot; class=&quot;button addToCart noShowCart&quot; data-add-text=&quot;Добавлено&quot;&gt;В корзину&lt;/a&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {/if}&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {/if}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {/if}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {/if}&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {/hook}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {if $THEME_SETTINGS.enable_compare}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;a class=&quot;compare{if $product-&gt;inCompareList()} inCompare{/if}&quot;&gt;&lt;span&gt;К сравнению&lt;/span&gt;&lt;span class=&quot;already&quot;&gt;Добавлено&lt;/span&gt;&lt;/a&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {/if}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/li&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; {/foreach}<br />&nbsp; &nbsp; &lt;/ul&gt;<br />{else}<br />&nbsp; &nbsp; &lt;table class=&quot;productTable&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; {foreach $list as $product}<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;tr {$product-&gt;getDebugAttributes()} data-id=&quot;{$product.id}&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {$main_image=$product-&gt;getMainImage()}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td class=&quot;image&quot;&gt;&lt;a href=&quot;{$product-&gt;getUrl()}&quot;&gt;&lt;img src=&quot;{$main_image-&gt;getUrl(100,100)}&quot; alt=&quot;{$main_image.title|default:&quot;{$product.title}&quot;}&quot;/&gt;&lt;/a&gt;&lt;/td&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td class=&quot;info&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {hook name=&quot;catalog-list_products:tableview-title&quot; title=&quot;{t}Просмотр категории продукции:название товара, табличный вид{/t}&quot;}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;a href=&quot;{$product-&gt;getUrl()}&quot; class=&quot;title&quot;&gt;{$product.title}&lt;/a&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {/hook}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {if $product.barcode}&lt;p class=&quot;barcode&quot;&gt;Артикул: {$product.barcode}&lt;/p&gt;{/if}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;p class=&quot;descr&quot;&gt;{$product.short_description}&lt;/p&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {if $THEME_SETTINGS.enable_favorite}&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td class=&quot;best&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;a class=&quot;favorite listStyle{if $product-&gt;inFavorite()} inFavorite{/if}&quot; data-title=&quot;{t}В избранное{/t}&quot; data-already-title=&quot;{t}В избранном{/t}&quot;&gt;&lt;/a&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {/if}&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td class=&quot;price&quot;&gt;{$product-&gt;getCost()} {$product-&gt;getCurrency()}&lt;/td&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td class=&quot;actions&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {hook name=&quot;catalog-list_products:tableview-buttons&quot; title=&quot;{t}Просмотр категории продукции:кнопки, табличный вид{/t}&quot;}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {if $shop_config}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {if $product-&gt;shouldReserve()}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;a href=&quot;{$router-&gt;getUrl(&#039;shop-front-reservation&#039;, [&quot;product_id&quot; =&gt; $product.id])}&quot; class=&quot;button reserve inDialog&quot;&gt;Заказать&lt;/a&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {else}&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {if $check_quantity &amp;&amp; $product.num&lt;1}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;div class=&quot;noAvaible&quot;&gt;Нет в наличии&lt;/div&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {else}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {if $product-&gt;isOffersUse() || $product-&gt;isMultiOffersUse()}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;span data-href=&quot;{$router-&gt;getUrl(&#039;shop-front-multioffers&#039;, [&quot;product_id&quot; =&gt; $product.id])}&quot; class=&quot;button showMultiOffers inDialog noShowCart&quot;&gt;В корзину&lt;/span&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {else}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;a data-href=&quot;{$router-&gt;getUrl(&#039;shop-front-cartpage&#039;, [&quot;add&quot; =&gt; $product.id])}&quot; class=&quot;button addToCart noShowCart&quot; data-add-text=&quot;Добавлено&quot;&gt;В корзину&lt;/a&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {/if}&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {/if}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {/if}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {/if}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;br&gt;&lt;a class=&quot;compare{if $product-&gt;inCompareList()} inCompare{/if}&quot;&gt;&lt;span&gt;Сравнить&lt;/span&gt;&lt;span class=&quot;already&quot;&gt;Добавлено&lt;/span&gt;&lt;/a&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {/hook}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; {/foreach}<br />&nbsp; &nbsp; &lt;/table&gt;<br />{/if}<br />{include file=&quot;%THEME%/paginator.tpl&quot;}</p>]]></content>
			<author>
				<name><![CDATA[Илья]]></name>
				<uri>https://forum.readyscript.ru/user/435/</uri>
			</author>
			<updated>2016-09-11T12:55:36Z</updated>
			<id>https://forum.readyscript.ru/post/4532/#p4532</id>
		</entry>
</feed>
