Skip to main content
You are launching a limited-edition cup and want each order to contain at most 2 units. An individual quantity rule totals all variants of that product.

When to use this

Use this for limited launches and retail promotions that cap each product in one purchase.

Before you begin

Prepare a purchasable cup with enough stock. Red and blue must be variants of the same product. Use an unselected coaster to test scope.

Settings

Open the app home page → All quantity rules → create a rule.

Steps

  1. Open Apps → 订单限购 in Shopify. From the app home page, open 所有数量规则 and click 创建规则.
  2. Enter the rule name and thresholds from the settings table. The name is for admin use only.
  3. Under 规则应用于, select the scope in the table. For selected products or collections, click 选择产品 or 选择产品系列 and confirm the selected names appear.
  4. Set the timing from the table. Under 保存后的状态, select 已启用 and click 创建并启用. When editing an existing rule, click 保存并启用.
  5. Return to 数量限制 and turn on 开启数量规则. Confirm 购物车与结账校验 is enabled, using 启用校验 if necessary.
  6. Reopen the rule to confirm its thresholds, scope, customer conditions and active state were saved. Run the storefront tests below.

Test your configuration

Each result describes this recipe only. Keep the product scope consistent and verify checkout; other active rules may still block the cart.
This rule checks each cart. It does not share a 2-unit allowance across multiple orders by the same customer.
For repeat purchases, see sample purchase limits.

If results differ

Two units of each color exceed this cap because variants share the product allowance. To share an allowance across different products, use a combined rule. Use troubleshooting to investigate. Complete the launch checklist before rolling out.