0

The default Magento 2 product import feature only allows you to specify the category path string in the import file. How can I import product by using the category ID instead?

3

The extension in the link below allows you to import product into Magento 2, by using the category ID.

https://github.com/EnochDataSystems/ProductImportCategoryId

  • the module is not working and have issue in override – sandip patel Jun 27 '20 at 10:15
0

i have gone to same module before,but have some problem in di.xml,i have small and effective way to do it,it is simple

Just Override This File :/vendor/magento/module-catalog-import-export/Model/Import/Product/CategoryProcessor.php

and find function public function upsertCategories() change whole code of this function like as below

enter image description here

in this sollution u can set category ids like below enter image description here

it will accept category id as well as full category path as default. Thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.