At magento,catalog_category_default handler is created on category page whenever that category is non- Anchor
.
catalog_category_default does not exit
at Anchor category
means layer navigate category
,
That you need fine a handler which is create both on Anchor category
and Non Anchor category
Magento is automatically create few handler whenever loadLayout()
called.
From their list, one of handler is inserted at current layout on basic of current controller action full Name
[Mage_Core_Controller_Varien_Action::getFullActionName()].
That means ,whenever a category layout loaded
,that time a handler is created and it name is catalog_category_view .
And it does not depends on Anchor field of category.
so.you can use catalog_category_view handler for removing recently viewed products from all category and subcategories pages
.
.