Backfill Orders from Shopify

Re-fetch orders from Shopify and store the full order data, so older orders show their products and deduct stock correctly.

Run backfill

This is safe to run repeatedly. For each order it stores the full Shopify data, then re-creates that order's stock deductions from scratch (it never double-counts).

โ„น When to use this

Use this once to repair older orders that were loaded before the live Shopify connection (their "Customer Ordered" box is empty). New orders arriving by webhook already store their full data automatically, so you won't need this for them.