[Skip to main content](#vessel-content)

#   category came on top of my root

##

- **[UserB](/forum/user/41252-userb "View UserB's Profile")**
- [![UserB's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/41252-userb "View UserB's Profile") Topic Author
- [ Offline](/forum/user/41252-userb)

Less More

- Posts: 177
- Thank you received: 8
-
-

10 years 7 months ago [\#234611](#234611) by [UserB](/forum/user/41252-userb "View UserB's Profile")  *[category came on top of my root](/forum/32-content-creation/883429-category-came-on-top-of-my-root#234611 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4 -- PHP version -- : 5  Hi, I need to remove a category that came ontop of my root. I wanted to modify a subcategory and accidently did not give it any parents... Now, it just lies ontop of my root and I just don't know how to remove it or remove the parenthood between my root and the category... The root category does not give me any parent to remove if I try to modify it.  Please help.")* was created by *[UserB](/forum/user/41252-userb "View UserB's Profile")*

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4
-- PHP version -- : 5

Hi, I need to remove a category that came ontop of my root. I wanted to modify a subcategory and accidently did not give it any parents... Now, it just lies ontop of my root and I just don't know how to remove it or remove the parenthood between my root and the category... The root category does not give me any parent to remove if I try to modify it.

Please help.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODgzNDI5LWNhdGVnb3J5LWNhbWUtb24tdG9wLW9mLW15LXJvb3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

10 years 7 months ago [\#234660](#234660) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[category came on top of my root](/forum/32-content-creation/883429-category-came-on-top-of-my-root#234660 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4 -- PHP version -- : 5  Hi, I need to remove a category that came ontop of my root. I wanted to modify a subcategory and accidently did not give it any parents... Now, it just lies ontop of my root and I just don't know how to remove it or remove the parenthood between my root and the category... The root category does not give me any parent to remove if I try to modify it.  Please help.")*

Hi,

The category has been created before the root ? or right after root and next to the "product category" ?
If it is the second case, in the tree you can click on "root" and delete this category.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODgzNDI5LWNhdGVnb3J5LWNhbWUtb24tdG9wLW9mLW15LXJvb3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[UserB](/forum/user/41252-userb "View UserB's Profile")**
- [![UserB's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/41252-userb "View UserB's Profile") Topic Author
- [ Offline](/forum/user/41252-userb)

Less More

- Posts: 177
- Thank you received: 8
-
-

10 years 7 months ago [\#234700](#234700) by [UserB](/forum/user/41252-userb "View UserB's Profile")  Replied by *[UserB](/forum/user/41252-userb "View UserB's Profile")* on topic *[category came on top of my root](/forum/32-content-creation/883429-category-came-on-top-of-my-root#234700 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4 -- PHP version -- : 5  Hi, I need to remove a category that came ontop of my root. I wanted to modify a subcategory and accidently did not give it any parents... Now, it just lies ontop of my root and I just don't know how to remove it or remove the parenthood between my root and the category... The root category does not give me any parent to remove if I try to modify it.  Please help.")*

No, the category was created after the root but for some reasons, it came ontop of the root. when I click on the root to modify it, it doesn't give me any option to choose its parent and get back on the root level. see the attachment. I don't get it.

[ ![sc1&#95;2016-03-30.jpg](/forum/attachment/30361) ](/forum/attachment/30361 "...2016-03-30.jpg")

- [ ![sc1&#95;2016-03-30.jpg](/forum/attachment/30361) ](/forum/attachment/30361 "...2016-03-30.jpg") [ ](/forum/attachment/30361?download=1 "...2016-03-30.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODgzNDI5LWNhdGVnb3J5LWNhbWUtb24tdG9wLW9mLW15LXJvb3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

10 years 7 months ago [\#234705](#234705) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[category came on top of my root](/forum/32-content-creation/883429-category-came-on-top-of-my-root#234705 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4 -- PHP version -- : 5  Hi, I need to remove a category that came ontop of my root. I wanted to modify a subcategory and accidently did not give it any parents... Now, it just lies ontop of my root and I just don't know how to remove it or remove the parenthood between my root and the category... The root category does not give me any parent to remove if I try to modify it.  Please help.")*

Hi,

You'll have to go in your PHPMyAdmin and open the hikashop_category table. There, fix the category_parent_id of the categories:
0 for the root category, and the id of the parent category for the others.
Then, click on the "rebuild" button of the categories listing in the backend and that will fix the problem.

The following user(s) said Thank You: [UserB](/forum/user/41252-userb "View UserB's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODgzNDI5LWNhdGVnb3J5LWNhbWUtb24tdG9wLW9mLW15LXJvb3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[UserB](/forum/user/41252-userb "View UserB's Profile")**
- [![UserB's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/41252-userb "View UserB's Profile") Topic Author
- [ Offline](/forum/user/41252-userb)

Less More

- Posts: 177
- Thank you received: 8
-
-

10 years 7 months ago [\#234795](#234795) by [UserB](/forum/user/41252-userb "View UserB's Profile")  Replied by *[UserB](/forum/user/41252-userb "View UserB's Profile")* on topic *[category came on top of my root](/forum/32-content-creation/883429-category-came-on-top-of-my-root#234795 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4 -- PHP version -- : 5  Hi, I need to remove a category that came ontop of my root. I wanted to modify a subcategory and accidently did not give it any parents... Now, it just lies ontop of my root and I just don't know how to remove it or remove the parenthood between my root and the category... The root category does not give me any parent to remove if I try to modify it.  Please help.")*

Suggestion was good.
We're back on track for that issue.
Thanks Nicolas

I know this is not the place but if you have a minute to look this up, it just drives me insane.
[ www.hikashop.com/forum/product-category-...from-categories.html](https://www.hikashop.com/forum/product-category-display/883451-products-disappeared-from-categories.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODgzNDI5LWNhdGVnb3J5LWNhbWUtb24tdG9wLW9mLW15LXJvb3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.057 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
