Why Off-by-One Timezones and Weekend Dock Closures Break Shopify Pre-Order Promises
When merchants calculate restock ETAs in local spreadsheet formulas, two silent failures constantly ambush customer expectations: timezone shifts flip ISO dates backward by a day when imported into Shopify metafields, and raw calendar additions land ETA dates on Saturdays or Sundays when your 3PL receiving dock is locked.
Shipping delays also punish unbuffered freight schedules. Quoting raw Production + Transit + Receiving days with a 0% buffer leaves no cushion for customs inspection, port congestion, or weekend warehouse backlogs—driving support tickets and chargeback disputes the day after your quoted date passes.
This generator parses every PO Ship Date strictly in UTC (YYYY-MM-DD), adds Production + Transit + Receiving plus a ceiling percentage buffer, automatically advances Saturday (+2 days) and Sunday (+1 day) arrivals to Monday, and outputs customer-ready backorder notices alongside Shopify Metafield Import columns.
How to Use the Restock ETA Generator in 4 Steps
Paste PO Ship Dates & Lead Components
Provide SKU, ISO PO Ship Date (YYYY-MM-DD), Production Days, Transit Days, Receiving Days, and a contingency Buffer Pct.
Enable Weekend Dock Adjustment
Keep "Advance Sat/Sun arrivals to Monday" selected so weekend arrivals never promise impossible Saturday/Sunday check-ins.
Fix Invalid Formats & Zero-Buffer POs
Catch ambiguous MM/DD/YYYY dates or 0%-buffer ocean freight orders before pushing ETAs to your storefront.
Import Shopify Metafield CSV
Download custom.restock_eta and custom.backorder_notice columns to display clean dynamic restock badges in your Shopify theme.
Deterministic Logic & Shopify Validation Rules
- Dates are parsed strictly as YYYY-MM-DD in UTC (Date.UTC) and validated against calendar rollovers (rejecting invalid dates such as 2026-02-30).
- Total lead days = Production + Transit + Receiving + Math.ceil((Production + Transit + Receiving) * BufferPct / 100).
- When skipWeekends is enabled, Saturday ETA (UTC day 6) adds +2 days and Sunday ETA (UTC day 0) adds +1 day so final dates always fall Monday–Friday.
- Exports Matrixify / Shopify Metafield-compatible headers (Metafield: custom.restock_eta and Metafield: custom.backorder_notice).