Kacem Boumehdi

Case study · Product design

Magasin Manager: a shop that runs on cheques and notebooks.

Redesigning shop management for Moroccan retailers — stock, customer credit, post-dated cheques, and delivery notes in one Windows app that works without internet.

RoleProduct design, UI, desktop app, website
Timeline7 weeks to v1.0.24
PlatformWindows 10 and later, plus a read-only phone view
StatusLive, with 30+ paying users
LanguagesArabic (RTL), French, English
BuildDesigned by me; coded by AI agents from my direction
Magasin Manager dashboard: purple sidebar, four stat cards, recent stock movements, and a low-stock list
The dashboard on the shop's PC. Demo data.

One shop, one missing cheque

Magasin Manager began in a farming-supplies and irrigation shop in a small Moroccan town. More than five people worked there. Every customer debt, and the date it was due, lived in paper notebooks. Cheques lived in boxes and folders.

In Morocco, a cheque is not only a payment. Customers often leave one as a guarantee, then come back later with cash to take it back. The owner might also pass the same cheque to a supplier to pay for merchandise. So when a customer arrived to collect a cheque, the shop had to search for paper that might not even be in the building any more.

The owner had tried an online stock app. When the town's connection dropped, he couldn't record a sale or look anything up. It also wouldn't export his own records.

Not a missing feature — a mismatch. The tools assumed a connection, card payments, and someone else's paperwork.

The real business runs on trust, credit, and paper

A typical supplies or hardware shop sells on credit to regular customers, takes cheques dated weeks ahead, hands over a bon de livraison with the goods, and invoices later. None of that fits a retail point of sale built around “scan, pay by card, print a receipt”.

  • “Where is this customer's cheque?” Guarantee cheques were returned, cashed, or handed to suppliers, and nothing recorded where each one went.
  • Forgotten due dates. What each customer owed, and when, was written down, but nothing reminded anyone.
  • No network, no work. The online app stopped every operation the moment the connection dropped.
  • Data he didn't control. He couldn't export his own records, so trying a tool meant handing over the business.

Five rules to settle every debate

  • Offline is normal. No core flow depends on the network. “No connection” is never an error state.
  • One primary action. Each screen has one dominant action. Everything else is secondary.
  • Type less. Defaults, pickers, auto-numbering, live totals, VAT, and discounts.
  • Always answer back. Every action gets a toast, a state change, or a confirmation.
  • Protect the data. Destructive actions confirm first; backups are visible and in the user's hands.

The delivery note, not the invoice, is the centre of the shop

Before laying out screens, I mapped the business objects and how they relate. In these shops the delivery note is what moves stock, creates debt, and gets signed by the customer. Invoices, returns, and payments all hang off it.

A cheque needed its own model. It is not “paid”: it has a future due date, can bounce, can be kept as a guarantee, and can be passed to a supplier. Modelling it as a payment method would hide the shop's real cash position and lose track of the paper.

Delivery note rendered as an A4 document with company header, legal identifiers, client block, line items, TVA, and totals
A delivery note in the French format accountants already trust. It becomes an invoice in one click.

Five decisions that shaped the product

1. Cheques are a schedule, not a payment method

Every cheque gets a due date, a status, and a record of where it went: a supplier, the bank, or back to the customer. Cheques are grouped by due month with totals, pending amounts, and overdue counts, so the owner can finally answer “where is my cheque?” and see the cash that is coming.

Cheques screen with totals by status, search and due-date filters, and a table grouped by due date
Cheques grouped by due month, with totals by status.

Trade-off: one more module in the navigation, in exchange for a cash forecast the owner can rely on and an answer to “where is my cheque?”.

2. From a customer table to a customer notebook

The owner thought about customers the way his notebooks worked: one page per person. The first version was a table with a side drawer, and sales made through delivery notes never reached the customer's balance. I replaced it with a card for every customer that opens into a full page: total bought, paid, remaining due (cheques included), available advance, and a timeline of every operation.

Customer page with contact details, four figures for bought, paid, remaining due, and advance, plus a timeline
The customer page, built around four honest numbers.

Trade-off: a table is faster to scan, but a page per customer holds the whole relationship and can be linked to from anywhere, like the notebook it replaces.

3. Arabic as a first-class language, without breaking money

Switching to Arabic mirrors the interface right-to-left and loads a bundled Arabic typeface, so it works offline. The subtle problem was numbers inside right-to-left text: amounts reordered and read wrong. Every amount, quantity, and date is isolated as a left-to-right unit with Latin digits; phone, email, and legal identifiers stay left-to-right inside Arabic forms.

Trade-off: printed documents deliberately stay in French, left-to-right, whatever the screen language, because that is what customers, accountants, and the tax administration expect on paper.

4. Every record has a clear lifecycle

Most bugs in business software come from records changing state silently. Each object got explicit states — draft, delivered, invoiced; pending, cashed, rejected, overdue — with one colour and one label each, used everywhere. Entries created by a delivery note are locked. Overpaying is capped and moves the excess into the customer's advance.

Trade-off: more rules to design and test, in exchange for no negative debts, no stock deducted twice, and numbers the owner can trust.

5. Never lock a customer out of their own data

When a trial or licence ends, the app goes read-only, never locked. Every record stays visible; only adding and editing are disabled, with an explanation. Data is written instantly to a local database in the user's profile, backed up to a visible folder and to USB. Imports merge, never overwrite. A forgotten password can be recovered with a backup the owner exported himself.

Trade-off: less pressure to renew than a hard lockout, but shops can commit without fear of losing their business records.

Adopted before it was marketed

  • 30+ paying users before the public website launched, through direct recommendation.
  • 25 signed releases in 22 days, small and frequent, driven by what real use exposed.
  • One shop owner replaced his notebooks with the app, and still takes cheques — now tracked.
  • Paying customers from the start, with reduced first-year deals negotiated shop by shop.

The first shop owner now uses the app day to day. Feedback in hours, not months, meant real problems reached the product fast: the customer-page redesign and automatic licence activation both came from issues seen in use.

What I did

I was the product designer, from the first observation in the shop to the release. I visited the first shop owner about twice a week: watching him work with the app, finding pain points, training him, and deciding what to add and what to leave out.

The implementation was AI-assisted: an AI app builder produced the first prototype, and AI coding agents wrote most of the code from my direction, reviews, and bug reports. That moved my work to the decisions AI can't make: which rules are right for a Moroccan shop, what a user should see when something goes wrong, and when a feature is actually done.

I also owned the domain model, information architecture, flows, state rules, the interface and its three languages, the product scope, pricing deals with the first shops, testing every build, triaging reports, and shipping every release.

Reflection

What worked

  • Starting from one real shop, visited every week, instead of a generic persona.
  • Modelling the business before the screens: the delivery-note-centred model kept credit, stock, and returns consistent.
  • Designing failure states — read-only, offline activation, merge import — as carefully as the happy path.
  • Tiny release cycles: real use exposed issues no mock-up would have.

What I'd do differently

  • Run structured sessions with several shopkeepers earlier, and measure task times rather than counting clicks.
  • Write release notes from the first version, not only for the later ones.
  • Keep automated tests in step with design changes: some formatting tests fell behind the Arabic number fix.

Next: amounts in words on invoices, a WCAG AA accessibility audit, global search across customers, documents, and products, and a guided first-run setup.