What is magento

12/13/2011

I want to show two specific categories on all other category pages, so I wrote this in the end of /template/catalog/product/list.phtml

I used this code:
<?php echo Mage::getModel('catalog/layer')->getCurrentCategory()->getName(); ?>
<?php echo Mage::getModel('catalog/layer')->getCurrentCategory()->getId(); ?>
Posted by Unknown at 5:32 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ►  2014 (1)
    • ►  August (1)
  • ►  2013 (4)
    • ►  June (3)
    • ►  February (1)
  • ►  2012 (68)
    • ►  December (3)
    • ►  October (3)
    • ►  August (4)
    • ►  July (15)
    • ►  June (5)
    • ►  May (15)
    • ►  April (20)
    • ►  March (3)
  • ▼  2011 (23)
    • ▼  December (1)
      • I want to show two specific categories on all othe...
    • ►  November (2)
    • ►  October (2)
    • ►  September (4)
    • ►  August (2)
    • ►  July (11)
    • ►  February (1)
  • ►  2010 (17)
    • ►  November (6)
    • ►  September (5)
    • ►  August (6)
Magento One Step Checkout Virtuemart Extensions One Page Checkout For Virtuemart Magento Extensions Magento Themes Virtuemart templates Joomla Extensions Virtuemart Module Magento Extensions Free Magento Full Page Cache Magento Layered Navigation Magento Product Video Magento Social Login Magento Store Locator
Simple theme. Powered by Blogger.