How to include composer libraries within Magento

Recently I’ve been playing around with Elasticsearch and I had the need to use their PHP library with Magento. As this library wasn’t conforming to the […]

How to show the full URL in OS X Yosemite 10.10

If you’re wanting to see the full URL in the address bar in the newest version of Safari you currently have to click into the field. […]

Get total purchases of a product in Magento

There is always a need to understand which products are selling best within Magento. Yet there seems to be little information to retrieve the total quantity […]

Get Magento custom shipping price including country specific tax rules/percent

Whilst building some functionality for my pre-order system which separates out order items into individual orders with separate shipping methods I came across the need to […]

Fix layout.xml caching causing blocks to render other blocks in Magento

If you’re building a system which uses Ajax and makes numerous calls to $this->getLayout()->getUpdate()->load() (which enables you to load sections of the layout.xml file) and render […]

Add a new column to a table with Magento installation/upgrade script

When building a module you should always utilise the installation and upgrade scripts so that any database additions or changes are automatically modified on module installation. […]