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

#   adding a new category; which tables are affected?

##

- **[senor\_mike](/forum/user/33975-senor-mike "View senor&#95;mike's Profile")**
- [![senor&#95;mike's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar33975.jpg)](/forum/user/33975-senor-mike "View senor&#95;mike's Profile") Topic Author
- [ Offline](/forum/user/33975-senor-mike)

Less More

- Posts: 6
- Thank you received: 0
-
-

12 years 3 weeks ago [\#174297](#174297) by [senor\_mike](/forum/user/33975-senor-mike "View senor&#95;mike's Profile")  *[adding a new category; which tables are affected?](/forum/26-product-category-display/872086-adding-a-new-category-which-tables-are-affected#174297 "I ran into this issue when adding a new category:  When i use the joomla admin panel to add a new category, the new cat is listed for me to see.  however, when I add categories thru MySQL, I cannot view the new cats using the admin panel.  When adding a cat thru the admin panel, are other tables affected? eg. a row is inserted into another table to support the new cat. If this is the case, what are those tables?  If this isnt the problem, how can i view the cats added thru MySQL?  Thanks in advance for your help.")* was created by *[senor\_mike](/forum/user/33975-senor-mike "View senor&#95;mike's Profile")*

I ran into this issue when adding a new category:

When i use the joomla admin panel to add a new category, the new cat is listed for me to see.

however, when I add categories thru MySQL, I cannot view the new cats using the admin panel.

When adding a cat thru the admin panel, are other tables affected? eg. a row is inserted into another table to support the new cat. If this is the case, what are those tables?

If this isnt the problem, how can i view the cats added thru MySQL?

Thanks in advance for your help.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 3 weeks ago [\#174308](#174308) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[adding a new category; which tables are affected?](/forum/26-product-category-display/872086-adding-a-new-category-which-tables-are-affected#174308 "I ran into this issue when adding a new category:  When i use the joomla admin panel to add a new category, the new cat is listed for me to see.  however, when I add categories thru MySQL, I cannot view the new cats using the admin panel.  When adding a cat thru the admin panel, are other tables affected? eg. a row is inserted into another table to support the new cat. If this is the case, what are those tables?  If this isnt the problem, how can i view the cats added thru MySQL?  Thanks in advance for your help.")*

Hi,

If you want to add a category directly in the database, you have to be careful to not break the b-tree.
HikaShop categories are like the Joomla categories, they are more than an id, there is a complete tree structure that should be followed.
You can read more about Joomla categories or the b-tree algorithm on joomla website or wikipedia.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzIwODYtYWRkaW5nLWEtbmV3LWNhdGVnb3J5LXdoaWNoLXRhYmxlcy1hcmUtYWZmZWN0ZWQ/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.132 seconds

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

[](#top)
