· Dash Checkout · order-limits · 10 min read
How to limit purchases per customer per day on Shopify
Shopify has no native daily purchase cap. Here's how to build one with a customer purchase limit and a Shopify Flow reset at midnight.
Shopify has no built-in way to cap how many units one customer can buy per day. You can build that cap yourself with two pieces: a customer purchase limit that tracks what a customer buys across every order, and a Shopify Flow automation that resets that tracking every day at a scheduled time.
That combination works for a December countdown of daily deals, a New Year clearance that runs for a couple of weeks, or a weekly drop that goes live every Friday. It fits anywhere a sale runs longer than a day and each day should start fresh for every customer.
Why a multi-day sale needs a different setup
A single-day sale is simple. Cap it and let it run, then reset whenever you’re ready to run the next one.
A sale that runs for several days is different. If the cap never resets, a customer who hits it on day one stays capped for the rest of the sale. Say you’re running a “12 days of deals” promotion through December, with one item marked down hard each day: a customer who grabs their 2-unit cap on day one shouldn’t stay stuck at 2 for the remaining eleven. The same applies to a weekly restock that drops every Friday at noon. The cap needs to refresh on a schedule you control, the same way for every customer.
Why Shopify’s cart quantity rules can’t cap daily purchases
Shopify’s own quantity rules only see the cart in front of them. A customer checks out, the cart closes, and the next cart starts clean. There’s no native setting that remembers what a customer bought yesterday and compares it to what they’re buying today.
Shopify does have minimum and maximum order quantity rules that go further than a cart, but they’re built for B2B wholesale buyers on Shopify Plus. For a regular retail storefront, there’s nothing native that caps purchases per customer per day.
That gap is what a customer purchase limit is for. Instead of checking the cart in front of it, it tracks what a customer has bought across all of their orders and blocks the next purchase once they hit the cap. On its own, that cap never resets. Paired with a scheduled automation, it does.
What you’ll need
- DC Order Limits on the Pro plan. Customer purchase limits are a Pro feature. Standard quantity and price limits don’t require Pro, but the cross-order tracking this setup depends on does.
- Shopify Flow, to run the reset automatically every day. Flow is free on the Basic plan and above.
Step 1: Create the daily purchase limit rule
- Open DC Order Limits and go to Customer Purchase Limits.
- Click Create rule.
- Give it a name you’ll recognize later, like “Daily cap: 2 per customer.”
- Set Maximum Quantity to your daily cap, for example 2. If you’d rather cap spending instead of units, use Maximum Spending instead.
- Choose which products the rule covers. Your options are all products, products with a specific tag, or specific products or variants. There’s no option to target a whole collection directly, so if your daily deals live in a collection, add a shared tag to those products (something like
daily-deal) and use that instead. - Under Customer Eligibility, choose who the rule applies to: all customers, customers with a specific tag, or selected customers.
- Under Guest Customer Handling, choose Allow guest checkout. Purchases are tracked by the email a shopper enters at checkout, so guests are tracked the same as logged-in customers. This setting doesn’t need to change for tracking to work.
- Save the rule.
At this point, the rule tracks purchases but doesn’t reset on its own. A customer who hits the cap stays blocked until you add the automation in step 2.
Step 2: Automate the daily reset with Shopify Flow
- Open Shopify Flow from your admin.
- Click Create workflow.
- Click Select a trigger and choose Scheduled time. This is a standard Shopify Flow trigger, not something specific to Dash Checkout.
- Set the frequency to Daily and pick a time, for example 12:00 AM in your store’s timezone.
- Click Then to add an action.
- Search for DC Order Limits in the action list and select Reset Purchase Limits.
- Enter the rule’s ID in the Order Limit ID field. You can find the ID in the URL when you’re editing the rule in DC Order Limits.
- Click Turn on workflow.
From here, the workflow runs on its own. Every day at the time you set, it clears tracked usage for the rule, and every customer starts the next day at zero.
What “resets at midnight” actually means
The Reset Purchase Limits action clears usage for every customer on that rule at once, at the scheduled time. That makes it a calendar-day limit, not a rolling 24-hour window.
The difference shows up at the edges. If a customer buys at 11:58 PM and buys again at 12:02 AM, that’s two separate days as far as the rule is concerned, even though only four minutes passed. What happened is the scheduled reset fired in between; the rule never runs a private 24-hour timer from a customer’s last purchase. For a daily deals promotion, that’s usually exactly what you want: everyone’s count goes back to zero together, at the same time, every day.
If you only need to clear one customer’s usage, say to fix a shipping mix-up without resetting everyone else, DC Order Limits also has a separate Flow action called Reset Customer Purchase Limits that clears a single customer on a specific rule. The daily-cap setup above uses the all-customers version on purpose, since the whole point is that everyone resets together.
Fine-tuning your daily purchase limit
A few adjustments are worth making once the basic rule and reset are working:
- Tag your daily or weekly deal products consistently, so you can swap which products the rule covers each day without rebuilding the rule.
- If staff or wholesale accounts need to buy more than the daily cap allows, add exclusions. Exclusion rules let specific customer tags skip the limit without loosening it for everyone else.
- Check the block message shoppers see. The message that appears when someone hits the cap is a shared template under Order limits, editable on the Pro plan, with placeholders that fill in the numbers, like the cap, what the customer has already bought, and what’s remaining. It’s shop-wide rather than written per rule, so update it once and it covers every customer purchase limit on your store.
How Dash Checkout fits in
Everything above runs on DC Order Limits and Shopify Flow together. The customer purchase limit does the tracking, Flow does the scheduling, and the two combined are what turn a one-time cap into a daily one.
If you’re setting this up for the first time, test it with a dummy account before the sale goes live. Place a purchase, confirm the cap blocks a second one, then clear the rule from its Usage History page with Reset All Limits to confirm the cap lifts. Or wait for the first scheduled run and test again the next morning.
Frequently asked questions
Can Shopify limit how many items a customer buys per day?
Not with Shopify’s native tools alone. Shopify’s cart-level quantity rules only see the current order, and its minimum and maximum order quantity rules are limited to B2B wholesale buyers on Shopify Plus. A per-customer daily cap on a regular storefront needs a customer purchase limit that tracks purchases across orders, paired with a scheduled reset.
Does the limit reset automatically at midnight?
Yes, if you connect it to Shopify Flow. A customer purchase limit on its own tracks usage until you clear it manually. Add a Flow workflow with a scheduled daily trigger and the Reset Purchase Limits action, and the cap clears automatically at whatever time you set, midnight or otherwise.
Is this a rolling 24-hour limit or a calendar-day limit?
Calendar-day. The reset clears usage for every customer on the rule at the same scheduled time, so everyone’s count returns to zero together. It isn’t a rolling 24-hour window tracked separately for each customer from their last purchase.
Does this work for guest checkout, or do customers need an account?
It works for guest checkout. Purchases are tracked by the email address a shopper enters at checkout, so a guest is tracked the same way a logged-in customer is. There’s no need to require an account for the daily cap to function.
Can I set a daily limit on just one product?
Yes. In step 1, point the rule at specific products or variants, or give your deal products a shared tag and target the tag. The daily reset works the same whether the rule covers one product or your whole store.
Do I need Shopify Plus for this?
No. Checkout validation through apps works on every Shopify plan, and Shopify Flow is free on the Basic plan and above. Shopify Plus is only required for Shopify’s native B2B minimum and maximum quantity rules, which this setup doesn’t use.
For more on limits that persist without resetting, see our guide on lifetime purchase limits. If weekly or monthly fits your sale better than daily, our time-based purchase limits overview covers other schedules, and our monthly purchase limits guide walks through the monthly version of this same setup. For the simplest version of a customer cap with no reset at all, see how to limit purchases to 1 per customer. For more Shopify Flow ideas beyond resets, check out our Shopify Flow automation guide.
Install DC Order Limits to set up a customer purchase limit and connect it to Shopify Flow before your next multi-day sale starts.

