How to control which Magento store views each category is visible on using KatanaPIM Connect.
Overview
By default, all imported categories are visible on every store view. With store coupling, KatanaPIM controls where each category appears — a category limited to "German" is only active on the matching store view and hidden on the rest.
This works through two things:
- Tree placement — picks which root category tree a top-level category is created under.
- Per-store visibility — sets
is_activeper store view (active on matching, inactive on the rest).
For single-website setups (one shared root category), only the visibility part matters. For multi-website setups with separate root categories, tree placement ensures the category lands in the correct tree.
Setting Up in KatanaPIM
Step 1: Set Store Limitations on Categories
- Log in to katanapim.com
- Go to Products → Categories
- Open the category you want to limit
- In the Stores section, select which stores this category belongs to (e.g.
German,French) - Save
Categories without any store selection are "unlimited" — they follow the default behavior (see below).
Tip: Child categories inherit their parent's tree position, but each child still needs its own store selection for visibility.
Step 2: Set Up Direct Store Mapping (Recommended)
The module needs to know which KatanaPIM store maps to which Magento store view. The most reliable way:
- Go to Katana PIM → Stores in the Magento admin
- For each KatanaPIM store, set the Magento Store View column to the correct store view using inline edit
- Save
Once set, name changes on either side won't break the coupling.
If no direct mapping is set, the module falls back to case-insensitive matching on store view name, then code:
| KatanaPIM store name | Magento store view name | Magento store view code | Match? |
|---|---|---|---|
| German | German | german | Yes (name) |
| german | German | german | Yes (name) |
| german_de | — | german_de | Yes (code) |
| Deutsch | — | — | No match — skipped |
If nothing matches, the store is skipped and logged.
Step 3: Configure Default Store View (Multi-Root Setups)
Only needed if your Magento uses different root categories per website.
Stores → Configuration → Katana PIM → Category Data → General → Default Store View for Category Tree
This determines which root category tree to use when:
- A category has no Stores filter
- A category's filter spans store views from multiple root categories
If left empty, the system default store view's root is used. This setting only applies at creation time — existing categories aren't moved.
Step 4: Sync Categories
Run a category sync via CLI, admin button, or cron. After sync:
- Top-level categories are placed under the correct root category tree
is_active = 1on matching store viewsis_active = 0on non-matching store views
Categories Without Store Limitations
When a category has no Stores selection, the module checks the fallback:
Stores → Configuration → Katana PIM → General → Import Settings → Websites
| Websites setting | Behavior |
|---|---|
| One or more websites selected | Active on those websites' store views, inactive on the rest |
| Empty | Category stays active everywhere (Magento default) |
Tree Placement
When a top-level category is first created in Magento, the module picks the root:
- Stores resolve to a single root → use that root.
- Stores resolve to multiple roots → fall back to Default Store View setting.
- No Stores filter → fall back to Default Store View setting.
- No default configured → system default store view's root.
Children always inherit their parent's tree.
Example — Multiple Roots
- Website DE → root
Root DE(id 10), store viewGerman - Website FR → root
Root FR(id 20), store viewFrench - Default Store View:
German
| Category | Stores filter | Root | Why |
|---|---|---|---|
| Schuhe | German | Root DE | Single root |
| Chaussures | French | Root FR | Single root |
| Promo | German, French | Root DE | Ambiguous → default |
| Outlet | (none) | Root DE | No filter → default |
Force-Link and Tree Awareness
When If name exists link category is enabled, the module tries to bind a KatanaPIM category to an existing Magento category by name. This is tree-aware:
- Top-level — only links to a category whose parent matches the resolved root.
Shoeslimited toGermanwon't bind toShoesunderRoot FR. - Children — only links under the correct parent, which is already in the right tree.
Re-Sync Triggers
Stores data is included in the category hash. Changing which stores a category belongs to in KatanaPIM triggers a re-sync on the next incremental sync.
Admin Grid
The Katana PIM → Categories grid shows a Katana Stores column with the KatanaPIM store IDs the category is limited to. Empty means unlimited.
Limitations
- One KatanaPIM category = one Magento category. If a category spans stores from different root trees, it's placed under the default root — not duplicated per tree.
- Default Store View only applies at creation time. Changing it won't relocate existing categories.
- Name matching is one-directional. Use direct mapping for reliability.
Troubleshooting
| Problem | Solution |
|---|---|
| Category visible on all store views despite Stores set in KatanaPIM | None of the stores resolved to a Magento store view. Set magento_store_id on the store entries, or check name/code matching. |
| Category invisible on every store view | Resolved store view list is empty and Websites fallback matches no store views. |
| Category under the wrong root | Check Default Store View for Category Tree setting. Verify store mapping resolves to the expected store view. |
| Force-link picks the wrong category | Candidate sits under a different root. Set magento_store_id or configure Default Store View. |
| Stores column empty in grid | Category has no store limitations — expected for unlimited categories. |
Need More Help?
Documentation:
- All Help Articles - Complete documentation overview
Support:
- Contact Support - Get help from our team
For a complete overview of features and configuration options, see Magento 2 KatanaPIM integration.
