Okay it seems like the reason the redirect is not working is because the link is coming from a form. This is the code I'm using:
<form method="LINK" action="/cart/add/p12_q1-m0?destination=cart" class="cartButton">
<input type="submit" value="Add to cart">
</form>I'm looking for a workaround. All I need is an html button as a link.
