1

When I'm trying import eg 2 products:

enter image description here

I have no error with Check Data but on import:

  1. Category "MAN/zakiet/zakiet" has not been created. URL key for specified store already exists. in row(s): 2

and category looks like :

example

There is no problem for create those categories manually, but:

  • It is Magento issue, right?
  • Is it possible to fix it quickly?

EDIT:

I also tried use :

  1. Default Category/WOMEN/zakiet/zakiet
  2. Default Category/MAN/zakiet/zakiet

in csv as categories.

Result:

  1. Category "Default Category/WOMEN/zakiet/zakiet" has not been created. URL key for specified store already exists. in row(s): 1, 2

Categories:

Categories

EDIT:

It happens when You try create similar categories in other root category. It happens because firs category won't be include in url rewrites. Eg:

First Default Category -> Test1 -> Test2
create paths:
/test1.html and /test1/test2.html

When You try to create :

Second Default Category -> Test1 -> Test2 Magento will create rewrite with paths:
/test1.html and /test1/test2.html also.

Solve:
Try to set different url category or use one root category.

2

You should always include the root category

Default Category/WOMEN/zakiet/zakiet

So above should be right but on the category image you are showing only

Default Category/WOMEN/zakiet

That might be the rror?

  • Yea I noticed that problem is with creating rewrites for category paths. Root category is not included, but I forgot to update post ;) Thanks anyway! – Konrad Siamro Feb 1 '17 at 7:29
1

SOLUTION:
It happens when You try create similar categories in other root category. It happens because firs category won't be include in url rewrites. Eg:

First Default Category -> Test1 -> Test2 create paths: /test1.html and /test1/test2.html

When You try to create :

Second Default Category -> Test1 -> Test2 Magento will create rewrite with paths: /test1.html and /test1/test2.html also.

Solve: Try to set different url category or use one root category.

  • Hi, beginner here, had the same problem. What do you mean by "set different url category", is that something you can do in the CSV to import products? – Pedru Jul 31 '17 at 9:22
  • You are not able by default to create categories in product import (so you cant do this in import categories). Are you using some extension or default magento2 import? – Konrad Siamro Jul 31 '17 at 10:41
  • By "set different category url" I mean use different 'URL Key' in 'Search Engine Optimization' section in category view. But I think better solution is to use one root category :) – Konrad Siamro Jul 31 '17 at 10:48

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.