<?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="http://forum.readyscript.ru/feed/atom/topic/1725/" />
	<updated>2019-02-11T16:12:22Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.readyscript.ru/topic/1725/problemy-s-korzinoi/</id>
		<entry>
			<title type="html"><![CDATA[Re: проблемы с корзиной]]></title>
			<link rel="alternate" href="http://forum.readyscript.ru/post/9507/#p9507" />
			<content type="html"><![CDATA[<p>как с мачетой сквозь джунгли пробираешься.....<br />какие файлы&nbsp; отвечают за добавление в избранное????<br />что обрабатывает зажатие на недоссылку....ни где не вижу...</p><p>&nbsp; {if $THEME_SETTINGS.enable_favorite}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;a&nbsp; class=&quot; favorite{if $product-&gt;inFavorite()} inFavorite{/if}&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;span&gt;Добавить в избранное&lt;/span&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;span class=&quot;already&quot;&gt;{t}В избранном{/t}&lt;/span&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/a&gt; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp;{/if}</p>]]></content>
			<author>
				<name><![CDATA[арт]]></name>
				<uri>http://forum.readyscript.ru/user/1157/</uri>
			</author>
			<updated>2019-02-11T16:12:22Z</updated>
			<id>http://forum.readyscript.ru/post/9507/#p9507</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: проблемы с корзиной]]></title>
			<link rel="alternate" href="http://forum.readyscript.ru/post/9506/#p9506" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Закусило Александр пишет:</cite><blockquote><p>Вам нужно перейти по сути на страница /cart/. Всплывающая корзина отдаётся когда запрос идет с параметром <strong>floatCart=1</strong>. которая проверяется в шаблоне</p></blockquote></div><p>&nbsp; благодарю&nbsp; разобрался..раскопал...&nbsp; floatCart&nbsp; &nbsp;принудительно задается с common.js....</p>]]></content>
			<author>
				<name><![CDATA[арт]]></name>
				<uri>http://forum.readyscript.ru/user/1157/</uri>
			</author>
			<updated>2019-02-11T16:09:13Z</updated>
			<id>http://forum.readyscript.ru/post/9506/#p9506</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: проблемы с корзиной]]></title>
			<link rel="alternate" href="http://forum.readyscript.ru/post/9501/#p9501" />
			<content type="html"><![CDATA[<p>Вам нужно перейти по сути на страница /cart/. Всплывающая корзина отдаётся когда запрос идет с параметром <strong>floatCart=1</strong>. которая проверяется в шаблоне</p>]]></content>
			<author>
				<name><![CDATA[Закусило Александр]]></name>
				<uri>http://forum.readyscript.ru/user/20/</uri>
			</author>
			<updated>2019-02-11T08:37:28Z</updated>
			<id>http://forum.readyscript.ru/post/9501/#p9501</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: проблемы с корзиной]]></title>
			<link rel="alternate" href="http://forum.readyscript.ru/post/9502/#p9502" />
			<content type="html"><![CDATA[<p>Вам нужно перейти по сути на страница /cart/. Всплывающая корзина отдаётся когда запрос идет с параметром <strong>floatCart=1</strong>. которая проверяется в шаблоне</p>]]></content>
			<author>
				<name><![CDATA[Закусило Александр]]></name>
				<uri>http://forum.readyscript.ru/user/20/</uri>
			</author>
			<updated>2019-02-11T08:37:28Z</updated>
			<id>http://forum.readyscript.ru/post/9502/#p9502</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: проблемы с корзиной]]></title>
			<link rel="alternate" href="http://forum.readyscript.ru/post/9500/#p9500" />
			<content type="html"><![CDATA[<p>как вырезать&nbsp; корзину в модальном окне....хочу переходить непосредственно на страницу с корзиной...а то с floatCart<br />все запутанно и разбросанно по разным местам( сложно логику проследить)</p>]]></content>
			<author>
				<name><![CDATA[арт]]></name>
				<uri>http://forum.readyscript.ru/user/1157/</uri>
			</author>
			<updated>2019-02-10T07:48:57Z</updated>
			<id>http://forum.readyscript.ru/post/9500/#p9500</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: проблемы с корзиной]]></title>
			<link rel="alternate" href="http://forum.readyscript.ru/post/9499/#p9499" />
			<content type="html"><![CDATA[<p>В теме fashion конкретно id=&quot;cart&quot; используется в блоке корзины, которая внизу прилипает. В theme.js идет инициализация скрипта через .<br /></p><div class="codebox"><pre><code>$.cart({
        saveScroll: &#039;.scrollBox&#039;,
        cartItemRemove: &#039;.cartTable .iconRemove&#039;,
        cartTotalPrice: &#039;.floatCartPrice&#039;,
        cartTotalItems: &#039;.floatCartAmount&#039;
    }); </code></pre></div><p>Там уже и происходит все навешивание обработчиков событий при первом запуске плагина.</p>]]></content>
			<author>
				<name><![CDATA[Закусило Александр]]></name>
				<uri>http://forum.readyscript.ru/user/20/</uri>
			</author>
			<updated>2019-02-08T07:50:29Z</updated>
			<id>http://forum.readyscript.ru/post/9499/#p9499</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: проблемы с корзиной]]></title>
			<link rel="alternate" href="http://forum.readyscript.ru/post/9495/#p9495" />
			<content type="html"><![CDATA[<p>кому интересно...... common.js&nbsp; &nbsp;не работал .....из за того что не был подключен theme.js.....<br />&nbsp; был бы какой нибудь мануал&nbsp; &nbsp;....за что отвечают файлы&nbsp; js в resourse....</p>]]></content>
			<author>
				<name><![CDATA[арт]]></name>
				<uri>http://forum.readyscript.ru/user/1157/</uri>
			</author>
			<updated>2019-02-06T13:22:47Z</updated>
			<id>http://forum.readyscript.ru/post/9495/#p9495</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: проблемы с корзиной]]></title>
			<link rel="alternate" href="http://forum.readyscript.ru/post/9494/#p9494" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Закусило Александр пишет:</cite><blockquote><p>Ну так как написано так и происходит. Эта функция запускает обработки в корзине.</p></blockquote></div><p>&nbsp; &nbsp;это понятно ....я не вижу чтоб в шаблоне у меня или в шаблонах&nbsp; темы fashion&nbsp; &nbsp;находился какой нибудь элемент с #id= cart<br /> из за этого&nbsp; может условие&nbsp; инициализации не выполнятся</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cart: function( method ) {...<br />или вообще не в ту степь полез....</p>]]></content>
			<author>
				<name><![CDATA[арт]]></name>
				<uri>http://forum.readyscript.ru/user/1157/</uri>
			</author>
			<updated>2019-02-06T12:52:55Z</updated>
			<id>http://forum.readyscript.ru/post/9494/#p9494</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: проблемы с корзиной]]></title>
			<link rel="alternate" href="http://forum.readyscript.ru/post/9493/#p9493" />
			<content type="html"><![CDATA[<p>дак он самый....<br />&nbsp; тренируюсь.....пытаюсь....разобраться</p>]]></content>
			<author>
				<name><![CDATA[арт]]></name>
				<uri>http://forum.readyscript.ru/user/1157/</uri>
			</author>
			<updated>2019-02-06T12:46:41Z</updated>
			<id>http://forum.readyscript.ru/post/9493/#p9493</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: проблемы с корзиной]]></title>
			<link rel="alternate" href="http://forum.readyscript.ru/post/9492/#p9492" />
			<content type="html"><![CDATA[<p>арт, показали бы сайт, на котором проблемы, если, конечно, это не локалхост</p>]]></content>
			<author>
				<name><![CDATA[Polo Art]]></name>
				<uri>http://forum.readyscript.ru/user/535/</uri>
			</author>
			<updated>2019-02-06T12:02:46Z</updated>
			<id>http://forum.readyscript.ru/post/9492/#p9492</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: проблемы с корзиной]]></title>
			<link rel="alternate" href="http://forum.readyscript.ru/post/9491/#p9491" />
			<content type="html"><![CDATA[<p>Ну так как написано так и происходит. Эта функция запускает обработки в корзине.</p>]]></content>
			<author>
				<name><![CDATA[Закусило Александр]]></name>
				<uri>http://forum.readyscript.ru/user/20/</uri>
			</author>
			<updated>2019-02-06T08:02:32Z</updated>
			<id>http://forum.readyscript.ru/post/9491/#p9491</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: проблемы с корзиной]]></title>
			<link rel="alternate" href="http://forum.readyscript.ru/post/9490/#p9490" />
			<content type="html"><![CDATA[<p>подскажите что значит вот этот комментарий</p><p> /**<br />&nbsp; &nbsp; * Инициализирует функцию добавления товаров в корзину, отображение общего числа товаров в корзине<br />&nbsp; &nbsp; * Инициализируется, если на экране присутствует блок &quot;Корзина&quot;. (элемент #cart)<br />&nbsp; &nbsp; */<br />&nbsp; &nbsp; cart: function( method ) {<br />это в common.js</p>]]></content>
			<author>
				<name><![CDATA[арт]]></name>
				<uri>http://forum.readyscript.ru/user/1157/</uri>
			</author>
			<updated>2019-02-05T13:17:48Z</updated>
			<id>http://forum.readyscript.ru/post/9490/#p9490</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: проблемы с корзиной]]></title>
			<link rel="alternate" href="http://forum.readyscript.ru/post/9489/#p9489" />
			<content type="html"><![CDATA[<p>Вроде все верно. Я думаю Вам поможет только вывод через console.log построчный, чтобы определить срабатывает функция вообще или нет.</p>]]></content>
			<author>
				<name><![CDATA[Закусило Александр]]></name>
				<uri>http://forum.readyscript.ru/user/20/</uri>
			</author>
			<updated>2019-02-05T13:03:53Z</updated>
			<id>http://forum.readyscript.ru/post/9489/#p9489</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: проблемы с корзиной]]></title>
			<link rel="alternate" href="http://forum.readyscript.ru/post/9485/#p9485" />
			<content type="html"><![CDATA[<p>common.js&nbsp; &nbsp;в котором обработка идет.....стандартный ....скопирован из темы fasion....<br />не могу разобраться второй день почему не работает&nbsp; &nbsp; увеличение&nbsp; и уменьшение товаров&nbsp; в корзине...</p>]]></content>
			<author>
				<name><![CDATA[арт]]></name>
				<uri>http://forum.readyscript.ru/user/1157/</uri>
			</author>
			<updated>2019-02-05T08:11:06Z</updated>
			<id>http://forum.readyscript.ru/post/9485/#p9485</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: проблемы с корзиной]]></title>
			<link rel="alternate" href="http://forum.readyscript.ru/post/9484/#p9484" />
			<content type="html"><![CDATA[<p>вот код из&nbsp; cartpage... он стандартный....ничего не менял.....разве что добавил&nbsp; &nbsp;...&nbsp; &nbsp; &nbsp;span class=&quot;num&quot;...<br /> &lt;td class=&quot;amount&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input type=&quot;number&quot; min=&quot;{$product-&gt;getAmountStep()}&quot; step=&quot;{$product-&gt;getAmountStep()}&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; class=&quot;inp fieldAmount&quot; value=&quot;{$cartitem.amount}&quot; name=&quot;products[{$index}][amount]&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;span class=&quot;num&quot; title=&quot;{t}Количество{/t}&quot;&gt;{$cartitem.amount}&lt;/span&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;div class=&quot;incdec&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;a href=&quot;#&quot;&nbsp; class=&quot;inc&quot; data-amount-step=&quot;{$product-&gt;getAmountStep()}&quot;&gt;+++&lt;/a&gt;</p><br /><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;a href=&quot;#&quot; class=&quot;dec&quot; data-amount-step=&quot;{$product-&gt;getAmountStep()}&quot;&gt;---&lt;/a&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;span class=&quot;unit&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {if $catalog_config.use_offer_unit}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {$product.offers.items[$cartitem.offer]-&gt;getUnit()-&gt;stitle}<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; {$product-&gt;getUnit()-&gt;stitle}<br />&nbsp; &nbsp; &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; &nbsp; &nbsp; &lt;/span&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;div class=&quot;error&quot;&gt;{$item.amount_error}&lt;/div&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;</p>]]></content>
			<author>
				<name><![CDATA[арт]]></name>
				<uri>http://forum.readyscript.ru/user/1157/</uri>
			</author>
			<updated>2019-02-05T08:08:52Z</updated>
			<id>http://forum.readyscript.ru/post/9484/#p9484</id>
		</entry>
</feed>
