RuffRuff Order Limits

(Use Case) Limit Total Quantity Across All Variants to 5

This is a configuration example for restricting the total quantity purchased across all variants of the same product.

This guide assumes the app embed has already been enabled.

If you haven’t enabled it yet, please refer to Initial Setup to enable it.

You can check this behavior on our demo product → [Demo] Quantity Limit of 5 for the Entire Product

Use this when you want to limit the total number of items purchased per order, counting across all variants such as different colors or sizes.

The following behavior applies based on the combined quantity across all variants of the eligible product:

Cart contents

Total

Result

S size × 5

5

Allowed

S size × 3 + M size × 2

5

Allowed

S size × 2 + M size × 2 + L size × 2

6

Not allowed

S size × 3 + M size × 3

6

Not allowed

Field

Value

① Title

Enter any title

② Limit details > Minimum quantity

1

② Limit details > Maximum quantity

5

② Limit details > Applicability

Product

③ Eligible items

Set the products you want to restrict

④ Product message

Enter any message

⑤ Alert message > Display timing

Cart updated and checkout

⑤ Alert message > Maximum quantity message

Enter any message

  • Setting Applicability to Product combines the quantities of different variants into a single total.

  • When Applicability is set to Variant, each variant (such as S size and M size) is counted independently. Use Product when you want to restrict the combined total across all variants.