1. Fix the test conditions
Record the rule, products, variants, signed-in state, tags, market and language. Start with a simple scope and change one rule at a time. If isolating rules, record existing settings first. Temporarily use draft status only in a test environment or an appropriate maintenance arrangement, then restore the settings.2. Confirm activation
New quantity and customer rules use 创建并启用, and edits use 保存并启用. Price and weight rules use 保存并启用. Resolve saving errors before testing.
3. Test allowed, boundary and blocked carts
For selected products or collections, also test a cart containing only unrelated products. That cart should be outside this scoped rule.
4. Test identity, variants and language
- Identity: test a guest, a signed-in tagged customer and a signed-in untagged customer.
- Variants: split one product across colors to check product totals and variant caps.
- Stage: test cart and checkout according to timing. Successful add-to-cart alone does not establish failure.
- Language: test your storefront and checkout languages, including variable substitution.
- Amount: add actual discounts and market currencies after the first simple test.
- Cumulative purchases: create the first order, wait for the record update and test the same account again. Refunds and cancellations do not restore quantity automatically.