Restock Relay does two jobs that go together. Order limits: set a minimum and maximum quantity per product or for the whole cart, enforced in the cart and at checkout by a Shopify Function, so one bulk buyer cannot take a whole restock. Back in stock alerts: a "Notify me" form on sold-out variants emails each shopper once, the moment that exact variant returns. The dashboard shows which products shoppers are waiting for. No theme code to edit.
Advanced methods for applying min & max limits to quantities...
"Set dynamic order limits to control purchases, prevent...
Limit quantity per customer with quantity selector button...
Automate time-limited sales and pre-launch announcements