/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php if (Mage::registry('current_category') && Mage::registry('current_category')->getId() == 7) : ?> <!-- if category # 7 - show this--> <?php else : ?> <!-- if not then show this--> <?php endif; ?>