The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

One click add to cart and go to checkout page

carvertechcarvertech Member
This is a new requirement for dianejames.foxycart.com
For a particular set of products want to implement one-click ordering:
- user click the "add to my order" button
- the item is added to the cart and the user is then immediately taken to the checkout page

In this scenario we do not want to side cart to slide in.
Is it possible to add the item to the cart "in the background" then redirect the user to checkout?

Thank you
Comments
  • fc_adamfc_adam FoxyCart Team
    @carvertech,

    It is possible - you can add the &cart=checkout attribute to your URL's, or the following input to your forms:
    <input type="hidden" name="cart" value="checkout">
    Including that will force the add to cart action to push the customer straight on to the checkout when adding the product.

    You can see all of our native link/form parameters on this page: http://wiki.foxycart.com/static/redirect/cheat_sheet.

    I hope that helps!
  • Thanks guys!
    Stellar support, per usual.
Sign In or Register to comment.