How to allow only one product on the checkout?

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

    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!
  • muasif80muasif80 Member
    This is helpful
Sign In or Register to comment.