<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Форум ReadyScript &mdash; Не отображается зачеркнутая цена]]></title>
		<link>https://forum.readyscript.ru/topic/2046/ne-otobrazhaetsya-zacherknutaya-tsena/</link>
		<atom:link href="https://forum.readyscript.ru/feed/rss/topic/2046/" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Не отображается зачеркнутая цена».]]></description>
		<lastBuildDate>Tue, 11 Feb 2020 16:47:12 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Не отображается зачеркнутая цена]]></title>
			<link>https://forum.readyscript.ru/post/10951/#p10951</link>
			<description><![CDATA[<p>Сам разобрался, вдруг кому пригодиться, нужно что бы в настройках модуля каталога товаров была указана зачеркнутая цена и все будет отображаться!</p>]]></description>
			<author><![CDATA[null@example.com (Денис)]]></author>
			<pubDate>Tue, 11 Feb 2020 16:47:12 +0000</pubDate>
			<guid>https://forum.readyscript.ru/post/10951/#p10951</guid>
		</item>
		<item>
			<title><![CDATA[Не отображается зачеркнутая цена]]></title>
			<link>https://forum.readyscript.ru/post/10950/#p10950</link>
			<description><![CDATA[<p>Все товары добавил, цена зачеркнутая в карточке товара в админке есть, но на сайте ни в одной из стандартных тем ее не видно...</p><p>В демо у вас кстати тоже есть 1 товар с зачеркнутой ценой и ее тоже не видно...</p><p>Как ее показать?</p><p>Сами коды не правил, в кодах темы она есть</p><div class="quotebox"><blockquote><p>&lt;div class=&quot;card-price&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {$cur_cost = $product-&gt;getCost()}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {$old_cost = $product-&gt;getOldCost()}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {if $old_cost &amp;&amp; $old_cost != $cur_cost}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;span class=&quot;card-price_old&quot;&gt;{$old_cost} {$product-&gt;getCurrency()}&lt;/span&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {/if}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;span class=&quot;card-price_new&quot;&gt;{$cur_cost} {$product-&gt;getCurrency()}&lt;/span&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;div&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {hook name=&quot;catalog-list_products:tableview-buttons&quot; product=$product title=&quot;{t}Просмотр категории продукции:кнопки, табличный вид{/t}&quot;}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {if $shop_config &amp;&amp; !$product.disallow_manually_add_to_cart}<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; {if $product-&gt;isOffersUse() || $product-&gt;isMultiOffersUse()}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;a data-url=&quot;{$router-&gt;getUrl(&#039;shop-front-multioffers&#039;, [&quot;product_id&quot; =&gt; $product.id])}&quot; class=&quot;link link-more rs-in-dialog&quot;&gt;{t}Заказать{/t}&lt;/a&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; &lt;a data-url=&quot;{$router-&gt;getUrl(&#039;shop-front-reservation&#039;, [&quot;product_id&quot; =&gt; $product.id])}&quot; class=&quot;link link-more rs-in-dialog&quot;&gt;{t}Заказать{/t}&lt;/a&gt;<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; {else}<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;span class=&quot;unobt pull-right&quot; title=&quot;{t}Нет в наличии{/t}&quot;&gt;{t}Нет в наличии{/t}&lt;/span&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;a data-url=&quot;{$router-&gt;getUrl(&#039;shop-front-multioffers&#039;, [&quot;product_id&quot; =&gt; $product.id])}&quot; class=&quot;link link-more rs-in-dialog&quot;&gt;{t}В корзину{/t}&lt;/a&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-url=&quot;{$router-&gt;getUrl(&#039;shop-front-cartpage&#039;, [&quot;add&quot; =&gt; $product.id])}&quot; class=&quot;link link-more rs-to-cart rs-no-show-cart&quot; data-add-text=&quot;{t}Добавлено{/t}&quot;&gt;{t}В корзину{/t}&lt;/a&gt;<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}<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; {/hook}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt;</p></blockquote></div><p>Но как будет getOldCost не выдает цену</p><p>В чем может быть проблема?</p><p>Заранее спасибо!</p>]]></description>
			<author><![CDATA[null@example.com (Денис)]]></author>
			<pubDate>Tue, 11 Feb 2020 16:32:43 +0000</pubDate>
			<guid>https://forum.readyscript.ru/post/10950/#p10950</guid>
		</item>
	</channel>
</rss>
