Multiple categories in the navbar and sidebar

LiteCart Fan
Da Sweden
Membro dal mar 2018

Configuration that not working as it should on shop. Let say that i have 10 + categories that is a lot for your litecart. If i set this categories on the top head meny then it working fine. It is ok it look ok. But i have more and i think many have. So to create one more category and put all of categories in to this one is not nice. Ok then there is a one more option to have the categories on left column but that column is not visible on mobile view. Why isnt that working on mobile view?

tim
Founder
Da Sweden
Membro dal mag 2013
tim

In the early era of LiteCart merchants could put pages and information pages in the site menu while categories was soley in the sidebar. Merchants later asked for the option to tie some categories to the navbar. This feature has now been outgrown and needs to be reconstructed. It is on the wishlist and I personally want to change this as soon as possible but haven't had a waterproof perfect replacement.

One way to do it is to stick the Categories in a drowdown. E.g.

Categories   |   Manufacturers    |    Information    |    Customer Service

In includes/templates/*.catalog/views/box_site_menu.inc.php

Find

        <?php foreach ($categories as $item) echo custom_draw_site_menu_item($item); ?>

Replace with


        <li class="categories dropdown">
          <a href="#" data-toggle="dropdown" class="dropdown-toggle"><?php echo language::translate('title_categories', 'Categories'); ?> <b class="caret"></b></a>
          <ul class="dropdown-menu">
            <?php foreach ($categories as $item) echo custom_draw_site_menu_item($item); ?>
          </ul>
        </li>
        <?php } ?>```
The reason why the left column is hidden is because merchants disliked a second navgation. So instead you rely on the "on page" subcategories in the listing. This just like above needs to be reconstructed.

I welcome new ideas. :)
LiteCart Fan
Da Sweden
Membro dal mar 2018

Thank you, that was much better for me. To have one top category in the header meny as you describe is much better. Maybe some better click function maybe on this provided if you decide to have this in the future. When click on one subcategory in the top category it should go back from expand when i click on it again maybe. And maybe add the possibilty to click and link function on the each subcategory. As it now on you example it is only click function on the last subcategory.

tim
Founder
Da Sweden
Membro dal mag 2013
tim

I think the multiple levels of subcategories will have to removed and remain only the first level. If there are products tied to the first level of subcategories. Then the visitor won't be able to go to that page if it has subcategories of it's own. I would appreciate if forum members would post their ideas here in the thread.

Merchant
Da Netherlands
Membro dal apr 2015

Personally its working for me the way categories are now on desktop: choose top or sidebar or have both. Mobile should always show categories regardless what has been chosen for desktop and all information given at the bottom row of desktop view. Specially the mail and phone with are clickable but unavailable on mobile now. Costumers cannot call me with just one klick.

Merchant
Da Netherlands
Membro dal apr 2015

Hi Tim, to much categories in the top bar  is really ugly and I like the idea of a pull down menu for categories as shown. But I have found out that if there are really many categories the categorie-listing in the footer shows "more..." And if I klick that all categories are displayed full spread with their categorie pictures and description. I really like that a lot, can the button "categories" have that function also instead of a pull down menu?

I have not been able to test it on mobile because the categorie listing is not available on mobile.
While editing a categorie and leave the top-bar and side-bar tick-box both empty, categories wil still show in the listing in the footer
Bob

Main Crew
Da Sweden
Membro dal feb 2013

@bobdrinktech sure the site menu can display a more link if exceeding a certain limit. Or we could display a full width dropdown with multiple columns.

Merchant
Da Netherlands
Membro dal apr 2015

No need to develop something just a button named Categories with the function display categories will do. Just do not forget mobile
Bob

Questo thread è stato chiuso per lunga inattività. Non è possibile postare su di esso.
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.