← Work Setup version IT/EN

03.1 · Case

Reverse Shot

The online shop of a perfumery chain: over 4,000 products whose prices and stock live in SAP Business One, and a shop that must mirror them without anyone touching a spreadsheet.

Sector
Beauty and fragrance, multi-brand retail
Period
Nov 2024 — today
Role
Hyvä front end and catalogue sync from SAP
Team
4 developers; more than half of the commits are mine
Stack
  • Magento 2
  • Hyvä
  • SAP Business One

Scene 01The problem

Thousands of items, colour variants, prices and availability that change every day in the ERP.

A sync error means an order that can't be fulfilled, or a product that disappears from the site for no reason.

Scene 02The technical choice

  1. Shot 01

    A shop in six weeks

    Between November and December 2024 we built the shop on Magento 2 and Hyvä: I handled listings, product page, menu, search and mobile.

  2. Shot 02

    Deltas, not dumps

    Through the SAP Service Layer only items changed since the last run are read; comparing them with Magento sends only the differences to the jobs.

  3. Shot 03

    One job per data type

    Items, prices, quantities, stock and new products each have their own job and schedule, from every 5 minutes to once a day.

  4. Shot 04

    The emergency button

    A Magento admin module runs a manual import for a list of SKUs, with reindexing, and dedicated scripts find orphan variants and misaligned brands.

  5. Shot 05

    In-store pickup

    Store locator and pickup in the chain's 7 stores, tied to stock levels.

Scene 03How it works

  1. 01 SAP Business One Service Layer · changes only
  2. 02 PHP sync compared with Magento
  3. 03 Diff CSVs items, prices, quantities
  4. 04 Import jobs Magento 2 · Hyvä
  5. 05 Reindex shop in sync

Scene 04In numbers

Next scene → Day for Night Paints, insulation and tools for trade professionals