VertNav
VertNav copied to clipboard
Vertical Navigation Extension with many CSS Classes for Magento
All needed categories are being preloaded and not loaded one collection after another.
the Mage_Catalog_Model_Category::getProductCount methods contains all products from this category. But we only need products (Status=)active and visibile products. ``` php $collection->Mage::getModel('catalog/product')->getCollection()->addCategoryFilter($category)->addAttributeToSelect(array('sku')); Mage::getSingleton('catalog/product_visibility')->addVisibleInSearchFilterToCollection($collection); Mage::getSingleton('catalog/product_status')->addVisibleFilterToCollection($collection); $count = $collection->load()->count(); ``` or is there...
I made an extension (soon on GitHub) with with a node `/config/frontend/category/collection/attributes/redirect_url` The attribute `redirect_url` is needed (in my case) when generating the navigation. Using the standard navigation that works...