A till that keeps selling when the internet drops
How OG System keeps a sneaker shop in Aleppo selling offline, and what building for local reality taught me.

A sale is half done. The customer has picked a pair of sneakers, the cashier has scanned the barcode, and the internet goes. In many places that is a small annoyance. In a shop in Aleppo it can be the whole afternoon, because the till stops and the line keeps growing.
That moment is what I kept in mind while building OG System for OG Sports, a sneaker and streetwear shop in the city. I built it with Ahmad Sabagh, my partner in our studio, Zaven & Ahmad Builds. You can read the overview on the OG System case page. Here I want to talk about one decision that shaped the rest: the till must keep selling when the connection drops.
The real problem was not a missing feature
When people picture shop software, they picture features: stock counts, reports, coupons. OG System has plenty of those, 22 modules and seven user roles in all. But a feature list does not tell you what hurts on a busy day.
What hurts is a system that is correct only while it is online. If the till depends on a server somewhere else for every sale, then a dropped connection means no sales. The cashier goes back to paper, the stock count drifts, and someone has to fix it by hand at night.
So we stopped asking "what should the till do?" and started asking "what must it never stop doing?" The answer was short: sell.
A backup computer takes over
The way OG System handles this is simple to describe. When the connection fails, a backup computer takes over the till. The cashier keeps scanning barcodes, taking payments and printing receipts. Nothing on the screen tells the customer that anything is wrong.
When the connection comes back, the backup syncs every sale back into the main system. The shop's numbers end up whole, as if the outage never happened.
I am keeping this part plain on purpose. The details of how the sync works are for another post, and I would rather write that one with the facts in front of me than guess here.
Why the till comes first
A till is where the shop meets the customer. A broken report can wait until tomorrow, and a slow warehouse screen is annoying. A till that cannot take money is a closed shop.
That is why the offline behaviour sits at the centre of the system and not at the edge. The same system also carries the other parts of the shop: the warehouses, the money, the deliveries. They are used every day by cashiers, warehouse staff, drivers, managers, the owner and an outside print partner. If the till is trusted, people trust the rest. If the till fails once in front of a customer, nobody forgets it.
The till itself is an ordinary barcode till with split payments, coupons and automatic receipt printing. It is meant to feel boring. The cashier should not need to think about the network at all.
What building for local reality teaches
I do not think this is only a Syrian lesson, but Aleppo made it impossible to ignore. Software is often designed in a place where the connection is a given, and then shipped to places where it is not. The result is a product that is fine in the demo and fragile in the shop.
Three things I take from this project:
- Start from the worst normal day, not the best one. Design for the day the connection fails, because that day will come.
- Protect the money path first. Everything that touches a sale deserves more care than everything that only reads data.
- Make the failure invisible to the person at the till. If the cashier has to understand what is happening, the design is not finished.
What I would do differently
I would test the offline path earlier and more often, with the cable pulled, in the actual shop and not on a developer's desk. A feature that only works when you remember to check it is a feature that fails when you are not looking.
I would also write down the failure cases with the owner before writing any code. The people who run the shop know exactly which minute of the day an outage hurts most, and they are the best source for what the system must protect.