Jagrit VatsShopify theme developer

Case study · Selvedge denim and workwear · fictional brand

Ostrel: a denim store that answers the size question before the bag

Denim buyers worry about fit above everything: waists run differently between brands, rigid denim stretches and unsanforized denim shrinks. Ostrel is a fictional brand built around a fit guide that reads its numbers from Shopify metaobjects, so the merchant maintains measurements in the admin rather than in images.

The problem

Most denim stores answer sizing with a static chart image or a separate page. Shoppers leave the product page to find it, and a chart image can’t be read by a screen reader or updated without a designer.

The brief for this store put the fit guide on the product page: waist by inseam, how the cut compares with the other fits, and what happens in the first soak. Every number comes from a fit_profile metaobject linked to the product, so one edit in the admin updates every jean in that fit.

The design brief, nine competitor screenshots and the critic’s pick of the "Cutting Mat" direction are in the project repository.

Custom sections, and what the merchant can edit

Each settings list on the right is generated from that section's {% schema %}, so it is exactly what a merchant sees in Shopify's theme editor.

Size and fit guide

The main reason denim shoppers hesitate. The guide shows flat measurements per waist and inseam, compares the cut against the other fits, and states expected shrinkage for unsanforized fabric.

Measurements come from the product’s fit profile metaobject, so the table is real HTML: readable at 375 px, by screen readers, and by search engines. The "your usual size elsewhere" helper converts a measured waist into this cut’s size without naming other brands.

The Size and fit guide section in the Ostrel store
Rendered from sections/ostrel-fit-guide.liquid in the preview harness. Try size and fit guide live
Fit guide10 settings
  1. Small labeltext
  2. Headingtext
  3. Use the heading as the page title (H1)checkbox
  4. Introrichtext
  5. Show the 'usual size elsewhere' helpercheckbox
  6. Show the size grid and fit comparisoncheckbox
  7. Show the measured tablescheckbox
  8. Show how to measurecheckbox
  9. How-to headingtext
  10. How-to textrichtext

Headings, which panels show and the units are settings; the measurements live in the admin as metaobjects.

Fade slider

Raw denim buyers buy into how a pair will age. The slider moves from raw indigo to worn, with a note at each month tick.

A native range input drives the clip and snaps to month ticks; arrow keys move one month. It is captioned as an illustration of two photos, because the brand is fictional.

The Fade slider section in the Ostrel store
Rendered from sections/ostrel-fade-slider.liquid in the preview harness. Try fade slider live
Fade slider11 settings, 1 block types
  1. Small labeltext
  2. Headingtext
  3. Introrichtext
  4. Before photo (left, month 0)image_picker
  5. Before labeltext
  6. After photo (right, month 12)image_picker
  7. After labeltext
  8. Slider labeltext
  9. Starting monthrange
  10. Captioninline_richtext
  11. Narrower photo (for product pages)checkbox
  12. Block: Month note4 settings

The image pair and every month note are blocks the merchant edits.

Shoppable lookbook

Turns an editorial photo into a way to shop the outfit, a common request from fashion merchants.

Each hotspot is a block with x/y position and a product setting. Hotspots are buttons with popovers that close on Escape and link to the product page.

The Shoppable lookbook section in the Ostrel store
Rendered from sections/ostrel-lookbook.liquid in the preview harness. Try shoppable lookbook live
Shoppable lookbook9 settings, 1 block types
  1. Photoimage_picker
  2. Photo descriptiontext
  3. Photo on the right (desktop)checkbox
  4. Small labeltext
  5. Headingtext
  6. Textrichtext
  7. Button labeltext
  8. Button linkurl
  9. Photo credittext
  10. Block: Product hotspot4 settings

The image, hotspot positions and products are all editable in the theme editor.

Fit-name navigation

Denim shoppers navigate by cut name. Each tile pairs the fit name with its rise and leg shape in one line.

Tiles are blocks with a collection or product setting and a short shape description.

The Fit-name navigation section in the Ostrel store
Rendered from sections/ostrel-fit-tiles.liquid in the preview harness. Try fit-name navigation live
Fit tiles5 settings, 1 block types
  1. Small labeltext
  2. Headingtext
  3. Textrichtext
  4. Note under the tilesinline_richtext
  5. Reference fitcollection
  6. Block: Fit2 settings

Add, remove and reorder fits as blocks.

Measure band

Puts the free chain-stitched hem and the measuring method on the home page, where shoppers worry about length.

A content section with measurement steps as blocks and numerals set in the theme’s mono face.

The Measure band section in the Ostrel store
Rendered from sections/ostrel-measure-band.liquid in the preview harness. Try measure band live
Measure band6 settings
  1. Small labeltext
  2. Headingtext
  3. Textrichtext
  4. Button labeltext
  5. Fit guide pagepage
  6. Note under the drawingtext

Every step, heading and link is editable.

Before and after: against Shopify's default theme

The baseline is Horizon, Shopify’s current flagship theme, on its public demo store. Out of the box, a denim merchant gets one dropdown per option, which becomes a long list for waist by inseam, a size chart only if they paste an image into the description, and no fade or lookbook sections. The custom work here is the fit data model and the product page built around it.

Horizon demo store home page: a centred headline over a full-width photo, then a product grid.
Before: Shopify’s Horizon demo store, first screen at 1440 px (captured 2026-11-22).
Ostrel home page: a jeans photograph beside a green measuring panel with the fit names.
After: the Ostrel theme, first screen at 1440 px, rendered by the preview harness.

Scores

0Theme Check errors (0 warnings, 63 files)
97Lighthouse mobile performance, average
100Lighthouse accessibility, average
0Theme Check errors after dropping the portable sections into Horizon
–KB of custom JavaScript in the whole theme, unminified
Lighthouse mobile results per page
PagePerf.A11yBest pr.SEOLCPCLS
/ostrel921001001003.2 s0.016
/ostrel/products/plumb-jean-raw-selvedge941001001003.1 s0.016
/ostrel/collections/jeans991001001002.0 s0.034
/ostrel/pages/fit-guide1001001001000.9 s0.016
/ostrel/cart1001001001000.9 s0.001

Lighthouse 13 mobile, run against the static preview at localhost:4401 on 2026-11-22. A real Shopify store adds its own scripts (analytics, Shop Pay, apps), so expect lower numbers on a live store. The theme's share of the page weight is what these scores reflect.

What the preview leaves out

  • The collection fit filter uses links rather than Shopify’s storefront filtering, which needs a live store.

  • The fade slider pairs two different photos of dark and faded denim, and says so in its caption.

  • Checkout, customer accounts, search and the Section Rendering API are not part of the preview.

  • Ostrel and its fabrics are fictional. Sample reviews are marked as samples.