Magento Downloader – No Extensions Listed

If you can’t see any packages or extensions listed in the Magento Connect Manager (Downloader), I might just have the fix for you. First thing I noticed was  we didnt have pear installed (use this script to make sure your server is compatible). After I made sure the server was compatible, the extensions still weren’t listing. I found on this thread that you can enter the following:


…into the “Paste extension key to install:” box on the Downloader. It will populate the list.

Reducing the Size of Your Magento Install

Quoting a Magento Professional Partner nicknamed “Crucial”:

Yes, it’s safe to delete that data. I always clear it out after an upgrade:

rm -rf downloader/pearlib/cache/* downloader/pearlib/download/*

Basically when you are upgrading and installing, your downloader folder will become very large, and you are safe to clean out the two following folders:

  • /downloader/pearlib/cache
  • /downloader/pearlib/download

Edit the Magento Invoice PDF Templates

Code Location

  • /app/code/core/Mage/Sales/Model/Order/Pdf/Invoice.php
  • /app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php

Changing the font size

Change the font size in the two files:

  • /app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php (line 487-507)
  • /app/code/core/Mage/Sales/Model/Order/Pdf/Items/Abstract.php (line 255-274)

Change the invoice logo

  • Admin -> Configuration -> Sales -> Invoice and Packing Slip Design

More info

  • Changing the invoice size from A4 to letter
  • Changing the font from Libertine to Helvetica
  • Read up here.

Canada Post module for Magento now available

After this module is installed you can request quotes from the Canada Post Sell Online system.

Feature list

  • Storage of sellonline information
  • Easy setup process
  • Easy configuration / setup process
  • Add ability to view number of boxes to ship and contents of each box
  • Orders from backend may use “Free” shipping method

Get it here.

Speed up Magento by ~235%

How to REALLY speed up your Magento site:

The information below on enabling gzip compression will improve your speed a bit, but if you are using a bargain basement web host then that could be a major factor as well. XPC Web Hosting provides advanced technology for speeding up your sites with performance tuned servers in both the USA and Canada. Some of our latest improvements include nginx which speeds up image loading and our database backup system that creates two backups a day and stores off-site archives for 30 days in case of emergency. Learn more.

GZip Compression:
There’s a feature called “gzip” that’s installed by default on most web servers. Modifying your site to make use of it can really speed up the performance.

How much faster?
Try the quick and easy mod_gzip tester by Just enter the URL and it will tell you how much faster it would be.

How to enable it for Magento
“One of the drawbacks of Magento is currently its speed if default configuration is used. There are certain ways of making it run faster. The best one is to enable GZip compression by changing .htaccess file a little. You just need to uncomment part of the code. In my case, the speed increase was exactly 235%. Continue reading…