# Delivery Hero

Case study by Maciej Piernikowski · 2014–2015 · https://pequ.dev/case-studies/delivery-hero/

- Scope: Research, Product Design, Mobile App, UX & User Interface
- Role: Senior UI/UX Designer
- Segment: Food Ordering, IT Services

Delivery Hero grew from a Berlin start-up into a food-ordering group in more than 50 countries. In 2014 and 2015 I was a senior UI/UX designer in its core team. I worked on the iPhone app, the web shops and live experiments for Hungryhouse in the UK and mjam in Austria.

## Outcome

- Delivery Hero grew into a group active in more than 50 countries
- Gross merchandise value passed €10 billion in the first quarter of 2022
- One set of design tokens re-skinned the iPhone app for each market
- A gourmet card for selected restaurants won the list experiment on mjam

## Challenges

- Local brands, each with its own look and ordering flow
- Members still signed in with old IDs instead of email
- Layout changes had to be proven in live tests

Technologies: Axure, Optimizely, EyeQuant, Sketch, Adobe Creative Cloud, jQuery, Less, Django, Python 3, PHP 7, Nginx, iOS

## Many local brands, one way to order

Delivery Hero brought together local food-ordering brands, each with its own look, sign-in and ordering flow. Our team had to move them closer to one experience without losing what customers in each country already knew. Every change was prototyped in Axure and measured live with Optimizely before it was rolled out.

We were two teams in Berlin, one for Germany and one for the UK, and one in Vienna for mjam, a separate company Delivery Hero had acquired. I worked with the graphic design team so every brand stayed consistent while keeping its own selling points and ordering habits.

Behind the screens sat the real food business: orders reached restaurants by fax machine or a GPRS mobile terminal. I co-designed the design system over a service API that carried them there, and learned to treat every order as a state machine. An order is always in a known state, even when the restaurant doesn't answer.

## The iPhone app, built from shared tokens

*The Hungryhouse ordering flow, screen by screen, in the flat style of iOS 7*

I mapped the Hungryhouse iPhone app as one flow of about 40 screens, from the splash screen to the pending order. The customer enters a postcode and picks a restaurant from a filtered list. Each dish is built with its options, and checkout takes cash, card, account balance or a voucher. Sign-in waits until checkout, so browsing needs no account.

iOS 7 had just made flat design the norm. I broke the interface into tokens: a fixed HSB color palette, six text styles aligned with the system, and a 4, 8 and 16 pt spacing grid. Buttons and restaurant cards were built from them, so changing one token re-skinned the app for another market.

Images:

- Hungryhouse iPhone flow map: A dark grey canvas of small Hungryhouse phone screens with red headers: a long main row across the middle, branches running up and down from it, the red splash screen on the far left. Every screen of the app in order: the main path along the top row, with filters, dish options and account steps branching below.

### Ordering in the iPhone app

A hungry customer shouldn't need an account to browse. The app asks for a sign-in only at checkout, once the basket is full.

```mermaid
flowchart TB
  A[Splash] --> B[Enter postcode]
  B --> C[Restaurant list]
  C --> D[Restaurant menu]
  D --> E[Add item and options]
  E --> F[Basket]
  F --> G{Signed in?}
  G -->|No| H[Sign in or join]
  G -->|Yes| I[Checkout]
  H --> I
  I --> J[Payment type]
  J --> K[Place order]
  K --> L[Order pending]
```

## The same order, without installing the app

*Mobile web for mjam and an email sign-in for Hungryhouse*

Not every customer wanted to install an app, so the mobile web had to feel as familiar as the iPhone build. Its components reused the app's tokens for color, type and spacing. On mjam an order starts with one question, where to deliver, with address suggestions and a button that finds your location.

Hungryhouse members still signed in with old member IDs, and some had more than one. A dialog asked them to connect their account to an email address. It listed the IDs and emails they had used with the date of their last order, so they could choose without guessing. Each layout came in desktop and mobile versions.

For mjam I designed directly in code: the design system lived in the front end, not in static mock-ups. We built our own event tracking on jQuery to measure behavior in real time. After the acquisition I co-led moving mjam onto the group platform, with mobile navigation rebuilt around geolocation.

Images:

- Sign-in before: A white sign-in dialog over a blurred red food page: one field for member ID or e-mail, a password field, a green Sign in button, and recovery, new account and Facebook links on the right.
- Choose an email: The connect dialog listing two previously used e-mail addresses with their last-used dates, a field for a new e-mail and a green Continue button.
- Choose a member ID: The same dialog listing four old member IDs in a scrolling box, each with its last order date and a circled number of orders, and a green Continue button.
- Developer spec: The Hungryhouse version of the dialog annotated for developers: a yellow instruction band, radio buttons for e-mail addresses, spacing marks of 10, 25 and 50 pixels and a note on the scrollbar.
- Where to deliver: mjam.net in Safari on an iPhone: "Walf" typed in the address field over a pizza photo, two Vienna street suggestions below, a yellow location button beside it and the keyboard open. mjam on a phone browser: typing an address brings up suggestions, and the button beside the field finds your location.
- Choosing an ID on a phone: The member ID dialog narrowed to phone width: the four old IDs stacked with dates and order counts, a full-width green Continue button and the account links below. The mobile dialog lists each old member ID with its last order date and number of orders.

## Live tests settled every layout choice

*A/B tests on restaurant lists for mjam and Hungryhouse*

Layout choices were settled by live tests, not opinions. Each idea started as a hypothesis, became an Axure prototype, was checked for attention with EyeQuant and then ran as an A/B test in Optimizely. Pages were built from atomic components, so a variant usually meant swapping one card or one message, not building a new page.

On mjam's search results we tested three ways to show a restaurant. One was the standard row, one a premium card with a crown and a payment tooltip, and one a gourmet card for selected restaurants that mjam delivers for. The gourmet card won. On Hungryhouse we tested how the list ends: a loader that promises more, or a clear "No more restaurants".

Images:

- Standard row (control): A list of Vienna restaurants as plain white rows, Schnitzel Insel, Il Cantuccino, Maximum Kebap, each with a logo, cuisine, minimum order, opening hours, an orange "Neu!" dot and a green Zum Menü button. The baseline: every restaurant in the same row, with only a small "New!" badge for new partners.
- Premium card: The same list with Amigo Pizzeria on a yellow card with a crown, four stars and QualityRank 86, a tooltip about cashless payment, and the regular rows below. A crown, a yellow highlight, the QualityRank score and a tooltip listing cashless payment options.
- Gourmet card: the winner: A larger grey card for Jonathan & Sieglinde with a Gourmet label, five stars, QualityRank 100 and a paragraph about the kitchen, between plain rows with Vorbestellen buttons. Selected restaurants delivered by mjam itself, with a short story about the kitchen and an explanation on hover.
- Endless list: The bottom of a Hungryhouse list: the last restaurant, Layalina, a grey "Loading more restaurants…" note and a Back to top button floating on the left, above the purple footer. "Loading more restaurants…" promises more results, with Back to Top beside the last card.
- Clear end: The same bottom of the list with "No more restaurants" in place of the loading note and the Back to top button centred directly below it. "No more restaurants" ends the list, with Back to Top placed below the message.

### How a layout was tested

Every layout idea had to survive this loop. A losing variant went back to a new hypothesis, never into production.

```mermaid
flowchart TB
  A[Hypothesis] --> B[Axure prototype]
  B --> C[EyeQuant attention check]
  C --> D[Optimizely A/B test]
  D --> E{Variant wins?}
  E -->|Yes| F[Roll out component]
  E -->|No| A
```

## Retrospective: design for the order that goes wrong

*State-driven design and legacy systems*

Delivery Hero taught me state-driven design. Every screen is a state, and so is every failure. It also taught me to look for trouble in old technology and old processes before customers find it, like an order a restaurant never confirms.

## References

- [Lieferheld apps (Archive)](https://web.archive.org/web/20140625150953/http://www.lieferheld.de/apps/)
- [Website, DH (Archive)](https://web.archive.org/web/20140625131716/http://www.deliveryhero.com/)
- [iOS App, HungryHouse (Archive)](https://web.archive.org/web/20140716202502/https://itunes.apple.com/gb/app/hungryhouse-order-takeaway/id400227047?mt=8)
- [Website, HungryHouse (Archive)](https://web.archive.org/web/20140625150953/http://www.hungryhouse.co.uk/)
- [Website (Holding)](https://www.deliveryhero.com)
