Skip to main content
Use the product table in Order Limit for independent product or variant thresholds. This example caps all variants of a product at 3 units, while variant A has a separate cap of 1.

Before you begin

Prepare variants A and B of the same purchasable product. Review rule priority: an overlapping individual quantity rule can relax the product cap.

Set both levels

1

Find the product

Open Apps → 订单限购 in Shopify. Choose 按产品设置数量限制 on the app home page. Search for the product under 搜索产品.Search and filter for the target product on the product quantity limits page
2

Set the whole-product cap

On the product row, set 限制状态 to 已开启, leave 最小值 blank and enter 3 under 最大值. This counts all variants of the product together.The product row is on with a maximum of 3
3

Set the variant A cap

Expand the product variants. On the variant A row, select 已开启, leave the minimum blank and set the maximum to 1. Click 保存 at the top and wait for saving to finish.Filter to the target product and expand its variant rows, where each variant can have its own limits
4

Enable the feature and validation

Return to 数量限制, turn on 开启产品数量限制, and choose 购物车互动时和结账时. Confirm 数量规则开关 is enabled, open the 数量规则 switch until it shows 已开启.

Four test cases

Other active rules can still block a cart that passes these settings. Variant A × 2 exceeds the variant A cap of 1, and the storefront shows the block message: Variant A at 2 units, the storefront says the purchase quantity cannot exceed 1 Variant A × 1 plus variant B × 2 stays within the product cap of 3, so the cart can proceed to checkout: Variant A 1 unit and variant B 2 units in the cart, 3 total, can proceed to checkout

Edit or pause

Change the row values and click 保存. To pause one row, set 限制状态 to 未开启 and save. Disabling a product row does not disable its active variant rows; check each separately. Turning off 开启产品数量限制 pauses these product and variant settings. It is separate from 数量规则.

If results differ

If variant A × 2 passes, check that you edited the variant A row and saved. If the whole product exceeds 3, check product status, the feature switch and overlapping individual rules. Product and individual rule limits combine using relaxed thresholds. For a shared allowance across products, use combined quantity. Complete the launch checklist. The bold Chinese labels above match the current app.