Skip to content
Shopify & Ecommerce

Ecommerce Replenishment: How to Build Automatic Repeat Purchases

How to build ecommerce replenishment: estimating usage, reminders, subscriptions, one-click reorders, predictive timing, customer control and inventory planning.

Quick answer

Ecommerce replenishment helps customers restock consumables before they run out. Estimate usage from product size and each customer's reorder history, then offer the right mechanism: a timely reminder with a one-click reorder link, a subscription with flexible frequency, or both. Keep customers in control with easy skip, snooze, change and cancel options. Use replenishment schedules to improve inventory forecasts, and measure reorder rates within the expected window against a holdout, not just reminder clicks.

Why Replenishment Deserves Its Own System

For consumable products, the second order is predictable in a way it rarely is elsewhere: a 60-day supply of vitamins will run out in about 60 days. If the store isn't there at that moment, the customer may reorder from a competitor, a marketplace or a local shop. Replenishment is about being there at the right time, in the right way, without pestering.

This article covers the mechanics and systems. For repeat purchase strategy broadly, see repeat purchase optimization; for the reorder interface, see reorder experience; for subscriptions, see subscription ecommerce development.

Mechanisms Compared

MechanismHow it worksBest forWatch out for
Reminder + reorder linkMessage near expected run-out with cart linkCustomers who want controlTiming accuracy, message fatigue
One-click reorderBuy again from account or emailReturning customersPrice and availability changes
SubscriptionAutomatic shipments on a scheduleStable, predictable useOversupply, churn if inflexible
Auto-replenish on usage signalConnected device or usage data triggers orderSpecific products with dataConsent, accuracy, trust
B2B scheduled ordersRecurring purchase orders or saved listsBusiness suppliesApprovals and budgets

Estimating Usage

Start with a product-level estimate: pack size divided by typical daily use gives days of supply. Store this as product data (for example a metafield for days of supply per variant). Then refine per customer: after two or three orders, the customer's own median gap is usually a better guide than the product default. Let customers adjust the estimate directly ("remind me every 45 days").

Quantity matters. A customer who ordered two units has twice the supply. Households differ. Use the customer's actual gaps where available and ask when the default is likely wrong.

Next reminder date (sketch)
days_supply = variant.days_of_supply * quantity_ordered
if customer.orders_of(product) >= 3:
    days_supply = median(customer.gaps(product))
if customer.preferred_interval(product):
    days_supply = customer.preferred_interval(product)
remind_on = last_order_date + days_supply - lead_time_days   # allow for delivery time

Reminders That Help

A good replenishment reminder arrives shortly before the customer runs out, allowing for delivery time. It shows the product they bought, current price and availability, and a link that puts it straight into the cart or a prefilled checkout. It offers alternatives (a larger size, a subscription with savings) without pressure, and lets the customer snooze or stop reminders.

Respect permissions. Replenishment reminders are often marketing messages under email and SMS rules, so they need the right consent. Stop reminding when the customer reorders, subscribes, or tells you they no longer use the product.

  • Timed from usage estimate minus delivery lead time
  • Product image, size, current price and stock
  • One-click reorder link to cart or checkout
  • Snooze, change interval and stop options
  • Suppressed after a reorder or subscription
  • Sent only with appropriate consent

Subscriptions as Replenishment

Subscriptions remove the need to remember, which suits customers with stable use. They work when customers can control them: change frequency, skip, pause, swap products and cancel easily. Inflexible subscriptions cause oversupply, which leads to cancellations. Suggest frequency based on the product's days of supply and let customers change it. See subscription management and subscription retention.

Customers not coming back when they run out?

ZSpace builds replenishment reminders, reorder flows and subscription options timed to real usage.

Start a Project

Predictive Replenishment

With enough history, models can estimate each customer's next purchase date across products, combining gaps, quantities, seasonality and product relationships. Predictions can time reminders more accurately and suggest bundled reorders ("you're likely to need filters and descaler soon"). They still need customer control and a baseline to compare against: rules based on days of supply and personal gaps are often surprisingly good. Test predictive timing against rules with a holdout. See AI in ecommerce.

Customer Control and Trust

Replenishment feels helpful when customers are in control and intrusive when they aren't. Make intervals visible and editable, allow skipping and snoozing, confirm before any automatic charge where required, and make stopping easy. Subscription and automatic renewal rules apply in many jurisdictions; see ecommerce compliance.

Inventory and Operations

Replenishment creates forecastable demand. Aggregate subscription schedules and expected reorders by product and week to inform purchasing and stock allocation. Protect stock for subscribers during shortages, and communicate proactively when a product will be unavailable, offering alternatives before the shipment date. See inventory integration.

Replenishment for B2B

Business buyers replenish supplies on schedules, often with approvals and budgets. Saved lists, scheduled orders, reorder from history and quick order by SKU matter more than marketing reminders. See B2B reordering.

Implementation on Shopify

On Shopify, subscriptions are implemented with selling plans through subscription apps; days of supply can be stored as product or variant metafields; reorder links can prefill carts using cart permalinks; and reminder timing typically runs in an email or retention platform using order data. Customer accounts show order history for buy-again flows. See Shopify subscription store.

Measuring Replenishment

MetricWhat it shows
Reorder within expected windowWhether timing and prompts work
Median days between orders vs supplyAccuracy of estimates
Reminder conversion vs holdoutIncremental effect of reminders
Subscription adoption and churnFit of automatic shipments
Snooze and stop ratesTiming or relevance problems
Stockouts for replenishment productsOperational reliability

Designing the Reorder Moment

When the reminder lands, the path to reordering should take seconds: tap the link, see the cart with the same product and quantity, confirm delivery and pay with saved details. Show current price and any change since last time. Offer the option to add related consumables and to switch to a subscription, but keep the primary action a simple reorder. See reorder experience.

  • Link opens a prefilled cart or checkout
  • Same variant and quantity as last order, editable
  • Price changes shown
  • Saved address and payment where the customer is signed in
  • Subscription option offered, not forced

Worked Example

An illustrative scenario, not a client case: a pet food store sends every customer a reminder 30 days after purchase, regardless of bag size. Reminder conversion is low and unsubscribes are high. The team stores days of supply per variant, adjusts for quantity, switches to each customer's own gap after three orders, and adds a snooze option. They compare reorder rates within the expected window against a 10% holdout.

Common Mistakes

  • Same reminder timing for every customer and pack size
  • Reminders that ignore delivery time
  • Links that land on a product page instead of a ready cart
  • Rigid subscriptions that oversupply
  • Reminders continuing after the customer reordered
  • Crediting reminders with all reorders without a holdout

Ready to time reorders to real usage?

Talk to ZSpace about Shopify subscriptions and reorders, replenishment automation and retention measurement.

Start a Project

Conclusion

Replenishment works when timing reflects real usage and customers stay in control. Estimate supply, refine per customer, remind with ready-to-buy links, offer flexible subscriptions, feed schedules into inventory planning and measure against holdouts. Related: customer retention and retention analytics.

FAQ

Common questions

Helping customers reorder consumable products before they run out, through reminders, easy reorders, subscriptions or automatic shipments timed to how quickly they use the product.

Get in touch

Have a project in mind?

Whether you're building a new digital product, improving an existing website, or looking to automate part of your business — let's talk.