Answer the question
In order to leave comments, you need to log in
How to implement sending to cart 2 items minishop2 modx?
Conclusion
<form method="post" class="ms2_form">
<div class="row ms2_product">
<div class="col-md-3 offset-md-3">
<button class="btn btn-default pull-right" type="submit" name="ms2_action" value="cart/add">Сделать заказ</button>
</div>
</div>
</form>
<div class="col-md-6 col-lg-3">
<input type="hidden" name="id" value="{$id}">
<input type="number" name="count" value="1">
<input type="hidden" name="options" value="[]">
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question