We can use the following code to check if we are on a category page or not
<?php if (Mage::registry('current_category')) : ?>
//Do something here
<?php endif; ?>
We can use the following code to check if we are on a category page or not
<?php if (Mage::registry('current_category')) : ?>
//Do something here
<?php endif; ?>
Leave a Comment