Author Archives: Douglas Radburn

Google Rich Snippets / Microformats with Magento

Rich snippets (microdata, microformats, and RDFa) have been around for a while. The few lines of text that appear under every search result in Google are designed to give users Read More »

Configuring Magento with development in mind

Magento is a very powerful system, but sometimes it can be a pain to develop for. You’ll find that sometimes your theme over-rides the default functionality, but sometimes a plugin Read More »

Adding new customers to the Magento store programmatically

From time to time, you might want to add customers to your Magento store via a script, rather than by hand. This can be especially useful if you’re migrating from Read More »

Attribute Mapping for existing products in Magento

Sometimes we need to add new attributes to a Magento store. Sometimes that store is new and hasn’t been populated, sometimes it’s got 20,000 products in it. I recently wrote Read More »

Cleaning up Google Event Tracking with jQuery

The advantages of using Google Event Tracking are widely documented. Usually, you add even tracking via onclick events, such as:

If you want to quickly update a set of Read More »

Getting cart items from Magento

I recently worked on a Magento site that included AJAX basket functionality.  When the site went live, the majority of the products were “simple” and the functionality worked well.  Recently, Read More »

The Magento Registry

The Magento registry allows you to share information anywhere in your Magento application as if they are static function. Magento’s registry acts a lot like Zend’s, and basically allows the Read More »

Attribute Mapping with Google Content in Magento

I’ve worked on a few Magento builds recently where the client has requested Google Merchant Centre integration. We’ve used some third party tools previously to create feed files that we Read More »

Including Magento blocks in a WordPress theme

Including Magento blocks in a WordPress theme is straight forward, however, the internationalisation feature of both systems gets in the way. An example

File 3 would throw: Fatal error: Read More »

Getting Magento to work with BST/GMT

The problem If you run a UK based Magento store you probably already know that the store times are wrong for half of the year as the timezone switches between Read More »

Facebook Canvas Auto Height

I was developing a canvas app on Facebook this week for a client, using the new timeline dimensions (810px wide). Annoyingly, Facebook seemed to ignore the height attribute I specified Read More »

Create a Zip File Using PHP

A few days ago, a client requested a contact form submission to go to an autoimporting email address in a specific format. At first, this wasn’t an issue – a Read More »