Shop By Brand Attribute Splash Pages extension automatically adds all generated sttribute and option pages to the top menu. While this feature works out-of-the-box on most stores, some stores redefine top menu PHTML template and in such store attribute and option page menu may not appear. In this case you should add this menu part manually and here is how:
- First, you should find out which PHTML file is responsible for displaying top menu. Typical PHTML file locations:
app/design/frontend/[YOUR PACKAGE]/[YOUR THEME]/template/catalog/navigation/top.phtml
app/design/frontend/[YOUR PACKAGE]/[YOUR THEME]/template/page/html/topmenu.phtml
- If you are not sure, you can enable red template hints and see which
red PHTML label is attached to top menu. To do that, in
System->Configuration
change configuration scope in left top corner to your store view; inAdvanced->Developer->Debug
section, changeTemplate Path Hints
toYes
; save configuration; refresh Magento cache.
- Open that phtml file for editing and find a line which does menu HTML rendering modify it to include attribute option
page menu. Typical modifications:
-
Replace
$_menu = $this->renderCategoriesMenuHtml(0, 'level-top')with
$_menu = $this->renderCategoriesMenuHtml(0, 'level-top') . Mage::helper('mana_attributepage')->getAttributePageMenuHtml(); -
Replace
$_menu = $this->getHtml('level-top')with
$_menu = $this->getHtml('level-top') . Mage::helper('mana_attributepage')->getAttributePageMenuHtml();
-
- Then save and upload modified file to your server.
- Refresh Magento cache.
In Ultimo Theme
- Open
app/design/frontend/ultimo/default/template/page/html/topmenu.phtml
for editing. -
Replace
$_menu = $this->renderCategoriesMenuHtml(FALSE, 0,'level-top')with
$_menu = $this->renderCategoriesMenuHtml(FALSE, 0,'level-top') . Mage::helper('mana_attributepage')->getAttributePageMenuHtml(); - Then save and upload modified file to your server.
- Refresh Magento cache.