Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • Rick Bisschop Friend
    #173584

    Hi all,

    I would like to know if it’s possible to add “categories” to the main top menu (see screenshot).
    When clicked on a “catergory” it displays only products of that category same for the left menu.

    If this is possible please some tips or help how to do this.

    Thanks in advance,

    Rain


    1. depart
    swissa Friend
    #437106

    Rain,

    This is easy to do. Go into Component/JoomShopping/Categories and note the ID of the categories you want to have in the menu. (Far right of the categories table)

    Go to Menu Manager and when you create a new menu item, choose JoomShopping/Shop. In Required Settings on the right Show should be set to Category and then you input the category ID number you noted earlier.

    Make sure it is published and save.

    Swissa

    Rick Bisschop Friend
    #437224

    Thanks again Swissa,

    It works as suggested, but it’s only one part of it.

    The category menu on the left should only show the selected category and its directories

    I think this isn’t possible out of the box do I need to create a new “mod_jshopping_single_category” where I am able to select one category on it’s ID number or do I think to complicated…

    If I am asking too much here I will post it as a new question,

    Grtx Rain…


    1. depart
    swissa Friend
    #437231

    <em>@raincheck 299136 wrote:</em><blockquote>Thanks again Swissa,

    It works as suggested, but it’s only one part of it.

    The category menu on the left should only show the selected category and its directories

    I think this isn’t possible out of the box do I need to create a new “mod_jshopping_single_category” where I am able to select one category on it’s ID number or do I think to complicated…

    If I am asking too much here I will post it as a new question,

    Grtx Rain…</blockquote>

    Hi Rain,

    I think I understand what you want to do. In effect another menu on the left but only with the current menu item and it’s sub menus/categories? Is that right?

    You would need to build a new module and I think it would be hard with getting the right ID from JS.

    Not sure I understand your reasoning in wanting to do it this way. It would make navigation for the user very hard and could increase your bounce out rate greatly. How for example, do they get back to the last category or a higher one? Always through the mega menu top item?

    You may be better to add sub menus to the main menu item on the top mega menu i.e add depth to the menu. You can get all sub category IDs from JS so that isn’t a problem and it would make it far easier for the user to navigate around the shop.

    Does that make sense or have I not been very clear?

    swissa Friend
    #437239

    I mean like this Rain…


    1. Screen-Shot-2012-02-06-at-22.56.00
    Rick Bisschop Friend
    #437240

    Swissa,

    Now I think of it, it makes sense what your saying! It over complicates things too much…

    If you dont mind can I ask you one more question:

    I would like a bit more space between the end of a category and the beginning of an other in the left menu (see screenshot)

    Where can I find the css for this…

    Again thanks for your time.

    Grtx Rick ..


    1. depart
    swissa Friend
    #437243

    <em>@raincheck 299152 wrote:</em><blockquote>Swissa,

    Now I think of it, it makes sense what your saying! It over complicates things too much…

    If you dont mind can I ask you one more question:

    I would like a bit more space between the end of a category and the beginning of an other in the left menu (see screenshot)

    Where can I find the css for this…

    Again thanks for your time.

    Grtx Rick ..</blockquote>

    No problems. Have a beer in front of me so 😎 😉

    I think you want components/com_jshopping/css/ja_tiris.css @ line 696.

    .jshop_menu_level_0, .jshop_menu_level_0_a {

    • margin-bottom: 8px;
    • overflow: hidden;

    }

    Play with the 8px until you are happy; e.g. 20px is too big and looks ugly for me. I don’t have sub menus here so if you PM your url I can check on the second level too.

    Rick Bisschop Friend
    #437247

    Cheers,

    I would have a pint of guinness 🙂

    I’ll give it a go and will sort it now I know where to find it…

    Much appreciated Swissa.

    Ps. working on my localhost and don’t have port 80 open so cant sent the url.

    Rick Bisschop Friend
    #437252

    Swissa,

    For future references


    /* Categories menu --- */
    .jshop_menu_level_0, .jshop_menu_level_0_a {
    margin-bottom: 6px;
    margin-top: 12px; /* added margin-top to get what I wanted
    overflow: hidden;
    }

    Grtx Rain…


    1. depart
    swissa Friend
    #437256

    <em>@raincheck 299166 wrote:</em><blockquote>Swissa,

    For future references


    /* Categories menu --- */
    .jshop_menu_level_0, .jshop_menu_level_0_a {
    margin-bottom: 6px;
    margin-top: 12px; /* added margin-top to get what I wanted
    overflow: hidden;
    }

    Grtx Rain…</blockquote>

    Cool. Well done Rick! Now you’ve earned that Guinness!! 😀

Viewing 10 posts - 1 through 10 (of 10 total)

This topic contains 10 replies, has 2 voices, and was last updated by  swissa 12 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum