Allow only one product at a time to be in cart?
-
I installed your plugin. On the shop page when clicking the “Order” button the user successfully get forwarded to the checkout page.
My goal:
Only one product at a time can be in the cart and purchased.Current situation:
When the user orders a product, he gets forwarded to the checkout page and the selected product is in his cart. If the user decides to go back to the shop page and clicks “Order” for a DIFFERENT product, this product gets added to the cart. –> The user ends up having TWO different products in his cart on the checkout page.How do I achieve that when the user already added a product, this product gets removed from the cart if he decides to go back to the shop page and orders a different product?
- The topic ‘Allow only one product at a time to be in cart?’ is closed to new replies.