![[デモ] お米は合計10kgまで購入できる(5kg)](http://ruffruff.app/cdn/shop/files/demo-order-limits-rice-5kg.webp?v=1791866549&width=1000)
[Demo] Up to 10 kg of rice in total (5 kg)
Weight:
5.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 5 kg, and each unit of the other rice product weighs 2 kg.
How to try it
- Add no other products. Add 2 of this 5 kg rice. The total is 10 kg. Go to checkout.
- Add 1 of [Demo] Up to 10 kg of rice in total (2 kg). The total is 12 kg. Go to checkout.
- Remove the 5 kg rice and set [Demo] Up to 10 kg of rice in total (2 kg) to 5. 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.
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まで購入できる(5kg)](http://ruffruff.app/cdn/shop/files/demo-order-limits-rice-5kg.webp?v=1791866549&width=1000)
[Demo] Up to 10 kg of rice in total (5 kg)
Sale price¥2,500
Weight:
5.0kg