I am unable to post items to Shopify cart using "/cart/add"
with form action and multiple quantities of same variant id. When I try to add 6 quantities of the same variant id, the store cart shows me only 2 quantities that have been added.
I really don't want to use cart permalink as it skips cart page of store totally and from a remote site we can not call ajax api for the cart.
Can anyone help me with this issue?
<form id="addtocart" action="https://www.hotdiggity.dog/cart/add" method="post" enctype="multipart/form-data">
<input type="hidden" name="id[]" value="3013006977"/>
<input type="hidden" name="id[]" value="3013006977"/>
<input type="hidden" name="id[]" value="3013006977"/>
<input type="hidden" name="id[]" value="3013006977"/>
<input type="hidden" name="id[]" value="3013006977"/>
<input type="hidden" name="id[]" value="10304356999"/>
<input type="hidden" name="return_to" value="back" />
<input type="submit" value="Done" id="addToCartBut" class="cartpopupBut"/>
</form>