Reset stock each morning for products made fresh daily

For bakeries, kitchens and makers with a fixed daily allocation. Set the stock of the products you choose to the same number every morning.

When you bake 20 loaves or prepare 30 meals a day, the stock number needs resetting before the day’s orders begin. Resetting stock manually adds another task before opening each morning.

Every morning, scheduled for 06:00, this routine sets the stock quantity of the products you choose to 20. It replaces the current quantity rather than adding to it. If a variable product manages stock on its variations, each variation is set to 20, rather than 20 shared across the product, and Preview shows which ones. Each run is recorded for Undo in History.

Use it when that number really is the new day’s allocation. It doesn’t suit ordinary restocking, stock that carries over between days, or products customers can order ahead from a later batch, because resetting stock could disregard quantities already allocated to those orders. Scheduled runs depend on background processing and may start later than planned. Allow enough time for the stock reset to finish before accepting orders.

Before you turn it on

When you add this routine, you’ll be asked to choose the products from your own store. Turn on Manage stock for each product, set the daily quantity, and schedule the reset well before ordering opens.

For variable products that manage stock by variation, the configured quantity applies to each variation individually, not to the product as a whole. Check Preview to confirm which products and variations will be updated.

Only use this routine when the configured quantity represents a fresh daily allocation. Adjust the quantity when production changes, and make sure the schedule matches the days your business prepares stock.

What this routine does

WhenSpecific time
ThenAdjust stock quantity

Requirements

  • Store Routines 1.1.0 or later

You'll choose the products this routine applies to after adding it.

Store Routines reviews every routine on your store before importing it, and imports it turned off.