PHPackages                             spydemon/m2-catalog\_product\_import\_category\_by\_id - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. spydemon/m2-catalog\_product\_import\_category\_by\_id

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

spydemon/m2-catalog\_product\_import\_category\_by\_id
======================================================

Modify Magento 2 product import for identifying associated categories by ID instead of named paths.

1.0.0(6y ago)0258MITPHP

Since Jun 28Pushed 6y ago1 watchersCompare

[ Source](https://github.com/spydemon/m2-catalog_product_import_category_by_id)[ Packagist](https://packagist.org/packages/spydemon/m2-catalog_product_import_category_by_id)[ Docs](https://github.com/spydemon/m2-catalog_product_import_category_by_id)[ RSS](/packages/spydemon-m2-catalog-product-import-category-by-id/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

Magento 2 — Catalog Product Import Category By ID
=================================================

[](#magento-2--catalog-product-import-category-by-id)

Aim of the module
-----------------

[](#aim-of-the-module)

This Magento 2 module will change the behavior of the `categories` column present in your product import CSV files. By default, this column will identify categories by their named path (e.g.: `Default Category/Gear/Fitness Equipment`) and will automatically create the corresponding category if the path leads nowhere.

With the module, categories should now be identified by their Magento ID. If no category exists for the provided ID or if the ID is invalid, an error will be thrown.

What you still have to do
-------------------------

[](#what-you-still-have-to-do)

Nothing. This module should work out of the box.

Compatibility
-------------

[](#compatibility)

This module was tested on the Magento versions that follows.

VersionState2.3.5-p1WorksHow to install it
-----------------

[](#how-to-install-it)

Using Composer for installing this module is the best way:

```
composer require spydemon/m2-catalog_product_import_category_by_id

```

Help appreciated
----------------

[](#help-appreciated)

If you like this module and find a bug or an enhancement, don't hesitate to fill an issue, or even better: a pull request. 😀

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2197d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1022848?v=4)[Kevin Hagner](/maintainers/spydemon)[@spydemon](https://github.com/spydemon)

---

Top Contributors

[![hagnerk](https://avatars.githubusercontent.com/u/1022848?v=4)](https://github.com/hagnerk "hagnerk (5 commits)")[![spydemon](https://avatars.githubusercontent.com/u/1022848?v=4)](https://github.com/spydemon "spydemon (5 commits)")

### Embed Badge

![Health badge](/badges/spydemon-m2-catalog-product-import-category-by-id/health.svg)

```
[![Health](https://phpackages.com/badges/spydemon-m2-catalog-product-import-category-by-id/health.svg)](https://phpackages.com/packages/spydemon-m2-catalog-product-import-category-by-id)
```

###  Alternatives

[yireo/magento2-replace-inventory

51513.0k1](/packages/yireo-magento2-replace-inventory)[yireo/magento2-replace-bundled

Replace bundled third party packages from Magento

44346.8k1](/packages/yireo-magento2-replace-bundled)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
