Magento add Gift Message to packing slip

I wanted to add gift messages to the PDF packing slip, for some reason this isn’t standard in Magento (you write a gift message that never goes to customer, makes sense) To add the gift message you need to go to¬†/app/code/core/Mage/Sales/Model/Order/Pdf/Shipment.php You then need to add the following code, I added it after Mage::getStoreConfigFlag(self::XML_PATH_SALES_PDF_SHIPMENT_PUT_ORDER_ID, $order->getStoreId()) […]

Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/wwwwebam/public_html/blog/wp-includes/functions.php on line 4339