<form class="add" action="/editCart" method="POST">
<button class="counter__remove" type="submit" name="remove" value="1">-</butto>
<input type="hidden" name="productId" value="<?php echo $product['id']; ?>">
<input type="hidden" name="taste" value="<?php echo $product['taste']; ?>">
<input class="counter__field" type="text" value="0" data-max="1523"
name="amount">
<button class="counter__add" type="submit" name="add" value="2" onclick="addQuantity(<?php echo $product['prise']; ?>)">+</butto>
</form>