Close

Profile: garrie007

Avatar

User posts

Hi,

Does anyone know why when i search for a product the search menu hides behind the NopMega Menu.


Picture here:

http://i1290.photobucket.com/albums/b530/garrie0007/Untitled-1_zps7ad75e56.jpg


Using NopCommerce v2.65


Regards

11 years ago

IvanStoyanov wrote:
Hi,

I have done the required changes but its still not working, code and photo below.

Category setting:

Main cat: Products and both sub cats use Products as main parent category.

Menu picture:


Admin settings:




<ul>
                        @{var categoriesCounter = 0;}
                        @foreach (var subCategory in category.SubCategories)
                        {
                            if (categoriesCounter == megaMenuSettings.NumberOfCategories && megaMenuSettings.NumberOfCategories != 0)
                            {
                            <li><a class="view-all" href="@Url.RouteUrl("Category", new { categoryId = category.CategoryModel.Id, SeName = category.CategoryModel.SeName })">@T("SevenSpikes.MegaMenu.ViewAllCategories")</a>
                            </li>
                                break;
                            }                        
                            <li><a href="@Url.RouteUrl("Category", new { categoryId = subCategory.CategoryModel.Id, SeName = subCategory.CategoryModel.SeName })">@subCategory.CategoryModel.Name</a>
                                <ul>
                                    @foreach (var subCategory1 in subCategory.SubCategories)
                                    {                                        
                                        <li><a href="@Url.RouteUrl("Category", new { SeName = subCategory1.CategoryModel.SeName })">@subCategory1.CategoryModel.Name</a></li>
                                        <li><a href="@Url.RouteUrl("Category", new { SeName = subCategory1.CategoryModel.SeName })">@subCategory1.CategoryModel.Name</a></li>
                                        
                                    }
                                </ul>
                            </li>
                                    categoriesCounter++;

                        }
                    </ul>




Regards

Hi garrie007,

What does  list item1 means?
The code that I gave you works if list item1 is a subcategory of Sub B for example.
I can see from your website, that you have only 1 level of subcategories (top level category => subcategory) the code will work for top level category => subcategory=> subcategory


Hi,

I am trying to achieve like in your theme electronics, shop by category but for each main seperate category in my menu.

A                  B                   C(main)            D                       E                         F
                                          |
                                          |----------------------|---------------------|--------------------|
                                          |                           |                           |                         |
                                          Sub cat A          Sub cat B          Sub cat C            Manufact List
                                          product cat1     product cat1      product cat1        manufactor1
                                          product cat2     product cat2      product cat2        manufactor2
                                          product cat3     product cat3
                                                                   product cat4
                                                                   product cat5




Regards

11 years ago

Hi,

I have done the required changes but its still not working, code and photo below.

Category setting:

Main cat: Products and both sub cats use Products as main parent category.

Menu picture:


Admin settings:




<ul>
                        @{var categoriesCounter = 0;}
                        @foreach (var subCategory in category.SubCategories)
                        {
                            if (categoriesCounter == megaMenuSettings.NumberOfCategories && megaMenuSettings.NumberOfCategories != 0)
                            {
                            <li><a class="view-all" href="@Url.RouteUrl("Category", new { categoryId = category.CategoryModel.Id, SeName = category.CategoryModel.SeName })">@T("SevenSpikes.MegaMenu.ViewAllCategories")</a>
                            </li>
                                break;
                            }                        
                            <li><a href="@Url.RouteUrl("Category", new { categoryId = subCategory.CategoryModel.Id, SeName = subCategory.CategoryModel.SeName })">@subCategory.CategoryModel.Name</a>
                                <ul>
                                    @foreach (var subCategory1 in subCategory.SubCategories)
                                    {                                        
                                        <li><a href="@Url.RouteUrl("Category", new { SeName = subCategory1.CategoryModel.SeName })">@subCategory1.CategoryModel.Name</a></li>
                                        <li><a href="@Url.RouteUrl("Category", new { SeName = subCategory1.CategoryModel.SeName })">@subCategory1.CategoryModel.Name</a></li>
                                        
                                    }
                                </ul>
                            </li>
                                    categoriesCounter++;

                        }
                    </ul>




Regards

11 years ago

Hi,

I tried adding extra main cats and sub cats but to no avail, do you have any examples.

Just getting back into development after last doing it when asp.net 2.0 first came out so a little rusty.

Regards

Garrie





11 years ago

Hi,

Just purchased your NopMegaMenu for NopCommerce 2.65 after giving it a trial and really like it, got it set nicely but what i a m trying to acheive, dont know if possiable out of the box or not? but this is what i am trying to do:


Categories:

A                  B                   C                       D                       E                         F
                                          |
                                          |
                                          Sub A              Sub B             Sub C                             Manufact List
                                          list item1          list item1         list item1                         list item1
                                          list item2          list item2         list item2                         list item2
                                          list item3          list item3
                                                                  list item4
                                                                  list item5





how do i do this?

Kind regards

Garrie

ps. if you require any info like order number etc let me know.





          

Trial messege
11 years ago

Hi,

Just testing the mega menu and i keep getting a 'You are running a Trial version of SevenSpikes.Nop.Plugins.MegaMenu '

very anoying whilst testing trying to get the css in order, GOOD job this is not on a live server with potenial customers seeing this anoying messege.

as a potential customer to you i had problems with your categorey menu, didn't get fixed so now trying this menu with an anoying trial messege, it's off putting to say the least.

regards

11 years ago

Hi,

I have just installed the NopCategoryHeader Menu In NopCommerce v2.65 and have created my main categories and sub categories but when i go down the menu to say number six on the first child li it does not display the third child li next to it, its at the top of the first child li.

Is there a setting somewhere to fix this.

http://i1290.photobucket.com/albums/b530/garrie0007/Untitled-1_zpsbbca2a1c.png

Regards

Garrie