Как можно исправить
На сетке товаров при нажатии купить всплывало окно (продолждить или оформить заказ )
А он добавляет только первый товар
А он добавляет только первый товар
<center>
<button type="submit" data-toggle="modal" data-target="#myModal" class="order" name="ms2_action" value="cart/add" onclick="yaCounter33649769.reachGoal('add_cart'); return true;">Купить</button>
</center>
<div class="modal fade bs-example-modal-lg" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="background: rgba(0,0,0,0.4);">
<div class="modal-dialog">
<div class="modal-content" style="background: #0b90e1; border-radius: 0px;">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true" style="margin-top: -19px;position: relative;left: 12px;">×</button>
<h2 class="modal-title" id="myModalLabel" style="font-size: 16px; text-align:center">[[+pagetitle]] добавлен в корзину</h2>
</div>
<div class="modal-body cont-b" >
<center>
<buttom class="closed" type="button" data-dismiss="modal">Продолжить покупки</buttom>
<span style="color:fff;"> или </span>
<buttom class="baskt" type="button" onclick="document.location = '/basket'">Оформить заказ</buttom></div>
</center>
</div>
</div>