On those pages I would like to add a button that will add this product to the cart
and forward the client to the check-out.
I would also like to do the same from a link in a sales email.
I have tried adding code like this to the sales letter page, but end up with an empty cart.
Code: Select all
<form action="http://mydomain.eu/webshop/index.php?route=checkout/cart" method="post">
<input type="hidden" name="product_id" value="53" />
<input type="hidden" name="quantity" value="1" />
<input type="submit" name="submit" value="ADD TO CART" class="submit" />
</form>
Any advice?
irbe