Category Archives: Magento

Magento: Event Observer Scope

I learned a valuable lesson this weekend (the hard way of course) when it comes to event observers in Magento. You’ve got 3 different places to setup your event observers in your config.xml file of your modules. They are as … Continue reading

Posted in Magento | Leave a comment

Magento: Adminhtml Theme Setting Change In 1.4.1

I’ve been working on a new module today, and I needed to modify a couple different adminhtml templates. So, I did what I usually do and put the following code in my config.xml: <config> … <stores> <admin> <design> <package> <name>default</name> … Continue reading

Posted in Magento | Leave a comment

Magento: Enable Editing Order With Configurable, Grouped, and Bundled Products?

I was working with a friend yesterday who was working on a website that used a lot of grouped products, but also had the need to be able to edit orders in Magento. The bummer thing about Magento and editing … Continue reading

Posted in Magento | Leave a comment

Magento: Learn By Magento’s Own Examples

I can’t say it enough: If you are working on Magento programming, you have a gold mine right in front of your face. The best way to create new functionality for Magento is to create a module. But that begs … Continue reading

Posted in Magento | 3 Comments

Magento: Running on Nginx

Typically, on both my local development environment, and on the servers I deploy most Magento sites on, I am running on the Apache web server. We recently decided to try installing Nginx on a server to see how well it … Continue reading

Posted in Magento, Nginx | 1 Comment

Git: Removing All .svn Files

I am just starting to get into git, so I’m still quite new with it. It definitely seems like it will end up being worth switching from svn to git. I just started up a new Magento project, and the … Continue reading

Posted in Git, Magento | 2 Comments

Magento Install: Mysql Error – SQLSTATE[HY000] [2002] No such file or directory

I recently changed up the configuration of my Mac (running 10.6.4) and I was installing a fresh copy of Magento (1.4.1.1) when I ran into the following error when I got to the database credentials: SQLSTATE[HY000] [2002] No such file … Continue reading

Posted in Magento, MySQL, PHP | Leave a comment

Magento: Add Encryption Type When Uploading Files in Admin

I am in the process of building a module with a custom interface for some custom data. One thing that it has to do is have the ability to upload an image for each record, very similar to uploading an … Continue reading

Posted in Magento | 1 Comment

Magento: Adminhtml Template Fallback Bug

I discovered an interesting bug with the adminhtml templates today. When we deployed a site to the server, while trying to not deploy the media/ directory, we also left out the app/design/adminhtml/default/default/template/media/ directory. First sign that something was wrong was … Continue reading

Posted in Magento | Leave a comment

Magento Development: How to Best Use Google

I had a friend ask me today how to charge tax on shipping in Magento based on different rules than the rules they setup for their taxable goods. I actually wasn’t sure as I haven’t yet had a client that … Continue reading

Posted in Google, Magento | 1 Comment