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
<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>
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>
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
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.
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
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