[Demo] Up to 5 in total across all colors

Sale price¥500
Color: Red

What this demo shows

Total quantity limit, under Quantity limits by product in RuffRuff Order Limits, caps Red, Blue, and Green at 5 in total. The limit is the sum of all colors, not each color on its own.

How to try it

  1. Add 3 Red and 2 Blue. The total is 5. Go to checkout.
  2. Add 1 Green. The total is 6. Go to checkout.

What you should see

  • Total of all colors is 5 or less → You can continue checkout.
  • Total of all colors is 6 or more → You cannot complete checkout.

How to set it up

In the admin, open Quantity limits by product, set Total quantity limit maximum quantity to 5, and include Red, Blue, and Green in the total quantity target.

See the setup guide in the Help Center