Question

I`m about to configure an xt Commerce 4 template for a friend.

It´s the shop under: shop.lucas-recknagel.de

My problem is that I´ve designed a site structure where the main category items are placed in a topmenu over the whole page content, and when I select such a main category that the the level2 menu items appearing in the left sidebar.

Here an example:

<ul>
 <li class="level1">MAIN-ITEM1</li>
 <li class="level2">UNDER_01 MAIN ITEM1</li>
 <li class="level2">UNDER_02 MAIN ITEM1</li>
 <li class="level2">UNDER_03 MAIN ITEM1</li>
 <li class="level1">MAIN-ITEM2</li>
 <li class="level1">MAIN-ITEM3</li>
 <li class="level1">MAIN-ITEM4</li>
</ul>

So items with class level1 has to be in the top menu and level2, level3 ... has to be in the side menu.

I`m familiar with php, html and css but I can´t find the php or html object where the menu structure is generated.

I´ve already searched these files:

WEBSERVER/templates/mytemplate/xtCore/box_categories.html
WEBSERVER/xtCore/boxes/categories.php  
WEBSERVER/xtCore/pages/categories.php  
WEBSERVER/xtFramework/classes/class.category.php

But nowhere I can find these structure which is generating the menu.

First I thougt box_categories.html create the structure but even when I delete these file and clean all webserver chaches the menu is still working. I tried also to use a if statement to filter the output of the menu depth but menu working as usual. So I think it is created in another file.

So I hopy anyone of you have an answer for me so solve these problem.

Yours Lucas

Was it helpful?

Solution

I have not tried it, but I think that xt:commerce falls back to the default template if the file box_categories.html is not found. But box_categories.html is the file that create the structure.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top