A category tells you what kind of item a product is – a tent, a sleeping bag or a fishing rod. A category tree arranges categories from general to specific, like aisles and shelves in a shop. In a feed, the category is one of the key details: comparison sites and ad platforms use it to classify and show the product.
A category is like an aisle in a shop
Picture a large sports shop. At the entrance there are signs saying “Hiking”, “Fishing” and “Clothing”. In the Hiking section there are aisles for “Tents”, “Sleeping bags” and “Backpacks”. In the tents aisle there is a shelf labelled “2-person tents”. Customers can find what they want without walking around the whole shop.
That is exactly what a category tree does in an online shop. It is a branching list of categories: at the top are broad groups (main categories), below them narrower ones (subcategories) and at the very bottom the most specific ones (the leaves of the tree). Every product belongs to one of them.
The route from the top of the tree down to a specific category is called the category path. It is written as a chain of names separated by a character, for example Hiking > Tents > 2-person tents.
What a category looks like in a feed
A feed is a file containing a list of products that computers pass to each other automatically – like a price list that a comparison site collects at regular intervals (more in What is a product feed). The category usually has its own field. Here is a simplified example of one product in a feed for a comparison site:
<SHOPITEM>
<ITEM_ID>ST-2041</ITEM_ID>
<PRODUCTNAME>Horalka Trek 2 tent</PRODUCTNAME>
<CATEGORYTEXT>Hiking | Tents | 2-person tents</CATEGORYTEXT>
<PRICE_VAT>129.90</PRICE_VAT>
</SHOPITEM>And the same tent in a feed for Google Merchant Center:
<item>
<g:id>ST-2041</g:id>
<g:title>Horalka Trek 2 tent – 2-person, 2.4 kg</g:title>
<g:google_product_category>Sporting Goods > Outdoor Recreation > Camping & Hiking > Tents</g:google_product_category>
<g:product_type>Hiking > Tents > 2-person tents</g:product_type>
</item>Notice that Google has two different fields: google_product_category is a category from Google's official tree, while product_type is your own category from your shop. Field names and separators (|, >) differ from channel to channel – they are always set by that channel's specification.
The three kinds of category you will come across
When you work with feeds, you almost always deal with three different trees at once. It helps to keep them apart:
| Kind of category | Who sets it | Example |
|---|---|---|
| Supplier category | the wholesaler or manufacturer in their feed | Outdoor/Tents/2P |
| Your category | you, based on the tree in your shop | Hiking > Tents > 2-person tents |
| Channel category | the comparison site, Google, Meta, a marketplace | the official tree of Google, Heureka or Zboží |
A supplier's category is often in another language, too broad (“Outdoor”) or missing altogether. Your category reflects how you have organised your shop. A channel category is fixed – the channel has its own tree (also called a taxonomy) and you simply pick from it.
What categories are for
- Customers find the product. People browse by category both in online shops and on comparison sites. A tent filed under “Other” will never be seen.
- The comparison site matches and shows the product correctly. The category helps a comparison site decide which offers to compare your product with. More in Product matching on comparison sites.
- Advertising can be managed by group. In ad platforms, campaigns are often split by category – for example, one budget for tents and another for socks.
- The channel knows which rules to apply. For clothing, for instance, Google requires extra details (colour, size), while for other categories it doesn't. Without the right category, the product may be rejected.
- Rules and edits in the feed. If you want to raise the price of all sleeping bags by 5%, you need to know which products are sleeping bags.
How it works in practice
A typical situation: you sell tents and sleeping bags from three wholesalers. Each one has its own categories, and you have your own tree in your shop. The process looks like this:
- Find out which categories the suppliers send. There are often dozens or even hundreds.
- Map the supplier categories to yours. For example
Outdoor/Tents/2P→Hiking > Tents > 2-person tents. This is called category mapping. It is done category by category, not product by product – one assignment applies to all products in that category, including new ones added later. - Products with no category or a mixed category (for example, a supplier's “Sale” category containing both tents and head torches) have to be assigned one by one, based on their title and description.
- Map your categories to the channel categories.
2-person tents→ the matching category in Google, Heureka and Zboží. Again, once per category is enough. - Check regularly for new categories. Suppliers occasionally add or rename a category – it needs to be mapped, otherwise its products stay unassigned.
How to design a good category tree
If you don't have a tree yet or are reworking it, stick to a few principles:
- Category = type of product. “Tents”, “Sleeping bags”, “Reels”. Not a brand, not a colour, not a promotion. The brand belongs in the manufacturer field, the colour in the attributes (see Product attributes and variants).
- Two to four levels are usually enough. A tree that is too shallow has overcrowded categories; one that is too deep ends up with categories containing a single product.
- Each product has one main category. If it makes sense to show a product elsewhere too (for example “Gifts for anglers”), use a supplementary list rather than putting it twice in the main tree.
- Names customers actually use. “Fishing rods”, not “Rod systems cat. B”.
- Don't change the tree more often than you need to. Every change means new mapping and new addresses in your shop.
What to watch out for
- Misleading words in the title. If products are classified by a single word, mistakes are easy to make: the word “Fluoro” in the name of a lure refers to its colour, not to fishing line, and “X8” may be a model name rather than the number of strands in a braided line. The product type has to be worked out from the whole context.
- “Other” and “Sale” categories. These are catch-all bins. Assign products from them one by one.
- A channel category that is too general. If you map a tent only to “Sport”, the channel will accept it but compare and display it less well. Choose the most specific category possible (a leaf of the tree).
- An outdated channel tree. Channels update their trees from time to time – a category is renamed, merged or removed. Mappings to a removed category need to be fixed.
- A wrong category is worse than none. A sleeping bag in the “Tents” category confuses both customers and the comparison site. If a product is unclear, it is better to leave it for review and decide by hand.
How Sortyra helps
In Sortyra's Categories section you choose how to handle categories: keep the suppliers' categories, let AI suggest one shared tree, or assign products to your own tree. An output for another shop or another niche can also have its own tree. The AI tree proposal is based on the supplier categories in your feeds and also takes into account how online stores with similar products structure their range. You review suggestions in groups, see the reason for each one and can confirm or correct it; nothing overwrites an assignment you have confirmed by hand. You then map your categories once to the categories of Google, Heureka, Zboží or GLAMI, and the mapping also applies to new products. Find out more on the Categories page.
Frequently asked questions
What is a category tree in an online shop?
It is the arrangement of categories from general to specific, for example Hiking → Tents → 2-person tents. It helps both customers and comparison sites find their way around your range.
What is the difference between google_product_category and product_type?
The google_product_category field contains a category from Google's official tree. The product_type field contains your own category from your shop, which Google uses mainly to divide products up in campaigns.
Does a supplier category have to have the same name as mine?
No. Supplier categories are linked to yours through mapping, so the name doesn't matter. What matters is that one supplier category contains one type of product.
What happens if a product has no channel category?
Some channels accept it but display and match it less well; others may reject it. It is always worth assigning a channel category.
How many levels should a category tree have?
Two to four levels are enough for most online shops. It is more important that each category contains one clear type of product.