category tree

  • Posts: 115
  • Thank you received: 0
11 years 5 months ago #78323

is there any way i can implement a category tree on my menus? eg you click on a category and it expands and shows the category below.Clicking on the category then takes you to that page

Many Thanks

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

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #78325

Hi,

You can find this kind of modules in the pre-installed HikaShop modules. This module is "Category on 2 levels"

Or you can see on our demo website, the module is displayed in the left bar, then go in the backend of the demo website and see how it's configured.
demo.hikashop.com

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

  • Posts: 115
  • Thank you received: 0
11 years 5 months ago #78329

how do i configure this module? i cant seem to find it?

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

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #78333

In HikaShop > Display > Content modules, create a module like that:

Attachments:

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

  • Posts: 115
  • Thank you received: 0
11 years 5 months ago #78339

Thats great thanks, also whats the difference between categories on 1 level and categories on 2 levels?

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

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #78341

The difference is that in 1 level you only have the main elements displayed, and 2 levels you have the sub elements too.

ex:
main1
sub1
sub2
main2
sub3

The parameter changed in the settings is "sub elements filter"

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

  • Posts: 115
  • Thank you received: 0
11 years 5 months ago #78386

how can you set it up so it expands when you click the category as currently its showing all the categories ?

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

  • Posts: 115
  • Thank you received: 0
11 years 5 months ago #78387

how can i set it up similar to your demo where it expands when you click?

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

  • Posts: 115
  • Thank you received: 0
11 years 5 months ago #78407

in fact i am looking for a category tree for the website similar to the one on the demo website or even the one which is used in the back end of hika shop (components -> hika shop-> Categories).

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

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #78409

If you made you module as on the screenshot, it should work as on the demo site.

You can see in the backend of the demo website, module with the ID 120

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

  • Posts: 115
  • Thank you received: 0
11 years 5 months ago #78411

hi where is the screenshot?

thanks

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

  • Posts: 115
  • Thank you received: 0
11 years 5 months ago #78412

is it the one above in this thread?

thanks

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

  • Posts: 115
  • Thank you received: 0
11 years 5 months ago #78414

ive done this but it looks messy and the menus dont expand, they are already expanded, i want the user to click on a category which then expands depending on how many subcategories there are, similar to the hika shop categories in the back end

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

  • Posts: 26008
  • Thank you received: 4004
  • MODERATOR
11 years 5 months ago #78441

Hi,

The screenshot is in a previous post of Xavier.
www.hikashop.com/en/forum/2-general-talk...gory-tree.html#78333

Would it be possible to have a link to your webstore in order to see your module in action ?

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: 115
  • Thank you received: 0
11 years 5 months ago #78628

thanks jerome, if possible can you help on letting it look like the demo website?

how can i send you the log in details , have you got an email?

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

  • Posts: 26008
  • Thank you received: 4004
  • MODERATOR
11 years 5 months ago #78633

Hi,

Jerome wrote: Would it be possible to have a link to your webstore in order to see your module in action ?

We do not require a backend access for the moment. Just a simple link to your webstore.

Thanks,


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: 115
  • Thank you received: 0
11 years 5 months ago #78637

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

  • Posts: 26008
  • Thank you received: 4004
  • MODERATOR
11 years 5 months ago #78650

Hi,

If you want the same display that in the demo website, you should look at his module configuration here :
demo.hikashop.com/administrator/index.ph...=1&task=edit&cid=120

So, use these options for you HikaShop category listing module :

Number of columns: 1
Type of layout: list
Sub elements filter: Direct Sub Elements

Show sub categories: All direct sub categories
Number of sub categories: 5
Link on main categories: No
Show the number of products: No
Only display categories with products: No

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.
Last edit: 11 years 5 months ago by Jerome.

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

  • Posts: 115
  • Thank you received: 0
11 years 5 months ago #78715

tried the above but not working like the demo site and still not looking right, I renamed the categories on 2 levels module to AA Categories on 2 levels current so it was easier to find

Ive attached screenshots

1) the website is www.britishfoodabroad.co.uk
2) the test menu option I am using for this test is called Category Tree Test
3) the module I am using is called AA Categories on 2 levels current (been renamed as there were multiple modules called Categories on 2 levels)

Can you help?

Attachments:

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

  • Posts: 26008
  • Thank you received: 4004
  • MODERATOR
11 years 5 months ago #78735

Hi,

The options of your module does not match with that what I gave you in my previous post.
Please, follow our recommendations.

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.

Time to create page: 0.113 seconds
Powered by Kunena Forum