Magento 1 проверка есть ли фильтры навигация продукты в текущей категории
<?php
$nonav = '';
$currentcategory = Mage::registry('current_category');
$catid = $currentcategory->getId();
if(!empty($catid)){
$cur_category = Mage::getModel('catalog/category')->load($catid);
}
if(!empty($cur_category)){
$products = Mage::getResourceModel('catalog/product_collection')->addCategoryFilter($cur_category);
Mage::getSingleton('catalog/product_status')->addVisibleFilterToCollection($products);
Mage::getSingleton('catalog/product_visibility')->addVisibleInCatalogFilterToCollection($products);
}
if(!empty($products))
{
if($products->count() == false)
{
$nonav = "no-nav";
}
}
?>