How can I delete categories?

  • Posts: 2
  • Thank you received: 1
13 hours 38 minutes ago #367892

-- HikaShop version -- : 6.0.0
-- Joomla version -- : 4.4.13
-- PHP version -- : 7.4.33
-- Browser(s) name and version -- : Edge 138.0

I'm a complete beginner with HikaShop.

I created a category and then deleted it.
Now, when I try to create a new category with the same name, I get an error saying that an alias with the same name already exists, and I can't proceed.

How can I create a new category using the same name as the one I deleted?

I searched the manual and the forums, but I couldn’t find a solution.
If anyone knows how to resolve this, I’d really appreciate your help.

Thank you in advance!

Please Log in or Create an account to join the conversation.

  • Posts: 84102
  • Thank you received: 13639
  • MODERATOR
10 hours 42 minutes ago #367893

Hi,

Note that the problem is the alias (the text used in the URL to reach the page of the category), not the name. So you need to check whether another category has the same alias or not, not the name.
There is no check on the name, so even if you have categories with the same name, the system won't display any error and it will work just fine.
However, since the alias is added in the URL of the category, and the system needs to find the category based on the alias in the URL in order to display the correct page, the alias has to be unique so that there is no ambiguity.
Also, once a category is deleted, it is completely gone. So the system shouldn't bother you about the alias if you try to create another one with the same alias.

Please Log in or Create an account to join the conversation.

  • Posts: 2
  • Thank you received: 1
3 hours 4 minutes ago #367904

Hi,

Thank you for your response.

I checked all the aliases of the registered categories, but there was no category with the same alias as the one I wanted to create.

I tried uninstalling and reinstalling HikaShop.
However, all the categories I had registered before uninstalling remained.
So I deleted all the categories once and recreated them.
After doing that, I was able to create the category with the name and alias that I previously couldn’t.

I’m not sure what the cause was, but the issue has been resolved.

Thank you for your help.

Yoji

The following user(s) said Thank You: nicolas

Please Log in or Create an account to join the conversation.

Time to create page: 0.052 seconds
Powered by Kunena Forum