Jump to content

kaylamatthews

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

kaylamatthews's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I got to this and it’s bringing up the getName but the getUrl() isn’t returning any URL at all.... <?php $children = Mage::getModel('catalog/category')->getCategories(3); foreach ($children as $category): echo '<li><a href="' . $category->getUrl() . '">' . $category->getName() . '</a></li>'; endforeach; ?> The output code is just <li><a href="">name of sub-cat</a></li> Anybody have any ideas Please? I have been trying to figure this out for over 5 hours to no avail Thanks in advance! Kayla
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.