из стандартного шаблона я выдернул
кнопки и поле для ввода товара, получилось нечто такое
Код: Выделить всё
<form class="cart" action="/cart">
<div class="price">
<strike class='compare_price'>{if $product->variant->compare_price > 0}{$product->variant->compare_price|convert}{else}{/if}</strike>
{if $product->variant->price >0}<span class='color'>{$product->variant->price|convert}</span><i class='color'>{$currency->sign|escape}</i>{else}<i style='margin:0;font-size:19px;' title='Не назначена цена'>Под заказ</i>{/if}
</div>
{$product->views}
<select name="variant" {if $product->variants|count==1 && !$product->variant->name}style='display:none;'{/if}>
{foreach $product->variants as $v}
{if $v->price > 0}<option value="{$v->id}" {if $v->compare_price > 0}compare_price="{$v->compare_price|convert}"{/if} price="{$v->price|convert}">{$v->name}</option>{/if}
{/foreach}
</select>
{* Форма количества *}
<select name="amount" class="amounts">
{section name=amounts start=1 loop=$product->variant->stock+1 step=1}
<option value="{$smarty.section.amounts.index}" {if $product->amount==$smarty.section.amounts.index}selected{/if}>{$smarty.section.amounts.index} {$settings->units}</option>
{/section}
</select>
<br><br>
{if $product->variant->price >0}<input type="submit" class="but_add to_cart" value="" data-result-text=""/>{/if}
</form>
{else}
<div class="price"><i style='margin:0;' title='Нет на складе'><br />Нет в наличии</i></div>
{/if}
</div>
Выбираю количество нужное мне и отличное от "1" и в корзину все равно летит 1 товар ((
Подскажите что поправить нужно что бы добавлялось нужное, а точнее выбранное количество товара