Magento: Removing links in the navigation block by name or by label

Posted by Stuart Forster on 11th May 2012

Sometimes in Magento you may want to remove links from the customer navigation block. What you'll notice is it's actually quite hard to do so because there is no 'remove' method.

In this tutorial I will show you had to extend Mage_Customer_Block_Account_Navigation to include an extra two methods, one to remove links by name and the other by label.

Read more... [1 Comment(s)]

Extending the Magento API

Posted by Stuart Forster on 27th April 2012

Magento: Extending the API

As UK Magento Developers we often find the need to extend the Magento API. This is actually quite easy to do.

In this article I will show you how to take the sales order API and extend it to automatically capture any payment when an invoice is created through the API.

Read more... [Post Comment]

Howto: Merge Javascript and CSS files in Magento

Posted by Stuart Forster on 13th March 2012
Tagged: magento, js, javascript, merge

During a lot of the Research and Developement I've done on Magento websites, one of the pitfalls I often notice about other peoples magento websites is that they haven't bothered to merge the Javascript and CSS files.

This is a very simple task - and I'll show you how to do it.

Read more... [Post Comment]

Magento: Fixing the black Magento adds to image backgrounds

Posted by Stuart Forster on 13th September 2011
Tagged: magento, PHP, bugs, gd

Here is a quick tip on how to fix the problem where Magento's product/category images have a black background applied to them even though by default a white background should be used.

Read more... [1 Comment(s)]

My favourite Magento extensions

Posted by Stuart Forster on 2nd September 2011
Tagged: magento, extensions

Here is a quick roundup of what I consider to be my favourite Magento extensions.

Read more... [1 Comment(s)]

How to: Creating your own custom block in Magento

Posted by Stuart Forster on 26th August 2011

Blog - Magento Block

This is a quick 6 step tutorial on how to create a custom block in Magento.

Read more... [9 Comment(s)]

eBay aquires Magento

Posted by Stuart Forster on 14th June 2011

Ebay Aquires Magento

In 2010 eBay became the first outside investor in Magento. On June 6th it was confirmed that ebay will now acquire Magento. Ebay have announced a new 'Open Commerce' platform named X.Commerce.

Read more... [1 Comment(s)]

Magento: Creating your own design package with theme variants

Posted by Stuart Forster on 15th April 2011

In this post I'm going to demonstrate:

  • How to setup the filesystem for a new M design package
  • Adding default CSS and images to create a basic design
  • Setting up the configuration to use this package
  • How to correctly modify the layout via XML files
  • Adding two theme variants ('christmas' and 'summer')

Read more... [1 Comment(s)]