If you want to show only the state abbreviation (code) in the “State” drop-down in the Magento checkout (e.g. “NY” instead of “New York”) then follow these simple steps:
Here’s a documented list of useful Git tricks and aliases from my development box – hope someone finds it useful! For more information on Git Aliases and other examples please visit this page and this other one. If you’re looking for good summary and history aliases you’ll find some useful ones here.
Its been a great year: got happily married, bought a house, grew my company (Strategery), got better at speaking Dutch… Since this is probably my last post this year, I’d like to simply share some of the tools and libraries I’ve been using while working at Strategery. These tools and services have helped make my… Continue reading
Today I stumbled upon a jQuery-UI plugin that adds support for touch events to all your jQuery-UI widgets – out of the box! It’s so easy to install that it will give you the this-is-a-miracle feeling when you test it on a touch screen. It’s called jQuery-UI Touch Punch and was developed by David Furfero…. Continue reading
Today I tried to find the ssh-copy-id program for MinGW shells but I couldn’t find it anywhere. So I decided to write a shell script to imitate it and of course try to learn some basic shell scripting. To be honest this is one of my first takes at shell scripting. But the resulting script works and… Continue reading
I believe these are highly simple yet really useful tips for any Unix sysadmin/webmaster. I don’t have to export, transfer and import large MySQL databases very often so today I decided to add these one-liner commands to my blog so I know where to find them next time. Hope its useful for someone else too!… Continue reading
I recently faced the challenge of listing all parent IDs for a given Magento product. The solution – while definitely not overly complicated – wasn’t as straightforward as I first thought, and documentation in the matter is surprisingly scarce. So here’s how to get the parent IDs for a given product.
Over the weekend I decided to do some experimenting with CSS 3 fonts, shadows and transitions. I decided to use Adobe Kuler’s API to power my little PHP experiment. Adobe Kuler is a fantastic online color-picker, and more. You can create color themes based on an image, a color, engage with their community and interact… Continue reading
Serving dynamic content can be very useful, regardless of programming language or platform. In my personal experience the technique becomes particularly handy when I need to supply certain configurable information to a script. The following example shows how to achieve that in Magento. Its a common practice between Magento extension developers, especially for those extensions… Continue reading
Here’s a bit of code I used while developing a custom module for a client’s shop. The module allows a Flash application to launch popups of any given product. There was a module the client definitely wanted to keep but that was interfering with my ability to close the popup when the client clicked the… Continue reading