Getting and Using Categories and Sub Categories

Magento ver:
The code below does a couple of things, first it will get all the store’s categories – it then checks to see if they are active before continuing.
Also – it might be helpful to have the sub categories displayed, right? Well, in my case, I only wanted the subcategory for the current category displayed – so I put a check in to do so.

Magento: Print Labels

A quick fix to add a pop up print label print window in the orders page. Uses the default admin template, so you need to refresh on Magento upgrade. Have left red css border so you can use to position the label. (EDITORS PLEASE NOTE: if you edit this make sure to use 3 backslashes to get one output when using before the “n” character in code section.()
Edit info.phtml