How to limit purchase quantity for customer per day?

Hi all,

I’m setting up a new Shopify site and want to set limits across multiple orders for a customer per day?

how can I set maximum purchase limit on certain collections per day per customer? so a customer should only be able to purchase 10 items a day from different collections.

how can I achieve this? is there an app that can provide that support?

I appreciate your help. Thanks in advanced.

AJ

Hi AJ,

Congrats on setting up your new site.

The best way to do this would be to use the app “Order Limits”.

Please see the direct link - https://apps.shopify.com/order-limits-minmaxify

Hope this helps :slightly_smiling_face:

Kaylee

Thanks Kaylee,

I’ve already checked Order limits app and unfortunately they don’t support the functionality that I’m after as mentioned below from the link you provided:

" Order limits does NOT support: - Customer limits, limits across multiple orders for a customer are NOT currently supported. "

@AJ33 if you can’t find an app that has this functionality, you can always build a custom app. The Shopify API is powerful, we build custom apps all the time for stores to achieve specific functionality.

In your case, I think the general logic would be to create an app that runs on a server and listens for each order from store. On any new orders it gets the Customer order history and if the customer has purchased 10 items that day (or from a certain collection), then tag that customer. Then in the theme code, have some code that if that tag exists, hide the add to cart and checkout buttons (and add some messaging).

Then the app could also run a job at midnight (or whatever time) to automatically remove the tag from customers.

If you’re interested in having a custom app like this built for you feel free to reach out to my team at speedboostr.com/contact. We’ve built 4 public apps in the Shopify app store + countless custom / private apps for stores to achieve extra functionality like this.

Hi @AJ33 @JoesIdeas,

I saw a few of you asking about daily per-customer purchase limits where the cap applies across orders, not just within a single checkout.

For this, DC Order Limits tracks purchases on a per-customer basis across multiple orders. To set up a daily limit that resets automatically:

  1. Create a new Customer Purchase Limit rule

  2. Set the maximum quantity to your daily cap, for example, 10 units

  3. Apply the rule to the relevant products or collections

  4. Use Shopify Flow to schedule an automatic reset of the tracked quantities at midnight each day

This enforces the limit across all orders while still refreshing every 24 hours.

Hope that helps.

Hello @AJ33

Yes, this is achievable via a couple of rules based apps. You need an app that tracks customer purchase history and enforces limits on multiple orders, not just per checkout. Apps similar to MinMaxify or Order Limits allow you to set quantity limits per customer, per product or collection, but for “10 items per day across collections” you’re going to need Shopify Flow or a custom app/script to enforce completely. Or tag customers after purchase, and use checkout validation logic to prevent additional orders for 24 hours.