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 »
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 »
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 »
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 »
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 »
The advantages of using Google Event Tracking are widely documented. Usually, you add even tracking via onclick events, such as:
|
1 2 |
<a href="http://www.facebook.com/" onclick="_gaq.push(['_trackEvent', 'External', 'Click', 'facebook.com']);">Facebook.com</a> <a href="http://www.google.co.uk/" onclick="_gaq.push(['_trackEvent', 'External', 'Click', 'google.co.uk']);">Google.co.uk</a> |
If you want to quickly update a set of Read More »
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 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 »
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 is straight forward, however, the internationalisation feature of both systems gets in the way. An example
|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
// File 1 - include_1.php function foo($a) { return $a*2; } // File 2 - include_2.php function foo($b) { return $b+9; } // File 3 - index.php include "include_1.php"; include "include_2.php"; |
File 3 would throw: Fatal error: Read More »
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 »
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 »
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 »