Skip to content

Instantly share code, notes, and snippets.

@cobbman
Last active December 14, 2015 07:39
Show Gist options
  • Save cobbman/5052256 to your computer and use it in GitHub Desktop.
Save cobbman/5052256 to your computer and use it in GitHub Desktop.
Display category name and id in Magento phtml file
echo $_category->getName().'|'.$_category->getId();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment