I have EE 2.7.2 and Store 2.0.4, wondering if anyone else have encountered this issue. I can't delete from cart items with a minimum qty set. However I can delete any other items without a min qty as I mentioned here Delete from Store Cart
My template looks like:
{exp:store:checkout
form_class="form-horizontal"
next="shop/customer-details"}
{items}
<tr>
<td>{price}</td>
<td>
<input name="items[{key}][item_qty]" value="{item_qty}" class="input-mini item_qty" />
<a href="#" class="remove-product">Remove</a>
</td>
</tr>
{/items}
{/exp:store:checkout}
And the script:
$('.remove-product').click(function(){
// click handler
if (confirm("Are you sure?")) {
$(this).parents('td').find('.item_qty').val('0');
$(this).parents('tr').animate({ "opacity": "hide" }, "slow");
$('#update_cart').click();
return false;
}
});
Any help?