A category tree is the arrangement of all of an online shop's products into main categories and their subcategories, for example Fishing > Rods > Feeder rods. Every product has its place in it, and the path from top to bottom is written into the feed so that the shop and comparison sites know where the product belongs.
What a category tree is
Picture a department store: the Sport floor, on it the Fishing department, in it the Rods rack and on it a shelf of feeder rods. That is exactly how a category tree works. At the top are a few main categories (the trunk and thick branches), below them subcategories (thinner branches) and right at the bottom the most specific categories (leaves), which the products belong in.
A few terms you will meet with a tree:
- Node – one category in the tree, for example "Rods".
- Level – how deep a category lies; "Fishing" is the first level, "Rods" the second.
- Category path – the whole notation from the top down to the specific category, for example
Fishing > Rods > Feeder rods. - Your own tree is your online shop's tree, while a channel tree (taxonomy) is a fixed list of categories of a comparison site or Google – more in the term Category taxonomy.
What it looks like in a feed
<!-- Google Merchant: the online shop's own tree -->
<g:product_type>Fishing > Rods > Feeder rods</g:product_type>
<!-- Heureka: a path from Heureka's tree -->
<CATEGORYTEXT>Heureka.sk | Hobby | Rybárske potreby | Rybárske prúty a príslušenstvo | Rybárske prúty</CATEGORYTEXT>The first line carries the path from your own tree (levels are separated by >), the second a path from Heureka's tree (levels are separated by | ).
What it is used for
- Navigation in the online shop – the customer clicks from a main category to a subcategory.
- Importing products – for example WooCommerce creates missing subcategories from a path in the form "A > B".
- Comparison sites and Google – they place a product by their own tree; your tree helps them with placement and helps Google with splitting campaigns.
- Rules and reports – by category you can change prices, hide goods or count sales.
What to watch out for
- Every supplier has a different tree. One writes "Pruty | Feeder", another "Rods › n/a" and a third sends no categories at all.
- A tree that is too shallow or too deep. A category with a thousand products does not help, and neither do five levels with two products.
- Inconsistent separators –
>,/and|in one file are not recognised as levels by the system. - The same names in different branches ("Accessories" for clothing and for tents) – always work with the whole path.
How Sortyra helps
In Categories you choose the mode Unchanged, One tree from AI or Your own tree. You upload your own tree with the Upload tree button (one path per line, levels separated by the > character), and suppliers' products are placed in it by whole categories – you confirm the doubtful cases.
Related terms
- Category taxonomy
- Product category
- product_type
- CATEGORYTEXT for Heureka
- google_product_category
- In more detail: Product categories and category trees, Categories in Sortyra
Frequently asked questions
Do I have to have my own category tree?
No. If you are only converting feeds to another format, suppliers' categories can stay as they are. Your own tree pays off when you combine several suppliers in one online shop.
What is the difference between a category tree and a taxonomy?
You design a category tree yourself for your online shop. A taxonomy is a channel's fixed tree, for example Google's or Heureka's, from which you only choose.
How do I write a category path?
From the top level to the lowest with a consistent separator, for example Clothing > T-shirts > Functional T-shirts.