can't select categories on front-end

  • Posts: 71
  • Thank you received: 3
8 years 11 months ago #203305

-- HikaShop version -- : 2.4.0
-- HikaMarket version -- : 1.6.2
-- Joomla version -- : 3.4.1

Hi

The category tree is not displayed correctly on the product creation form (front-end).
When I click on "product category", the list expands but with again the root category.

See attached image.

Thank you

Attachments:

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

  • Posts: 26019
  • Thank you received: 4005
  • MODERATOR
8 years 11 months ago #203310

Hi,

Are you using a SEF extension ?
Because the tree is using an ajax call and replace dynamically a tag by the product id that you're expending.
But if the tag is not put "as it" in the url, (the tag contains curly brackets), the javascript can't perform the replacement and HikaMarket will not receive the category id during the ajax call.

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: 71
  • Thank you received: 3
8 years 11 months ago #203322

Thank you.
I deactivated SH404 for Hikashop and Hikamarket (using Joomla router directly) and the categories came back in the tree.

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

  • Posts: 26019
  • Thank you received: 4005
  • MODERATOR
8 years 11 months ago #203325

Hi,

Otherwise, you can remove the curly brackets in the "strip" setting of SH404 ; so you will continue to have nice SEF url and it will work with HikaMarket.
We will improve things for the SH404 compatibility in the next release.

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: 71
  • Thank you received: 3
8 years 11 months ago #203468

I removed { and } from the list of characters to be removed by SH404 and it did not change anything.

Is this what you meant ?

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

  • Posts: 26019
  • Thank you received: 4005
  • MODERATOR
8 years 11 months ago #203472

Hi,

Yes, logically it is what I meant (because I don't see a lot of options where you can find the {} ).
For the moment, please deactivate SH404 for HikaMarket ; I talked with the SH404 lead developer this week end during the JAB and I will make some modifications in order to avoid such kind of issue for the future.
But it will require some tests in our side (to be sure that it handle all cases) so it will be for the next release.

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: marremp2

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

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