Quick summary (TL;DR)
- Unify the fields of all feeds first (mapping), and only then merge – otherwise you are comparing prices with VAT against prices without VAT.
- Match identical products by EAN, and when the EAN is missing, by code and manufacturer. A shared EAN across a whole series and a big price gap are signs that it is not the same product.
- Send one winning offer to your shop, based on a deliberately chosen order of criteria. The other offers stay in reserve and step in when the winner runs out of stock.
- Your own stock comes first; the supplier’s stock is a backup, shown with the supplier’s delivery time. That way the customer sees honest availability.
- Protect your updates with a price cap, a stock safety buffer and a drop threshold so a supplier’s mistake never reaches your shop.
In this article (10)
- Why importing feeds one after another is not enough
- Step 1: teach all feeds to speak the same language
- Step 2: match by EAN – but sensibly
- Step 3: decide which offer wins
- Step 4: availability that tells the truth
- Step 5: updates that break nothing
- Example: three suppliers and your own stock
- The most common mistakes
- Where to start
- Frequently asked questions
Monday morning, first email: “I ordered a tent that was in stock, and you’re telling me it will arrive in two weeks?” You open your shop and find the same tent listed three times – at €179.90, €184 and €189.90. Each listing has a different title, different photos and different availability. The customer naturally picked the cheapest one – and that was exactly the supplier who had already run out.
This is what a catalogue looks like when it has grown bit by bit: the first feed when you opened the shop, the second six months later, the third last autumn. Each import worked fine on its own, but together they built a warehouse of duplicates.
Let’s go through, step by step, how to merge feeds so that every product appears in your catalogue once, with the right price and honest availability – and where to set it all up in Sortyra.
Why importing feeds one after another is not enough
A feed is a list of products that your supplier sends you regularly – a bit like a price list that computers swap among themselves. With one supplier, importing is simple: whatever arrives shows up in your shop. With several suppliers, three problems appear at once:
- The same product arrives more than once. A sleeping bag that all three wholesalers sell ends up in your catalogue three times.
- Every supplier speaks a different language. One sends the price in a
PRICE_VATfield, another in a column called “Price incl. VAT”, a third without VAT. One has the category “Tents and shelters”, another “Outdoor | Tents”. - Availability misleads. If you pass on the supplier’s stock as if it were your own, the customer expects the parcel to ship today.
Duplicates also hurt you outside your shop – a price comparison site may penalise a shop for listing several offers for the same product. What supplier feeds from wholesalers usually contain and how they differ is explained in the article Supplier feeds, wholesale and dropshipping.
Step 1: teach all feeds to speak the same language
Before you merge anything, all feeds must have the same structure. This step is called data mapping: for each piece of data (title, price, EAN, stock, images) you decide which field in the supplier’s feed it is taken from. The price from the PRICE_VAT element and the price from the “Price incl. VAT” column then end up in one shared field.
What to keep in mind:
- Price with or without VAT? If one supplier sends prices without VAT and another with VAT, comparing prices is pointless.
- Currency. Convert the prices of a foreign supplier, for example in Czech koruna, into the currency you sell in.
- A unique item code. A code that never changes lets the next download recognise a product as the same one and not as a new one.
- Code clashes. Two suppliers can have completely different goods under code
1001. A code prefix helps, for exampleA-1001andB-1001.
If you would rather not edit XML by hand, the rest takes just a few clicks:
What your shop gets out of it: the prices of all suppliers are comparable, codes don’t collide, and you spot a mistake on one product, not on thousands after publishing.
Step 2: match by EAN – but sensibly
The most reliable key for finding identical products is the EAN – the barcode on the packaging (usually 13 digits), which is different for every product. If two suppliers send the same EAN, it is almost certainly the same item. If the EAN is missing, the second option is the combination of product code and manufacturer (the differences are explained in the article EAN, GTIN, MPN and product codes). Matching by EAN has two traps, though.
Shared EAN across a series
Some suppliers give a single EAN to a whole series – for example all twelve hook sizes, or all colours of one T-shirt. If you matched on it, twelve products would turn into one. You can recognise such a shared EAN by the fact that several different products from the same supplier carry it – it is no good for matching.
Same EAN, different product
Occasionally a supplier uses the same EAN by mistake for dog food in a 1 kg and a 10 kg pack. The price gives it away: €12.90 versus €89.90 is not a better deal, it is a different product. If the prices within a group differ by, say, more than half, don’t merge such a group automatically.
Products without an EAN
When the EAN is missing and the codes differ, compare the manufacturer, the parameters (for example a volume of 2 l) and the title – and decide manually. Never make up a missing EAN.
What your shop gets out of it: every product is in the catalogue once, the comparison site receives one clean offer, and a series of hooks is not accidentally collapsed into a single product.
Step 3: decide which offer wins
Once identical products sit in one group, you send only one offer to your shop – the winner. The others stay in reserve and step in when the winner runs out.
| Criterion | When it makes sense | What to watch out for |
|---|---|---|
| In stock | almost always as the first criterion | a supplier’s stock of 1–2 items is often unreliable |
| Cheapest offer | dropshipping, price-sensitive range | the cheap supplier may have long delivery |
| Fastest delivery | when you compete on delivery speed | faster is usually more expensive |
| Lowest purchase price | when you want the highest margin | you need purchase prices in the feeds |
| Preferred supplier | a reliable partner, quick complaint handling | the supplier order needs to be kept up to date |
The criteria are combined in order. For example “in stock → fastest delivery → cheapest” means: first rule out those who don’t have the goods, pick the fastest of the rest, and if two are equally fast, price decides. If the winner lacks an image or description, fill it in from the others – but don’t overwrite what the winner already has.
What your shop gets out of it: the customer gets an offer you can really deliver, you choose between margin, speed and reliability, and when a supplier drops out the product doesn’t vanish from your shop.
Step 4: availability that tells the truth
This is the step people forget most often. The principle is simple:
- Your own stock comes first. What you hold yourself is “In stock” and ships immediately.
- The supplier’s stock is a backup. Mark a product that only the supplier has as “In stock at supplier” with a realistic delivery time, for example within 3 days.
- Each supplier can have a different delivery time. A foreign wholesaler with 7 days shouldn’t have the same text as a domestic one with two days.
- Not in stock anywhere – hide the product, or offer it to order with an honestly longer delivery time.
- A safety buffer. When a supplier reports 1–2 items, they often no longer have the goods. It is safer to treat the product as sold out.
Never pass a supplier’s stock quantity on to your shop as your own stock. How to write availability and delivery time into a feed is covered in the article Availability, stock and delivery time.
What your shop gets out of it: fewer cancelled orders and complaints over goods that were “in stock” but arrived a week later.
Step 5: updates that break nothing
Prices and stock change at suppliers every day, so feeds need to be downloaded regularly. But what if a supplier one morning sends only half a feed, or renames the price field? A checklist:
- Download the feed only after the supplier has updated it – for example an hour after its nightly stock update.
- If the number of products suddenly drops, products are not deleted and the new version is not sent to your shop.
- If the feed structure changes (a field disappears or goes empty), you get a warning.
- A nonsensical price, such as 12999 instead of 129.99, is caught by the price cap.
- New products go out only after you approve them.
What your shop gets out of it: a supplier’s mistake – half a feed, a typo in a price, a renamed field – is stopped before a customer sees it.
On top of that, every supplier sorts goods into its own categories. How to bring them into one tree is discussed in the article Supplier categories vs. your own tree.
Example: three suppliers and your own stock
The numbers in this section are a made-up example. They show how the merging adds up.
An outdoor shop has three suppliers and its own stock of 600 products, which one of the suppliers also offers. Supplier A sends 4,200 products, B 3,100 and the foreign supplier C 1,700 – 9,000 rows in total. After matching by EAN, the result is:
| What | Number of products | Number of rows in feeds |
|---|---|---|
| from one supplier only | 5,200 | 5,200 |
| from two suppliers | 1,600 | 3,200 |
| from all three | 200 | 600 |
| total | 7,000 | 9,000 |
7,000 unique products go to the shop and 2,000 offers stay in reserve. Of these, 600 will be “In stock” from your own warehouse, and the rest get the supplier’s availability and delivery time. A series of 12 hook sizes sharing one EAN is not merged – it stays as 12 separate products.
Now a concrete tent, the Kempo Ridge 3, which all three offer:
| Supplier | Price incl. VAT | Stock | Delivery |
|---|---|---|---|
| A | €189.90 | 4 pcs | 3 days |
| B | €179.90 | 0 pcs | 3 days |
| C | €184.00 | 12 pcs | 7 days |
- With the criteria in stock → cheapest, C wins at €184.00, but the customer waits a week.
- With the criteria in stock → fastest delivery → cheapest, A wins at €189.90 with delivery within 3 days.
- If you set a safety buffer of 4 pcs for supplier A, it counts as sold out and C wins again.
No choice is right for everyone. What matters is to make it deliberately, not by chance.
Manual vs. with Sortyra
A winner has to be chosen in 1,800 groups (1,600 + 200), of which 15 have a big price gap.
| Task | Manually | With Sortyra |
|---|---|---|
| Finding identical products | compare 9,000 rows from three feeds | automatically by EAN, the result is 1,800 groups |
| Choosing the winner | 1,800 decisions, at 30 s per group about 15 hours | 1 decision: the order of criteria for all groups |
| Availability | edit 7,000 products whenever stock changes | 1 setting in the Stock & delivery card |
| Suspicious groups | search through 1,800 groups | 15 groups in a filter, about 15 minutes |
| Stock change at a supplier | go through the affected groups again | the winner is recalculated after every download |
The times are a rough estimate derived from the numbers in the example (30 seconds per group, 1 minute per suspicious group).
The most common mistakes
| Mistake | What it causes | How to fix it |
|---|---|---|
| Merging without unifying VAT | the “cheapest” supplier is not actually the cheapest | VAT for the whole feed (%) on the source |
| Same codes from two suppliers without a prefix | different products are merged when matching by code | Product code prefix for each supplier |
| Matching on a shared EAN | a series of 12 hook sizes turns into one product | Sortyra does not use a shared EAN for matching |
| No limit on price difference | 1 kg and 10 kg dog food treated as one product | Don’t merge if prices differ by more than (%) |
| Supplier stock treated as your own | the customer expects dispatch today, the goods arrive in a week | Own warehouse and the availability texts in the Stock & delivery card |
| Changing the item ID field for no reason | products are loaded as new at the next download | change it only if the supplier really changed its numbering |
| Updates without protection | half the catalogue disappears or a price of €12,999 appears | Drop threshold on the output and Price cap on the source |
Where to start
Merging the feeds of several suppliers is not a one-off import but a handful of decisions you make once: unify, match, choose the winner, show honest availability and protect the updates. You can find an overview of the whole solution on the page Several suppliers in one catalogue. If you don’t have your own stock, also take a look at the example of dropshipping without your own warehouse.
The quickest way to find out how many duplicates you really have is to try Sortyra on your own feed. Each source counts towards your subscription limit as one feed – the details are in the pricing.
Frequently asked questions
How do I merge the XML feeds of several suppliers into one?
First unify the fields of all the feeds, then merge identical products by EAN or by code and manufacturer. For each group decide which offer goes to your shop and keep the others as a backup.
What if a supplier doesn’t send an EAN?
Match by product code and manufacturer. Go through products without an EAN that have a similar title and identical parameters manually – in Sortyra, in the Possible duplicates without EAN card.
Which supplier should be shown when all of them have the goods in stock?
That is decided by the order of criteria you choose – for example fastest delivery, lowest price or preferred supplier. For important products you can also pin a specific supplier manually.
Does merging overwrite the winner’s description or image?
No. The winner’s data stays; only the details it lacks are filled in, if another supplier in the group has them.
What happens when a supplier sends an incomplete feed?
If the number of products suddenly drops, the products are not deleted, the new version of the output is not published and you get a warning. Until then the channel keeps downloading the last good version.
How do I tell identical product codes from different suppliers apart?
Set a code prefix for each supplier, for example A-1001 and B-1001. The change takes effect at the next download and the codes in your shop change, so it is best to set it right at the start.