Purchased items
Match customers who have already purchased specific products or variants, with quantity, lookback, and order-status options.
Purchased items matches a customer based on whether they've already bought specific products or variants. It's a good fit for gating exclusive restocks or upsells to people who've already bought the related item — for example, unlocking an accessory only for customers who bought the matching main product, or opening an early restock only to customers who already own the sold-out original.
Like most access rules (aside from the action-based ones such as Passcode, Secret link, Subscribe, and Confirmation prompt), Purchased items can be set to match If the customer meets the purchase condition, or Unless they don't — inverting it to match customers who haven't bought the item instead. See Combining rules.
Add the rule
Open Locks and create a new lock, or open an existing one to edit it.
Choose the content you want to protect. See Access rules overview for how rules fit into a lock.
Click the Unlock rules tab, then in the Condition type dropdown, select Purchased items.

Choose whether to match Products (any variant of the selected products counts) or Variants (only the specific variants you select count), then pick the items.

Optionally cap the matching purchase quantity, set a lookback window of up to 60 days, and choose which order statuses to ignore.

Choose If or Unless.
Click Save.
The options
Maximum purchased quantity (optional) — the rule always requires the customer to have bought at least one unit of the matching product or variant. Set this field to also cap it: the rule only matches while their total qualifying quantity is at or below the number you enter (useful for something like "unlock this add-on, but only for customers who bought 1-2 of the original — not bulk buyers"). Leave it blank to match on any purchase at all, with no upper limit.
Lookback window in days (optional) — only count orders placed within the last N days. The maximum value is 60; the field does not accept a number greater than 60. Leave it blank to use the full 60-day order-history window available to this rule. Use a smaller value, such as 30, when only more recent purchases should qualify.
Ignore cancelled orders — on by default. Cancelled orders don't count toward a match.
Ignore unfulfilled or partially fulfilled orders — off by default. Turn this on if you only want fully fulfilled orders to count.
Ignore orders that are not fully paid — on by default. Unpaid or partially paid orders don't count toward a match.
This rule evaluates up to the customer's 50 most recent orders placed within the last 60 days. Orders older than 60 days are not checked. If the customer placed more than 50 orders during that period, only the newest 50 are evaluated.
Example: Unlock an accessory for previous buyers
Suppose only customers who purchased The Complete Snowboard within the last 60 days should be able to open a private accessories page.
Select the Snowboard accessories page as the content to protect.

On the Unlock rules tab, set Condition type to Purchased items and leave Rule logic on If.
Under Select items the customer must have purchased, keep Products selected (it matches any variant), then click Specific products and add The Complete Snowboard.

Leave Maximum purchased quantity empty so any qualifying purchase quantity can pass, and set Only look at orders from the last to 60 days.
Leave the three order-status checkboxes at their defaults — Ignore cancelled orders and Ignore orders that are not fully paid are already on, and Ignore unfulfilled or partially fulfilled orders is off. Leave the rule's Redirect URL empty.
In Messages, set the Access denied message to:
Sign in with an account that purchased The Complete Snowboard to view these accessories.

Click Save.
Result on the storefront
A signed-in customer with a qualifying purchase of The Complete Snowboard from the last 60 days can open the accessories page. A purchase older than 60 days does not qualify. A guest or a signed-in customer without a qualifying purchase sees the Access denied message above.

Related docs
Last updated
Was this helpful?