·

Magento

It’s one of the most used e-commerce solutions out there today. Here’s my 2 cents about it.

How to programmatically create URL Rewrites in Magento Community

I already covered this topic before for Magento Enterprise, but of course: there are cases you need to import 301 redirects into Magento Community at some point. Here’s how to do this:read further ...

How to use datalayer variables in Google Tag Manager

So today I was asked the question to add the transaction ID and order amount of a Magento order to some specific tracking pixel on the checkout page of Magento. However, the client already was using Google Tag Manager to put this pixel on the checkout page, and I already had a dataLayer present in Magento. read further ...

Fixing Magento’s slow backend when using AheadWorks plugins

First of: this isn’t a rant for AheadWorks: they offer great plugins which save us lots and lots of time. However: there is something to mention here. When I was using the Blog and the Advanced Reports modules, I noticed a serious drop in performance in the backend. All of a sudden it took 10 read further ...

The most basic way to programatically send e-mails in Magento

Looking for the most basic way to programatically send e-mails in Magento? Here’s how: That’s it! This little snippet does the trick. Or are you looking for a more advanced example including e-mail templates and such?read further ...

How to keep your Magento themes organized

When is the last time you heard someone say: “Geez! Magento templates are really the bomb!”? If you’re still letting that question sink in, don’t worry, you’re not the only one. Magento templates are known for their overwhelming complexity and ugliness. Once you get the grasp of how the templating system with the local.xml  and the many, read further ...

How to get Turpentine right for Magento

If you got a Magento shop and you’ve boosted the performance of it by using Turpentine (the Varnish plugin for Magento) you’ve already experienced the massive speed and power it provides. However… If you’re Turpentine configuration in your local.xml  file is misconfigured, chances are that under heavy load, with many concurrent visitors, you’re Magento site may read further ...

How to setup the profiler in Magento

Magento comes with a small built-in profiling tool. Although it’s not much, it could aid you when you’re trying to find the bottlenecks in your code. To enable the profiler, navigate to the system configuration > advanced > developer, and set ‘Profiler’ to ‘Yes’ in the debug section: The second thing you need to do, read further ...

Unit testing frontend events in Magento

When you are creating unit tests for Magento and you want to test the events you’re dispatching you can use the following code to manually trigger your events: However, you’ll find that when you’re running this test, your event doesn’t get fired at all! That’s because this particular event (and many others) are fired read further ...

How to programmatically create URL Rewrites in Magento Enterprise

So today I had to import a bunch of 301 redirects in Magento Enterprise. Needless to say, I’m saving this one for myself, but also for you: my fellow readers…read further ...

1 2 3 4 6