dev-master
9999999-devA simple module to customize your navigation menu
MIT
The Requires
by Ben McManus
0.0.1
0.0.1.0A simple module to customize your navigation menu
MIT
The Requires
by Ben McManus
Wallogit.com
2017 © Pedro Peláez
A simple module to customize your navigation menu
Simple navigation styling and extra category attributes for Magento., (*1)
php composer.phar require bennoislost/easy-navigation
Then refresh Magento caches., (*2)
catalog/category attribute for useAdd the following snippit to your modules config.xml inside the default node. Replace my_new_catalog_attr with the attribute code you wish to be displayed in your navigation., (*3)
<frontend>
<category>
<collection>
<attributes>
<my_new_catalog_attr/>
</attributes>
</collection>
</category>
</frontend>
Copy the following templates to your design package / theme., (*4)
app/design/frontend/base/default/template/bennoislost/easy-navigation/single-level.phtmlapp/design/frontend/base/default/template/bennoislost/easy-navigation/level-with-children.phtmlYou can now use the following snippet to return the catalog/category attribute value in your template., (*5)
$this->getMenu()->getCategoryData()->getData('my_new_catalog_attr');
Replace my_new_catalog_attr with your attribute code., (*6)
With blocks in Magento these can be extended and replaced :), (*7)
If you have any issues with this extension, open an issue on GitHub (see URL above), (*8)
Any contributions are highly appreciated. The best way to contribute code is to open a pull request on GitHub., (*9)
Ben McManus - @bennoislost, (*10)
MIT, (*11)
(c) 2015 Ben McManus, (*12)
A simple module to customize your navigation menu
MIT
A simple module to customize your navigation menu
MIT