Back to Blog
August 29, 2026 Order Rules

Shopify Flash Sale: How to Limit Quantities and Protect Stock

A flash sale with no quantity limit is a reseller’s dream and a legitimate customer’s nightmare. Without caps, a single buyer can clear your entire sale stock in one order — and genuine customers find everything sold out within minutes of the sale going live.

What Quantity Controls Does a Flash Sale Need?

  • Maximum per cart — stop one order from buying 50 units of a 2-per-customer item
  • Maximum per customer — track purchase history so a reseller cannot place 10 separate 2-unit orders
  • Time-based activation — rules that match the sale window

Setting Flash Sale Limits with Fold

Fold handles both per-cart and per-customer limits. Install from the Shopify App Store.

Maximum quantity per cart

Create a rule: maximum 2 units of the sale product per cart. Any attempt to check out with 3 or more is blocked with your custom message. This is the simplest flash sale protection.

Maximum per customer (lifetime)

For genuinely limited items, a per-cart limit is not enough — a determined reseller will place multiple orders. A per-customer limit tracks historical purchases and blocks repeat buying beyond the cap. See how to limit purchases per customer on Shopify for full setup details.

Combining both rules

Stack a per-cart maximum of 2 and a per-customer lifetime limit of 2 on the same product. Both conditions run simultaneously at checkout.

Activating and Deactivating Rules for the Sale Window

Enable the rule in Fold before the sale goes live. After the sale ends, disable it. Rules can be toggled on and off without affecting your product setup — no need to change stock levels or create sale variants.

Flash Sale + Discount Codes

Pair quantity limits with a Shopify discount code that expires at the sale end time. The code controls the price; the Fold rule controls how much each customer can buy. Together they enforce a genuine 2-per-customer flash sale.

Frequently Asked Questions

Can I set different limits for VIP customers during the sale?

Yes. Add a customer tag condition: VIP-tagged customers can buy 4 units; everyone else is capped at 2. Create two rules for the same product with different tag conditions and limits.

Does limiting quantities affect checkout speed?

Fold’s rules run via Shopify Functions at checkout infrastructure level. There is no noticeable latency for customers.


Install Fold to protect your next Shopify flash sale with enforced quantity limits per cart and per customer.

Author at FoldSpans

Sharing Shopify tips, app updates, and e-commerce insights to help merchants grow their online stores.

Get Shopify tips, app updates & exclusive offers straight to your inbox

    By signing up to receive emails from Foldspans, you agree to our Privacy Policy. We treat your info responsibly.

    Contact

    hello@foldspans.com

    Copyright © 2026 FoldSpans