ShopifyAppsDeveloper tools6 min· Alexey Bulatnikov

Eight things a real Shopify catalogue did to my mobile app

When you build a shopping app on a Shopify store, the first demo uses the fields as the documentation describes them: vendor is the brand, collections are the categories, options are size and colour. Then you load a store that has been run by real people for years.

These are the things I met in one fashion catalogue. None of them is a bug in Shopify. They are habits, and habits survive every rebuild, so the app has to deal with them.

1. Vendor was not a brand

The vendor field held the fabric composition: "polyester 100%" and so on, in more than 140 different spellings. A "shop by brand" screen was impossible. The app shows that field as a composition row on the product page, which is what it is.

2. Collections were not categories

There were more than 250 collections, and most were internal: one per supplier code, or one per delivery date. Product type was used the same way. The app builds its own twelve categories from keywords in the product title. That sorted the whole catalogue, and it can be replaced by a collection lookup on the day the store cleans up.

3. Sizes came in five shapes

  • 2XL-3XL
  • 2-xl-3-xl, where every size is split by hyphens
  • S-M-L, which is a list of three. Code that expects a pair loses the L without an error.
  • XL followed by a list of cup letters in brackets
  • A size typed with the Cyrillic letter that looks exactly like a Latin X

The last one costs an afternoon. Two labels look the same on screen and are different strings, so a size filter shows half the products. I replace the look-alike letters first, then search the label for size tokens. Splitting on separators does not work. That reads 98.5% of the variants. The rest are bra sizes with a band and a cup, which are not on the S to XL scale at all and are left out of the size filter on purpose.

4. Colour was not an option

Only 23 products had a Color option. Every other colour was a separate product with the same title. A product grid then shows the same dress five times.

5. And the title was not a model

My first fix was to group products by title. Then I found one title shared by nine different dresses. The reliable key was the SKU up to its first dot or slash. Grouping, de-duplicating the grid and search all use that now. There are no colour names anywhere in the data, so the colour picker shows thumbnails.

6. Descriptions held other programs' markup

Many descriptions had been pasted from a chat tool or an editor, and carried its wrapper elements and class names. Shown as they are, they render as noise. The app strips everything except paragraphs, lists and line breaks. Nearly every description also holds "Label: value" lines for fabric, stretch and care, which the app lifts into a small table.

7. Photos were taller than the card

68% of the product photos were 2:3 and 22% were 4:5. A 3:4 card, the usual choice, cuts the top and bottom of most of them, and in fashion the top is the head. Measure the real photos before choosing the card.

8. Paging with two page sizes skips products

The app loaded a first page of 50 products to show something quickly, then continued from page 2 with 250 per page. Page 2 at 250 starts at product 251. Products 51 to 250 were never loaded, and those were the newest ones. Use one page size for the whole walk: show the preview, then start again from page 1 at the larger size.

What I do now before designing a screen

Before any design, I download the whole catalogue and count: the distinct vendors, the option names, the shapes of the size labels, the photo ratios, the titles that repeat. It takes an hour and it changes the design every time.

See app services and prices