HikaShop - Hide Empty Categories in Menu?

More
12 years 1 month ago #22840 by blueagle1829
How can I hide the categories that have no products in the menu? It's a configuration option in HikaShop, but I can't figure out how with this menu.

Thanks. GREAT products.

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

More
12 years 1 month ago #22849 by ced1870
Hi
this would be possible but but need many seconds to load the page
- in hikashop : only the first level categories are shown without tree relations (parent/child)
- in maximenu : ALL categories are loaded with parent/child relations which is really heavy and needs big resources

Testing if a category has some products will need another SQL request for each category and then increase the needed resources.
Then I will not do it.

If you don't want it to be shown, you can simply unpublish the category until you put some product in it.

CEd

Joomlack Webmaster and Developer

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

Time to create page: 0.175 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1428 guests and one member online