I would like to let customers enter their coupon codes on the cart_items_info screen.
When I add the add_coupon_form inside the cart_items_info section, I can no longer update the cart (i.e. change quantity of items or delete items). If I change the qty or try to delete the items, the page refreshes, but the quantities do not change.
Here’s a simple breakdown of my code:
{exp:cartthrob:cart_items_info}
...code to display items, qty, etc.
{exp:cartthrob:add_coupon_form}
<p class="inline">
<label for="coupon">Coupon Code</label>
<input type="text" name="coupon_code" />
{/exp:cartthrob:add_coupon_form}
<input type="image" src="/img/s/updateCart.jpg" value="Update Cart" /><a href="{path=store/storeList}"><img src="/img/s/continueShopping.jpg" alt="Continue Shopping" /></a><a href="{path=store/checkout}"><img src="/img/s/checkout.jpg" alt="Checkout" /></a>
{/exp:cartthrob:update_cart_form}
