Skip to main content

Needs 2 times to save for parent category

13 years 2 months ago #123519 by verzevoul
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 or Create an account to join the conversation.

13 years 2 months ago #123549 by Jerome
Hi,

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

Regards,

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

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

13 years 2 months ago #123640 by verzevoul
with my vendor account

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

13 years 2 months ago #123659 by Jerome
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->category_parent_id) && $new) {
By:
Code:
if(!isset($category->category_parent_id) && $new) {
It will fix the problem.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: verzevoul

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

Moderators: Obsidev
Time to create page: 0.049 seconds
Powered by Kunena Forum