Online store
The storefront is not a second system you reconcile against. It reads the same stock the till does — so the last shirt cannot be sold twice.
“Only 1 left” is true because the counter sold the others this morning.
Start on a wayso.in address and move to your own when you have one. The storefront, the certificate and the redirects are handled; you point the DNS once.
Somebody who buys in the shop and then online is one record with one history — which is what makes loyalty points and a lifetime value figure mean anything.
An online order appears in the same list as a counter sale, with the courier, the label and the tracking attached to it.