The safest way to synchronise prices between a web shop and physical stores is to edit each price in one system only, and have everything else (web, tills, shelf labels) receive it from there, with nobody correcting it by hand at the destination. Every other decision, such as when to propagate, what wins in a conflict or what to record, follows from that one.
This guide covers the "how" for people who run systems or pricing in a retail chain. What an electronic shelf label is, and what the rules say in detail, is explained at etiquetaselectronicas.io; here we stay with architecture.
Where synchronisation breaks
It rarely breaks because of a spectacular technical failure. It breaks because a price can be edited in more than one place. An e-commerce manager lowers an item in the web platform for a campaign; the ERP still says something else; the next overnight feed to the tills either overwrites the change or doesn't, depending on the order in which things arrive. Two sources of truth are, in practice, none.
Mismatches show up in three places:
- Between channels: the website shows one price and the shelf another. Sometimes that is intended (channel pricing), sometimes it is just lag.
- Between shelf and till: the label and the POS disagree. What the rules say about that case is in till price different from shelf price.
- Between now and before: nobody knows what price was in force last Tuesday in a specific store, so the prior price of a promotion cannot be demonstrated.
Three architecture patterns
There is no universal one. These are the three seen most often, with what they cost.
| Pattern | How it works | Advantage | Main risk |
|---|
| ERP as master, broadcast | The ERP (or its pricing module) is the only place of editing and publishes to web, POS and labels | One truth, simple audit | If the ERP is slow for campaign changes, people make them elsewhere |
| Independent pricing engine | A dedicated system calculates prices and promotions and hands them to ERP, web and label platform | Rules by channel, region and calendar in one place | One more component to integrate and maintain |
| Label platform as distributor | The label platform receives from the master system and distributes to each label; the web shop is fed from the same master | Isolates label complexity (sending, retries, confirmation) | If editing is allowed on the platform, there is a second source of truth |
The third pattern does not replace the other two: it is the distribution layer towards the shelf. All three share one constraint: whoever distributes a price does not get to set it. How each system is connected (API, webhooks, SFTP files) is covered by the electronic shelf label integration guide, and what to ask of a platform before choosing one is in the requirements for a label platform.
Conflict rules: what wins when two things collide
A sound design settles these rules in writing before go-live, because in production they apply themselves, and in a hurry.
- The master always wins. If the web shop and the master differ, the web shop gets corrected, never the reverse. For that to be possible, direct price editing in the online store must be switched off or limited to fields that are not price.
- Last valid event, not last arrival. Each change carries a timestamp and a version generated at the source. If an old change arrives after a newer one (normal with retries or queues), it is discarded. Ordering by time of receipt is the classic reason an old price reappears.
- Channel price, explicit. If online and in-store prices are deliberately different, that should be an attribute of the model (a price list per channel or store group), not a manual patch. That lets the system tell an intended difference from an error.
- Promotion and base price, separate. A promotion with start and end dates should live as a rule, not as a replacement of the base price. When it ends, the price reverts by itself; nobody has to remember to roll it back.
- Visible rejection. If a label or a channel does not confirm the change, the system treats it as pending and shows it. A "sent" update is not an "applied" update.
Timing: when to propagate and how much lag to tolerate
"Real time" is usually a wish rather than a requirement. It helps to separate:
- Planned changes (campaigns, sales, seasonal lists). They are scheduled ahead and sent so they take effect at the set time, ideally in every channel at once. What matters here is sync between channels, not speed.
- Urgent changes (price error, withdrawal, cost adjustment). Speed matters, and so does seeing which stores have already applied it.
- Periodic reconciliation. Even if everything runs on events, a scheduled comparison between the master and each destination catches what the events missed: a lost message, a store that was offline, a label with a flat battery. If a store sometimes works without a network, the guide to labels that do not update explains how to find where the change got stuck.
Set a maximum acceptable window per type of change and measure how often it is exceeded. The actual figure depends on your stack, the store network and the label technology, and is only worth anything if you have measured it in your own environment.
What the EU price-reduction rules imply (Omnibus)
Synchronisation is not only an operational convenience. If you advertise price reductions, the law asks for a reliable history.
Directive (EU) 2019/2161, known as the Omnibus Directive, added Article 6a to Directive 98/6/EC. For an announced price reduction, the trader must indicate the prior price, defined as the lowest price applied by the trader in a period of not less than 30 days before the reduction was applied. The European Commission published interpretive guidance (2021/C 526/02). The rule reaches you through your national law: in Spain, for instance, it is article 20 of Ley 7/1996, as amended by Real Decreto-ley 24/2021 and applying since 28 May 2022. Other member states have their own transposition, so check the one that applies to each of your markets.
Consequences for architecture, as we read those texts:
- The minimum is computed per product and per point of sale. If you sell at different prices in different stores or online, the prior price of each point is the minimum applied at that point. A chain with distinct online and in-store prices needs separate histories, not an aggregate one.
- Store what was applied, not what was scheduled. If a promotion was cancelled before it started or a label never got updated, a history of what was planned produces a false minimum. That is why label-side confirmation matters in the previous section.
- The record has to cover more than thirty days. How much more is a question for your legal advisers; the texts cited do not fix it.
The detailed explanation, with its open points, is at price reductions and the 30-day reference price. This article is not legal advice, and review by a lawyer is pending.
A minimum record that serves every channel
One event for every price change in force, with:
- item identifier and store or channel;
- applied price and start and end timestamps;
- origin of the change (which system, which user or rule);
- confirmation of application at the destination (label or web);
- reason, if it is a promotion.
That answers the three questions that always end up being asked: what price was here on day X, who changed it, and when the customer saw it.
Getting started in four steps
- Inventory of sources. List every place where a price can currently be edited (ERP, online shop admin, POS, spreadsheets). Each one that is not the master is a risk.
- Decide the master and the channel model. One system, with the price lists per channel or store group defined in it.
- Close the other doors. Disable price editing at the destination or restrict it by permission.
- Pilot with reconciliation. Start with one store and a set of items, compare master, web and labels every day, and do not expand until the differences are explained.
The rest of the resources in this section are in the resources index, and the integrations overview lists the connection methods.