Return to Snippet

Revision: 51635
at September 30, 2011 07:49 by rc2789


Initial Code
<?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; ?>

Initial URL

                                

Initial Description

                                

Initial Title
Magento - if category

Initial Tags
textmate

Initial Language
PHP