![[デモ] おひとり様1点限り(過去の注文も含めて)](http://ruffruff.app/cdn/shop/files/demo-order-limits-one-per-customer.webp?v=1791866545&width=1000)
[Demo] Limit 1 per customer, including past orders
What this demo shows
RuffRuff Order Limits lets each customer buy only 1 of this product in total, including past orders. The customer must be logged in.
How to try it
This order is free. Nothing will be shipped.
- Log in at /account/login.
- Add 2 of this product to the cart and go to checkout.
- Change the quantity to 1 and complete checkout.
- After that order, add this product to the cart again and go to checkout.
- Log out, then go to checkout with this product again.
What you should see
- Logged in, with a total quantity of 1 across past orders and the cart → You can buy it.
- The total quantity across past orders and the cart is 2 or more → You cannot buy it.
- Logged out → You cannot buy it.
How to set it up
In Cumulative quantity rules of RuffRuff Order Limits, set a per-customer maximum of 1, including past orders, and require the customer to log in.
![[デモ] おひとり様1点限り(過去の注文も含めて)](http://ruffruff.app/cdn/shop/files/demo-order-limits-one-per-customer.webp?v=1791866545&width=1000)
[Demo] Limit 1 per customer, including past orders
Sale price¥0