KatanaPIM

Version v3.12.1
Platform Magento 2
Module Released 15 October 2026

KatanaPIM Best Practices for Magento 2

Looking for Magento 2 KatanaPIM integration? View the full Magento 2 KatanaPIM integration page to explore features, configuration options, and pricing.

Command line tools for the KatanaPIM Connect extension. These commands are useful for manual synchronization, automation scripts, and troubleshooting.

Available Commands

Command Description
katana:import:full Run full synchronization from KatanaPIM
katana:import:incremental Run incremental synchronization (delta)
katana:assets:cleanup Remove soft-deleted assets from Magento media gallery
katana:migrate:attributes Migrate attribute mappings from Itonomy_Katanapim module

katana:import:full

Performs a complete synchronization of all entities from KatanaPIM.

# Sync everything (attributes, categories, products, assets)
bin/magento katana:import:full

# Sync only attributes
bin/magento katana:import:full --attributes

# Sync only categories
bin/magento katana:import:full --categories

# Sync only products
bin/magento katana:import:full --products

# Sync only assets
bin/magento katana:import:full --assets

Options:

Option Description
--attributes Run attributes update only
--categories Run categories update only
--products Run products update only
--assets Run assets update only
--force, -f Force update all products, ignoring hash check
--katana-pim-id=<id> Scope the entire run to one KatanaPIM product

When no options are provided, all entity types are synchronized in the correct order.

Force Update: (available from v3.7.0)

Use the --force flag when you need to re-sync products regardless of whether the data has changed:

# Force re-sync all products (ignore hash comparison)
bin/magento katana:import:full --products --force

# Short version
bin/magento katana:import:full --products -f

This is useful when:

  • Magento data was modified outside of the sync process
  • Hash comparison isn't detecting changes correctly
  • You need to overwrite local changes with PIM data

Single Product Sync: (available from v3.11.0)

Use --katana-pim-id to sync exactly one product instead of everything that is pending:

# Sync one product end to end
bin/magento katana:import:full --katana-pim-id=1234

# Combine with --force to ignore the hash comparison
bin/magento katana:import:full --katana-pim-id=1234 --force

# Skip the API and only push what is already stored locally
bin/magento katana:import:full --katana-pim-id=1234 --skip-api

The scope applies to the whole run:

  • The API fetch requests that single product (and its assets) instead of paging through everything
  • The Magento product and asset sync are limited to that product
  • Only the products and assets entities run. Add --attributes or --categories explicitly if the product needs a refreshed attribute or category mapping
  • Reindexing is limited to that product's Magento entity instead of a full reindexAll()

Nothing is ever marked as deleted during a scoped run. A normal full sync marks everything the API did not return as deleted, which is only safe when the run actually saw the complete catalog. A scoped run sees one product, so that step is skipped and the output states Skipped marking deleted (scoped run).

Use this when:

  • Debugging why one specific product will not sync
  • A support question about a single SKU
  • Verifying a fix without waiting for a full run

How sync works:

The synchronization operates in two phases:

  1. Data Retrieval — Fetches current data from the KatanaPIM API
  2. Magento Updates — Creates or updates entities based on your configuration

Whether new entities are automatically created depends on your settings at Stores → Configuration → KatanaPIM → Automation:

  • Auto create new categories
  • Auto create new products

Output: Shows progress and results for each entity type.

Use this when:

  • Initial setup and first import
  • After major PIM changes
  • Weekly/daily maintenance
  • Troubleshooting sync issues

katana:import:incremental

Performs a delta synchronization, importing only items that have changed since the last sync.

bin/magento katana:import:incremental

Output: Shows progress and number of items updated.

Use this when:

  • Regular scheduled updates
  • Keeping Magento in sync throughout the day
  • After individual product changes in PIM

katana:assets:cleanup

Removes soft-deleted assets (marked as is_deleted=1) from the Magento media gallery. Assets are soft-deleted when they are removed in KatanaPIM but the actual media files remain in Magento. This command cleans up those orphaned gallery entries.

(Available from v3.8.0)

# Show what would be deleted without making changes
bin/magento katana:assets:cleanup --dry-run

# Remove soft-deleted assets from media gallery
bin/magento katana:assets:cleanup

Options:

Option Description
--dry-run Show what would be deleted without actually deleting

Use this when:

  • After removing images from products in KatanaPIM
  • To clean up orphaned media gallery entries
  • As part of periodic maintenance

katana:migrate:attributes

Migrates attribute mappings from the old Itonomy_Katanapim module to KatanaPim_Connect. This command is only needed when upgrading from the legacy Itonomy module.

(Available from v3.10.0)

# Preview what would be migrated
bin/magento katana:migrate:attributes --dry-run

# Run the migration
bin/magento katana:migrate:attributes

Options:

Option Description
--dry-run Show what would be migrated without making changes

How it works:

  1. Reads attribute mappings from the old katanapim_attribute_mapping table
  2. Finds matching attributes in the new katanapim_attribute table by katana_attribute_code
  3. Copies the magento_attribute_code and is_configurable settings to the new table

Prerequisites:

  • The old katanapim_attribute_mapping table must exist (from a previous Itonomy_Katanapim installation)
  • Run a full API attribute import first so the new table has entries to match against

Use this when:

  • Migrating from the Itonomy_Katanapim module to KatanaPim_Connect
  • You want to preserve existing attribute mappings instead of reconfiguring manually

Examples

Initial Setup

# First time setup - import everything
bin/magento katana:import:full

Daily Maintenance

# Full sync during maintenance window
bin/magento cache:flush
bin/magento katana:import:full
bin/magento indexer:reindex

Incremental Updates

# Quick sync of recent changes
bin/magento katana:import:incremental

Step-by-Step Import

For large catalogs, import in stages:

# Step 1: Import and map attributes first
bin/magento katana:import:full --attributes

# Step 2: Configure attribute mapping in admin
# (manual step - use Attributes grid)

# Step 3: Import categories
bin/magento katana:import:full --categories

# Step 4: Import products
bin/magento katana:import:full --products

# Step 5: Import images and videos
bin/magento katana:import:full --assets

Troubleshooting

# Run with verbose output
bin/magento katana:import:full -v

# Check what would be synced without making changes
bin/magento katana:import:full --attributes

Indexer Recommendations

For large catalogs, set your indexers to "Update on Schedule" mode before running imports:

# Check current indexer modes
bin/magento indexer:show-mode

# Set all indexers to schedule mode
bin/magento indexer:set-mode schedule

Why "Update on Schedule"?

With "Update on Save" mode, Magento triggers reindexing after every single entity import — extremely slow for substantial datasets. Schedule mode queues index updates and processes them in batches, significantly improving import performance.

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