Strong in technology. Human in approach. +370 636 88441 WhatsApp info@e-project.lt WP care – WPBuddy.eu →
Get a quote

Insights

Markup vs margin: pricing supplier XML imports correctly

A 30% markup and a 30% margin are not the same. We explain the difference, common mistakes and how to set pricing rules for automated imports.

Author: E-project team · · 6 min read

Why it matters

When a store receives products from a supplier XML or API, prices are usually calculated automatically. One wrong formula applied to thousands of products means either lost profit or uncompetitive prices. Before launching an import, agree on what the business actually means by “margin”.

Markup: calculated on cost

Markup is added to the purchase price. If a product costs €100 and the markup is 30%, the selling price is €130. The formula is simple: cost × (1 + markup).

Margin: calculated on the selling price

Margin shows what share of the selling price is profit. To earn a 30% margin, a product costing €100 must sell for 100 / 0.70 = €142.86. The €42.86 profit is then 30% of the selling price.

That’s almost €13 difference per product – a significant amount across a catalogue of thousands.

Common mistakes

  • Accounting talks about margin while the import rule calculates markup.
  • Rules are applied before or after currency conversion or shipping fees without a clear agreement.
  • No minimum price, so supplier promotions become loss-making.
  • Rounding is done differently in different systems, so prices “jump”.

How to structure rules

In practice pricing is rarely a single rule: different suppliers, categories or even specific products need different treatment. We recommend a clear order of priority:

  • Specific SKU rule
  • Category rule
  • Supplier rule
  • Default rule

Safeguards worth enabling

  • A minimum selling price or minimum profit in euros.
  • A fixed surcharge for low-value items (e.g. +€2) to cover handling.
  • Rounding to .99 or .90 – only as the very last step.
  • A preview before import (dry run) and a change report: how many products changed by more than, say, 15%.

Summary

Before automating prices, agree on terminology, write the formula down and test it on a few real products. Then the import works for you, not against you.

Need help with this?

Let’s discuss your situation and we’ll suggest a solution.

Get a quote
Esc
Popular:
↑↓ navigate↵ openEsc close