Question

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.

Was it helpful?

Solution 2

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.

OTHER TIPS

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?

I had the same exact issue but I did the following for it to stop showing error 404 on the category page.

  • I enabled Single Store Mode for my Magento 2 website, you can get help on how to do that here Magento Docs
  • My Category was standalone before so I moved it to be a sub of the default Rearranging your category.

I hope this helps you too

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top