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

#   Needs 2 times to save for parent category

##

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

Less More

- Posts: 1192
- Thank you received: 13
-
-

13 years 1 month ago [\#123519](#123519) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  *[Needs 2 times to save for parent category](/forum/22-market-bug-report/861979-needs-2-times-to-save-for-parent-category#123519 "Hi! I remarked that if you add a category from the frontend and you select a parent category and you save, the parent category isn t saved. It automatically saves the root . You need to do that post twice so that you can choose and save your parent category,")* was created by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")*

Hi!
I remarked that if you add a category from the frontend and you select a parent category and you save, the parent category isn t saved. It automatically saves the root .
You need to do that post twice so that you can choose and save your parent category,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg2MTk3OS1uZWVkcy0yLXRpbWVzLXRvLXNhdmUtZm9yLXBhcmVudC1jYXRlZ29yeT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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)
-

13 years 1 month ago [\#123549](#123549) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Needs 2 times to save for parent category](/forum/22-market-bug-report/861979-needs-2-times-to-save-for-parent-category#123549 "Hi! I remarked that if you add a category from the frontend and you select a parent category and you save, the parent category isn t saved. It automatically saves the root . You need to do that post twice so that you can choose and save your parent category,")*

Hi,

With a vendor account or with a "admin" account ?

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg2MTk3OS1uZWVkcy0yLXRpbWVzLXRvLXNhdmUtZm9yLXBhcmVudC1jYXRlZ29yeT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 1192
- Thank you received: 13
-
-

13 years 1 month ago [\#123640](#123640) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  Replied by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")* on topic *[Needs 2 times to save for parent category](/forum/22-market-bug-report/861979-needs-2-times-to-save-for-parent-category#123640 "Hi! I remarked that if you add a category from the frontend and you select a parent category and you save, the parent category isn t saved. It automatically saves the root . You need to do that post twice so that you can choose and save your parent category,")*

with my vendor account

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg2MTk3OS1uZWVkcy0yLXRpbWVzLXRvLXNhdmUtZm9yLXBhcmVudC1jYXRlZ29yeT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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)
-

13 years 1 month ago [\#123659](#123659) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Needs 2 times to save for parent category](/forum/22-market-bug-report/861979-needs-2-times-to-save-for-parent-category#123659 "Hi! I remarked that if you add a category from the frontend and you select a parent category and you save, the parent category isn t saved. It automatically saves the root . You need to do that post twice so that you can choose and save your parent category,")*

Hi,

Thanks. I reproduce the problem in my local website and fix it.
A misspelling that I didn't notice.
Please edit the file "administrator/components/com_hikamarket/classes/category.php" and replace Code:

if(!isset($categoy-&gt;category_parent_id) &amp;&amp; $new) {

By: Code:

if(!isset($category-&gt;category_parent_id) &amp;&amp; $new) {

It will fix the problem.

Regards,

---

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

The following user(s) said Thank You: [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg2MTk3OS1uZWVkcy0yLXRpbWVzLXRvLXNhdmUtZm9yLXBhcmVudC1jYXRlZ29yeT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

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

Time to create page: 0.069 seconds

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

[](#top)
