- Posts: 377
- Thank you received: 7
Product category tree
10 years 4 months ago - 10 years 4 months ago #239826
by Dibben
Product category tree was created by Dibben
-- 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
-- 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
Last edit: 10 years 4 months ago by Dibben.
Please Log in or Create an account to join the conversation.
10 years 4 months ago #239830
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Product category tree
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,
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.
Please Log in or Create an account to join the conversation.
10 years 4 months ago - 10 years 4 months ago #239877
by Dibben
Replied by Dibben on topic Product category tree
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
But the response i am getting is showing only one category in results and the tree structure is also not proper.
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
Code:
if(!hikamarket::isVendorCategory($category_id, null, true)) {
echo '[]';
exit;
}
Last edit: 10 years 4 months ago by Jerome. Reason: [code] is nice
Please Log in or Create an account to join the conversation.
10 years 4 months ago #239910
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Product category tree
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,
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.
Please Log in or Create an account to join the conversation.
10 years 4 months ago #239996
by Dibben
Replied by Dibben on topic Product category tree
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
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.
10 years 4 months ago #240021
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Product category tree
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,
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.
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.174 seconds