- Posts: 5
- Thank you received: 0
problem if the root of categories has been renamed
- evoorschot
-
Topic Author
- Offline
Less
More
10 years 9 months ago #227272
by evoorschot
problem if the root of categories has been renamed was created by evoorschot
-- HikaShop version -- : 2.6.1
Dear Mr,
What happens if the name of the root is changed in something else.
I did this by mistake.
The root itself is moved to a sub-category after a rebuild.
All the existing categories are beneath the new root and the "root" sub category.
Is this a problem for the functionality of hikashop?
edwin
Dear Mr,
What happens if the name of the root is changed in something else.
I did this by mistake.
The root itself is moved to a sub-category after a rebuild.
All the existing categories are beneath the new root and the "root" sub category.
Is this a problem for the functionality of hikashop?
edwin
Please Log in or Create an account to join the conversation.
10 years 9 months ago #227282
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic problem if the root of categories has been renamed
Hi,
The root is the root ; it has no parent.
You should not edit that category and in case you want to rename it ; you can use the Joomla translation system.
After that, if you change directly the name (and just the name) in the Database ; you won't break anything.
But if you change the type of the category into something else ; that's a lot different.
Regards,
The root is the root ; it has no parent.
You should not edit that category and in case you want to rename it ; you can use the Joomla translation system.
After that, if you change directly the name (and just the name) in the Database ; you won't break anything.
But if you change the type of the category into something else ; that's a lot different.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
10 years 7 months ago #234406
by kjeldbagh
Replied by kjeldbagh on topic problem if the root of categories has been renamed
Hi,
I have somewhat the same problem. I did not rename the root, but I removed the parent category from the subcategory (edit inside the subcategory - didnot delete it) and then the subcategory became the root in the admin category structure. Cannot find a way to change it.
I have somewhat the same problem. I did not rename the root, but I removed the parent category from the subcategory (edit inside the subcategory - didnot delete it) and then the subcategory became the root in the admin category structure. Cannot find a way to change it.
Please Log in or Create an account to join the conversation.
10 years 7 months ago #234418
by kjeldbagh
Replied by kjeldbagh on topic problem if the root of categories has been renamed
Perhaps I can do this?
_______________
Posted by Nicolas:
You can't delete root categories via the interface.
So you'll have to delete the categories you don't want via your phpmyadmin in the table hikashop_category.
When you're done, click on the "check database" button of the HikaShop configuration and then the "rebuild" button of the categories listing so that the category data gets straighten up in the database.
_____________
_______________
Posted by Nicolas:
You can't delete root categories via the interface.
So you'll have to delete the categories you don't want via your phpmyadmin in the table hikashop_category.
When you're done, click on the "check database" button of the HikaShop configuration and then the "rebuild" button of the categories listing so that the category data gets straighten up in the database.
_____________
Please Log in or Create an account to join the conversation.
10 years 7 months ago #234422
by kjeldbagh
Replied by kjeldbagh on topic problem if the root of categories has been renamed
found it - and restored the category structure. Edited the hikashop_category in phpmyadmin. Set root to category_parent_id to 0 (NULL) and the made sure that the "problem category" was sett to the value as the "brother category"
Now back to normal.
Now back to normal.
Please Log in or Create an account to join the conversation.
10 years 2 months ago #249752
by jasonyon
Replied by jasonyon on topic problem if the root of categories has been renamed
This just helped me. Thank you!
Please Log in or Create an account to join the conversation.
Time to create page: 0.055 seconds