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.

- 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
of order, customer and status history migrated from the old system
panel for orders and returns instead of manual work across several systems
markets in one store: Poland (PLN) and Milan (EUR)
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
- 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.
- 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.
- 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.
- 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).
- 05
Customer account and markets
Customer account on the Customer Account API, Shopify Markets for Poland and Milan (EUR), and merchandising in Search & Discovery.
- 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.
- 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.
Every phase = an acceptance gate
The next phase starts only after the client signs off the previous one.
Architecture
- Hydrogen + Sanitystorefront and marketing content
- Shopify Advancedproducts, cart, checkout, accounts, markets
- Middleware ClicknBuyorders API, returns, corrections, orders & returns panel
- Order middleware Zielonastock reservations in warehouses and boutiques
- Comarch ERP Optimareceipts, invoices, stock, attributes
Before and after


Old platform (Ruby on Rails)


New store on Shopify Hydrogen
What the client says
Headless migration: Shopify + Hydrogen + ERPClicknBuy moved our store to a headless architecture (Shopify, Hydrogen, Sanity CMS) with a full migration of orders, customers and statuses, without losing our sales history. They integrated Shopify with our Optima ERP and built a panel for handling orders and returns. Orders from every channel, complaints and customer service are now in one place, and our team spends less time on manual work.
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.
Related projects
WooCommerce → ShopifyTwo Shopify stores, wholesale B2B and retail B2C, with one order back office
WooCommerce → ShopifyWooCommerce to Shopify migration for an essential oils brand
Shopify headless