All projects
Migration to ShopifyHydrogenSanity CMS
HEGO'S Milano

HEGO'S Milano: from a custom platform to Shopify Hydrogen – connected to ERP, boutiques and one order panel

We moved a premium fashion brand from its custom Ruby on Rails platform to headless Shopify (Hydrogen + Sanity CMS) without losing any sales history. The hard part was the back office: multiple warehouses and boutiques, Comarch Optima ERP, receipts, corrections and returns. Today, orders from every channel are handled in one place.

New HEGO'S Milano store on Shopify Hydrogen – home page
Platform
Ruby on Rails → Shopify Advanced + Hydrogen
CMS
Sanity
ERP
Comarch ERP Optima
Markets
Poland (PLN), Milan (EUR)
Migrated data
products, customers, orders, statuses, SEO content
Timeline
about 14 weeks, launched 1 Oct 2026

Results

100%

of order, customer and status history migrated from the old system

1

panel for orders and returns instead of manual work across several systems

2

markets in one store: Poland (PLN) and Milan (EUR)

7

phases with acceptance gates – from discovery to hypercare

The challenge

HEGO'S Milano sells online and in physical boutiques. The store ran on a custom Ruby on Rails platform, and orders went to a middleware app ("Zielona") that reserved stock across warehouses and connected to Comarch Optima ERP.

An administrator manually handled the hard cases: orders split across warehouses, products without immediate availability and invoice orders. Receipts were printed in Optima and passed to the locations that shipped the goods.

The platform was hard to develop further, and the brand needed a modern, fast store with easy content editing and sales to a second market – without breaking proven logistics processes.

How we did it

  1. 01

    Discovery and architecture

    Workshops, an Optima SQL audit (warehouse routing), an audit of the middleware API, an SEO and redirect audit, AS-IS analysis and an architecture document. The phase ended with a go/no-go gate: one order path to Optima, the API contract and the identifier model.

  2. 02

    Shopify setup and product model

    Shopify Advanced, a product model built on metafields and metaobjects, an Optima → Shopify connector (stock, attributes, product data), content and SEO data import, and the product URL structure.

  3. 03

    Hydrogen storefront + Sanity CMS

    Homepage, collection pages, product page, cart, mega menu and customer account. Boutique availability, size charts, filters (including heel height), back-in-stock alerts, Apple Pay, PayPo and a Knowledge section. Marketing content is edited in Sanity.

  4. 04

    Operational integrations

    Middleware that emulates the previous orders API, so the proven warehouse process keeps running without a rewrite. Fulfillment and tracking, returns and receipt corrections in Optima, receipt/invoice flags, stock sync across locations, SalesManago, and feed preparation (including Zalando).

  5. 05

    Customer account and markets

    Customer account on the Customer Account API, Shopify Markets for Poland and Milan (EUR), and merchandising in Search & Discovery.

  6. 06

    Headless SEO and analytics

    Technical SEO in the Hydrogen code: canonicals, sitemaps, robots.txt, JSON-LD structured data, breadcrumbs, internal linking, www consolidation and a 301 redirect map. GA4 events via GTM and the dataLayer.

  7. 07

    QA, UAT, launch and care

    Technical and acceptance testing, a cutover plan and a rollback plan, the final import of customers, orders and statuses, team training, post-launch hypercare and ongoing development.

  8. Every phase = an acceptance gate

    The next phase starts only after the client signs off the previous one.

Architecture

  1. Hydrogen + Sanitystorefront and marketing content
  2. Shopify Advancedproducts, cart, checkout, accounts, markets
  3. Middleware ClicknBuyorders API, returns, corrections, orders & returns panel
  4. Order middleware Zielonastock reservations in warehouses and boutiques
  5. Comarch ERP Optimareceipts, invoices, stock, attributes
Hydrogen (storefront) + Sanity (content) → Shopify Advanced (products, cart, checkout, account, markets) ↔ ClicknBuy middleware (orders API emulation, returns, corrections, order and returns panel) ↔ "Zielona" middleware (stock reservations across warehouses and boutiques) ↔ Comarch ERP Optima (receipts, invoices, stock, attributes).

Before and after

Before
Old HEGO'S Milano store (Ruby on Rails) – home pageOld store – product page

Old platform (Ruby on Rails)

After
New HEGO'S Milano store on Shopify Hydrogen – home pageNew product pageNew product page on mobile

New store on Shopify Hydrogen

What the client says

Technologies

  • Shopify Advanced
  • Hydrogen
  • Sanity CMS
  • Customer Account API
  • Shopify Markets
  • Search & Discovery
  • Shopify Flow
  • Comarch ERP Optima
  • SalesManago
  • PayPo
  • Apple Pay
  • Google Analytics 4
  • Google Tag Manager

Planning a similar project?

Let's talk about your store. In 30 minutes we'll show you how to move to Shopify safely and what can be automated.