KatanaPIM: help and documentation

Itonomy_Katanapim Migration to KatanaPIM Connect

Learn how to migrate Itonomy_Katanapim to KatanaPIM Connect in Magento. Back up attribute mappings, avoid conflicts, and complete your upgrade with confidence.

KatanaPIM
Version v3.12.1 Magento 2
Article updated on . Reading time about 1 minute.

How to migrate from the old Itonomy_Katanapim module (v2.x) to KatanaPIM Connect. This guide walks through the full upgrade process, including transferring your existing attribute mappings so you don't have to redo them manually.

Before You Start

Make sure you have:

  • A full database backup
  • The old module version (itonomy/katanapim v2.x) currently installed
  • Access to the Magento CLI

Important: Running setup:upgrade after disabling the old module will drop its database tables. If you want to migrate your existing attribute mappings, you must backup the old table before disabling the module.

Step 1: Backup the Old Attribute Mapping Table

If you want to migrate your existing attribute mappings to KatanaPIM Connect, backup the old table before proceeding. Running setup:upgrade with the old module disabled will remove its tables.

mysqldump -u <db_user> -p <db_name> katanapim_attribute_mapping > katanapim_attribute_mapping_backup.sql

If you do not need to migrate attribute mappings (for example, if you prefer to set them up fresh), you can skip this step and go directly to Step 2.

Step 2: Disable the Old Module

The old module must be disabled before enabling the new one. Both modules use the same admin routes and menu entries, which causes conflicts if both are active at the same time.

bin/magento module:disable Itonomy_Katanapim
bin/magento cache:flush

Step 3: Install KatanaPIM Connect

Install and enable the new module:

composer require katanapim/connect
bin/magento module:enable KatanaPim_Connect
bin/magento setup:upgrade
bin/magento cache:flush

Note: The setup:upgrade command will drop the old module's database tables. If you skipped Step 1 and still need the old data, restore from your database backup before continuing.

Step 4: Re-save the API Key

The old module stores the API key as plain text. KatanaPIM Connect stores it encrypted. After enabling the new module:

  1. Go to Stores → Configuration → Katana PIM → General → API
  2. The URL is shared and will carry over automatically
  3. Re-enter the API Key and Save Config

This ensures the key is stored in the encrypted format that the new module expects.

Step 5: Run an API Import

Before migrating attribute mappings, the new module needs to know about your attributes. Run a full attribute import:

bin/magento katana:import:full --attributes --only-api

This fetches all attributes from the KatanaPIM API into the new katanapim_attribute table.

Step 6: Restore and Migrate Attribute Mappings

If you backed up the old attribute mapping table in Step 1, restore it now:

mysql -u <db_user> -p <db_name> < katanapim_attribute_mapping_backup.sql

Now transfer your Magento attribute mappings and configurable flags from the old table:

Preview first (dry run):

bin/magento katana:migrate:attributes --dry-run

This shows which attributes will be updated without making changes. Only attributes that have a Magento attribute code mapped or is_configurable set in the old module are migrated.

Apply the migration:

bin/magento katana:migrate:attributes

The command updates existing rows in the new table with:

  • Magento Attribute Code — the mapped Magento attribute
  • Magento Attribute ID — the linked attribute entity ID
  • Is Configurable — whether the attribute is used for configurable products

Attributes that exist in the old table but not in the new table are skipped. If you see skipped attributes, run the API import (Step 5) first.

After a successful migration, you can drop the restored table:

mysql -u <db_user> -p <db_name> -e "DROP TABLE katanapim_attribute_mapping;"

If you did not backup the table in Step 1, skip this step and configure your attribute mappings manually in Katana PIM → Attributes.

Step 7: Verify the Migration

  1. Go to Katana PIM → Attributes in the admin
  2. Check that your Magento attribute mappings are present
  3. Check that configurable flags are set correctly
  4. Run a test sync to verify everything works:
bin/magento katana:import:full --attributes

Step 8: Remove the Old Module

After confirming the new module works correctly in production:

composer remove itonomy/katanapim itonomy/module-database-logger
bin/magento setup:upgrade
bin/magento cache:flush

What Gets Migrated

Data Migrated? How
Attribute mappings (Magento code + ID) Yes katana:migrate:attributes command
Is Configurable flags Yes katana:migrate:attributes command
API URL Yes Shared config path, carries over automatically
API Key Manual Must be re-saved (Step 4)
Products No Re-imported from API with full sync
Categories No Re-imported from API with full sync
Assets No Re-imported from API with full sync

Troubleshooting

"Source table does not exist"

The old module's tables were dropped during setup:upgrade. If you have a backup from Step 1, restore it with mysql -u <db_user> -p <db_name> < katanapim_attribute_mapping_backup.sql and run the migration command again. Otherwise, configure your attribute mappings manually.

Attributes skipped during migration

The attribute exists in the old table but not in the new one. Run bin/magento katana:import:full --attributes --only-api first to populate the new table from the API.

API connection fails after migration

The API key needs to be re-saved via the admin (Step 4). The old module stored it as plain text, the new module expects it encrypted.

Duplicate admin menu entries

Both modules register a "Katana PIM" menu. This is normal while both are enabled. The old module should be disabled first (Step 2) before enabling the new one to avoid this.

Need More Help?

Documentation:

Support:

For a complete overview of features and configuration options, see Magento 2 KatanaPIM integration.

Article Updated:
Download PDF
star star star star star
star star star star star
Gaaf - digital agency
We have tried the integration with SnelStart through several different providers, and this is the only solution that simply works. We needed support on two occasions, and it was provided quickly and professionally. We do recommend this company!
Google 12 May 2026
star star star star star
star star star star star
Andrew Velikiy
Great vendor with handy modules and quick support!
Google 13 Apr 2026
star star star star star
star star star star star
Alexandru-Manuel Carabus
Magmodules sets the bar for Magento module quality and support—we check their catalog first for client feature requests, and they’re our first choice for licenses.
Google 11 Nov 2025
star star star star star
star star star star star
Matt Austin
Possibly the fastest support response times of any Magento Extension vendor. Great extensions too!
Google 09 Sep 2025
star star star star star
star star star star star
Jan Privé
Dankzij de heldere uitleg en snelle reactie van Magmodules kon mijn vraag, en dus mijn Magento-probleem, binnen enkele uren worden beantwoord. Doeltreffend, zonder moeilijke termen, gewoon zo als het zou moeten zijn.... Bedankt!
Google 05 Sep 2025
star star star star star
star star star star star
Denis Metzler
To evaluate a provider, it is not enough to consider only the product offered, but also its after-sales service, such as support and troubleshooting. Magmodules has been extremely satisfactory at all levels on multiple occasions and sets the bar at the top when comparing the competition.
Google 02 Sep 2025
star star star star star
star star star star star
Bleijenberg winkelinrichting en materialen
Goed bereikbaar, reageren snel en denken oplossingsgericht. Een aanrader.
Google 30 Jul 2025
star star star star star
star star star star star
Patrick Verduijn
Magmodules biedt plugins aan die van hoge kwaliteit zijn tegen een goede prijs, waar dit bedrijf in uitblinkt is de bereidheid om de zeldzame feedback & problemen met de plugins te willen onderzoeken, mee te willen denken in het debuggen van problemen en goede oplossingen toe te passen. In mijn decennium ervaring met Magento & 3th parties is Magmodules absoluut een uniqum binnen de markt.
Google 25 Jul 2025
star star star star star
star star star star star
Erik de Groot
Magemodules heeft hele sterke Magento extensies en een proactieve support. Al jaren heel erg tevreden over jullie service en producten!
Google 18 Jul 2025
star star star star star
star star star star star
René Zeuner
We are using the Mollie Magento extension from Magmodules. It works excellently without flaws. Very fast, competent and friendly support. Thanks!
Google 30 Jun 2025