Or at least, hasn’t been there yet. Recently I had to do one too many cart tests, and one of most annoying things was when I had to empty it, As anyone – I had to click it one by one. Today I’m going to explain how can you avoid this by simply creating one simple extension, and enabling “Empty cart” link functionality.
It really isn’t that hard. All you have to do is create yourselves a small extension that consists of Block, Controller, XML, Model and Template with very little logic inside.
So let’s start with XML (config.xml):