![[デモ] お米は合計10kgまで購入できる(2kg)](http://ruffruff.app/cdn/shop/files/demo-order-limits-rice-2kg.webp?v=1791866548&width=1000)
[Demo] Up to 10 kg of rice in total (2 kg)
Weight:
2.0kg
What this demo shows
A weight rule in RuffRuff Order Limits caps the rice at 10 kg in the cart. Each unit of this product weighs 2 kg, and each unit of the other rice product weighs 5 kg.
How to try it
- Add no other products. Add 5 of this 2 kg rice. The total is 10 kg. Go to checkout.
- Change the quantity to 6. The total is 12 kg. Go to checkout.
- Remove the 2 kg rice and add 2 of [Demo] Up to 10 kg of rice in total (5 kg). The total is 10 kg. Go to checkout.
What you should see
- The rice total is 10 kg or less → You can continue checkout.
- The total is over 10 kg → You cannot complete checkout.
Note: If the conditions are not met, a message appears when you add the item to the cart, and you cannot go to checkout.
How to set it up
In the admin, open Weight rules and set Applicability to Cart, Maximum weight to 10, and Weight unit to Kilograms (kg).
![[デモ] お米は合計10kgまで購入できる(2kg)](http://ruffruff.app/cdn/shop/files/demo-order-limits-rice-2kg.webp?v=1791866548&width=1000)
[Demo] Up to 10 kg of rice in total (2 kg)
Sale price¥1,000
Weight:
2.0kg