GuidesHow to limit one product per customer across orders (lifetime limits) in Shopify

How to limit one product per customer across orders (lifetime limits) in Shopify

Updated August 2026 · Applies to every Shopify plan

Short answer

A cart rule checks one cart. A discount code limited to one use per customer limits the discount, not the purchase. To limit one product per customer across separate orders, you need an app that counts each customer's orders and checks that count at checkout. Our app counts each customer's orders paid while a per-customer limit is on, and checks the count for signed-in shoppers. Orders paid before you turn on your first per-customer limit do not count.

The options compared

WhereCaps one cart or checkoutCaps across separate ordersAutomatic, no manual codesVerdict
Discount-code workaroundNoNoNoLimits the discount, not the purchase
Cart-level limit appYesNoYesChecks one cart only
An app that counts each customer's ordersYesYesYesEnforced

Why Shopify behaves this way

Shopify Functions, the mechanism modern limit and validation apps run on, evaluates the current cart at checkout, plus any data an app saves for it. It was built to answer questions like "does this cart violate a rule", and a cart, by definition, only contains what the shopper has added right now. It does not see past orders by itself. An app has to record each customer's orders and pass the count in. Our app does this. An app that checks only the cart starts from zero each time a customer starts a new checkout.

Where it fails

A store sets "limit 1 per customer". A customer buys one, comes back the next day, opens a new cart and buys another one. The app checked that cart. It never checked whether the customer had bought one in an earlier order.

A cart-only app allows a repeat order on day 2; an order-history app blocks it. Cart-only app checks what is in the cart right now Monday, cart: 1 unit no past orders in cart, allowed Order #1 placed app forgets the cart Tuesday, new cart: 1 unit app sees an empty history Order #2 goes through, the limit never fired Order-history app checks what this customer already bought Tuesday, new cart: 1 unit same customer returns Looks back at order history finds Monday’s order #1 Checkout blocked lifetime limit of 1 enforced
A cart-only rule checks the current order. Only a rule that counts orders can count Monday’s purchase against Tuesday’s order.

What each option does

Discount-code workaround. An older fix from forum threads: create a discount code and limit it to one use per customer. Shopify tracks the use by the customer's email address or phone number. This limits who gets the discount. It does not stop a customer from buying the product again at full price.

Cart-level limit apps. Many order-limit apps check only the current cart. Some also count past orders. Before you install one, check its listing for per-customer or re-purchase limits. A cart-only app stops someone from buying 10 of a capped item in one order, and it is often cheaper or simpler if that is all you need. It does not stop the same customer from placing a second order tomorrow.

Apps that count each customer's orders. To enforce one per customer across orders, the checkout rule needs the count of what this customer already bought, not just the cart. The app records each paid order and gives checkout that count.

Where our app fits

Mastiff: Checkout Rules has a per-customer limit. It counts each customer's orders paid while a per-customer limit is on, and Shopify checkout enforces the limit across separate orders for signed-in shoppers. Orders paid before you turn on your first per-customer limit do not count. The same app has per-product, per-variant and per-cart limits, sell in multiples (case packs) and minimum and maximum order value rules, so you can combine a per-customer limit on one product with other rules in the same store.

To stop the same customer from buying a capped product again in a later order, use a rule that counts orders. A cart-only app checks one cart at a time.

What our app does

Mastiff: Checkout Rules

Per-customer limits that count each customer's paid orders, enforced at Shopify checkout for signed-in shoppers. Counting starts when you turn on your first per-customer limit. Per-product, per-variant and per-cart limits, sell in multiples and order value rules are in the same app.

Install free on Shopify
The rules list in Mastiff: Checkout Rules

What to know before you set it up

Three things to know about our app's per-customer limit:

  • By default, shoppers must sign in to buy a capped item. The app counts orders by Shopify customer, and checkout checks the count for a signed-in shopper. If you allow guests, the limit is not checked for them.
  • The limit works per customer account. It stops a customer from ordering a capped item again from the same account. A person who uses several accounts or emails counts as several customers.
  • Counting starts when you turn on your first per-customer limit. The app counts orders paid while a per-customer limit is on. Orders paid before that do not count.

When you compare apps for this job, look for a per-customer limit that counts orders, and check from which date each app starts counting.