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.

How to allow only one product on the checkout?

Hi, is possible to allow only one product on checkout?
  • fc_adamfc_adam FoxyCart Team

    That is possible! One way you could approach it would be to add a couple parameters to each of your add to carts. Firstly would be quantity_max=1 to not allow the customer to add more than one of a single product to the cart. Next, you'd also specify empty=true to empty the cart before adding the new product.

    By adding that to each of your add to carts, the customer will only ever have a single product in their cart.
  • Thanks a lot! Solved!
  • This is helpful
Sign In or Register to comment.