Needs 2 times to save for parent category

  • Posts: 1060
  • Thank you received: 11
  • Hikashop Business
11 years 3 months ago #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,

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

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
11 years 3 months ago #123549

Hi,

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

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 1060
  • Thank you received: 11
  • Hikashop Business
11 years 3 months ago #123640

with my vendor account

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

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
11 years 3 months ago #123659

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

		if(!isset($categoy->category_parent_id) && $new) {
By:
		if(!isset($category->category_parent_id) && $new) {
It will fix the problem.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
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.057 seconds
Powered by Kunena Forum