Getting URL parameters (Magento 1)

To get a Magento URL parameter, use the following code:

Getting custom options of an order item (Magento 1)

Using the following code, you can get the custom options from a Magento order item: