Product category tree

  • Posts: 377
  • Thank you received: 7
8 years 6 months ago #239826

-- HikaShop version -- : 2.6.3
-- HikaMarket version -- : 1.7.0
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.5

Hi,

I want to open the product category tree by default on front end. For this i have used the "depth" parameter and after using this i am not getting all the categories list.
Also when i search and enter 3 or more alphabets than i am also not getting any categories in tree.

I have attached the image that will make you to understand my issue easily
search1.png - tree is showing 4 categories when not using the depth parameter
search2.png - tree showing only one parent category when used the depth parameter
search3.png - when use 3 or more alphabets to search categories. No result showing
search4.png - when use less than 3 alphabets to search categories. Showing the matched


Regards

Attachments:
Last edit: 8 years 6 months ago by Dibben.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 6 months ago #239830

Hi,

When the field have 3 or more characters, the search use made in ajax.
So you have an ajax call which is made and you should take a look at the call and his result.

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: 377
  • Thank you received: 7
8 years 6 months ago #239877

Hi,

Thanks for the reply. But you haven't respond to all of my queries.

Yes, i know it made ajax call if field has 3 or more. It returns the results if i commented the below code in components/com_hikamarket/controllers/category.php in getTree() method

if(!hikamarket::isVendorCategory($category_id, null, true)) {
	echo '[]';
	exit;
}
But the response i am getting is showing only one category in results and the tree structure is also not proper.

Last edit: 8 years 6 months ago by Jerome. Reason: [code] is nice

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 6 months ago #239910

Hi,

I can't reply to your question without having information which allow me to reproduce your issue.
Like : What are these categories ? What's your configuration ?
Without a global context and precise details, I won't be able to help you correctly.

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: 377
  • Thank you received: 7
8 years 6 months ago #239996

Hi,

Categories are hikashop categories. Some of categories having depth upto 4 levels.
Category tree is like below
Product category
- Scotland
--
--
--
- England
--
--
--
- Wales
--
--
--
- Northern Ireland
--
--
--

Let me know what configuration you need?

Regards

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 6 months ago #240021

Hi,

Please provide screenshots instead of text.
We still need details about your HikaMarket configuration and about your (real) category structure.
www.hikashop.com/support/documentation/1...nfig_market_category

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.

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