Create a Color Switcher in Magento

Magento comes packed with a lot of options. But, no matter how many options you put into some product, you can never cover all of them. One of such options (for now) is a color switcher in Magento. To be more precise, an image switcher based on color selection.

The idea is to have a dropdown box from which you choose a color, and, based on the color you selected, product image changes. This should be based on some simple JavaScript (in my case, jQuery).

Read more

Free Magento Extension for Open Web Analytics

Few days ago I wrote a little extension called Inchoo_Owa. Open Web Analytics (OWA) is open source web analytics software that you can use to track and analyze how people use your websites and applications. OWA is licensed under GPL and provides website owners and developers with easy ways to add web analytics to their sites using simple Javascript, PHP, or REST based APIs (official definition from http://www.openwebanalytics.com).

Read more

Free Magento extension for Piwik Analytics

Few days ago I wrote a little extension called Inchoo_Piwik. Piwik is a free downloadable open source web analytics software. Piwik provides you with detailed reports on your website visitors; the search engines and keywords they used, the language they speak, your popular pages, and much more (official definition from http://piwik.org/). Inchoo_Piwik simply connects your Magento to Piwik installation whose parameters you assign trough extension configuration screen.

Read more

Magento automatic gender recognition plugin

Today we’re going to create an extension for automatic gender recognition for customers. Extension is based on Rapleaf personalization API. Rapleaf provides demographic and lifestyle data (age, gender, marital status, income, etc.) on personal consumer email addresses (but not for business emails). They partner with dozens of large (and small) data companies to aggregate data and tie it to email addresses.

Read more

How to setup GIT for Magento extension development

The idea behind this article is to show how we can use GIT for Magento extension development. What we want to achieve is a git repository that contains only the files specific to our extension, and not the entire Magento. This kind of repository can then easily be pushed to GitHub or other remote public repository so that entire community benefits from your work.

Read more

Super easy universal Magento cache extension

© GODprod@sxc.hu

Update: I added some cool new features like admin grid and cron job for deleting expired cache data. All the new features are labeled as “NEW!” in this post.

Inchoo Unicache is an extremely simple and useful little extension that you can use to cache any kind of text/string based data in Magento. It uses helpers to make it accessible anywhere: from template files to your own custom code.

Read more

Magento: Module testing and integration methodology

© jcam@sxc.hu

At the moment, Magento has dozens of module vendors with hundreds of different modules. Each of the vendors have their own methodology and coding standards that often clashes with another module from some other vendor. In order to have a stable environment, there are some steps that you could take before transferring your freshly obtained third party module to the production server.

Read more

Extension license for local project. Yes, no?

If you’re working for a client for a while there is a high probability that you got request to implement some commercial extension. Or perhaps you’re store owner and you bought specific extension but you now want to test it firstly locally, before you deploy it on your live site.

In this short post I’ll give you an idea of what you can do to “make it work” locally in case when you have valid license for the extension and extension doesn’t work on your local project. If you’re interested on what you can do in situation like this one, keep reading.

Read more

Inchoo Flickr Gallery Magento Extension

© By Wholtone (Own work) [CC-BY-3.0], via Wikimedia Commons

Inchoo Flick Gallery is an easy-to-use Magento extension that will integrate any Flickr gallery into your Magento website. It is fully customizable using a simple Magento back-end configuration page and it uses Flickr API to get all the required information and data. Extension is tested on Magento 1.6 and 1.7 but it’s still the first version so be careful if you decide to use it on your live site.

Read more

Extending Magento web services API v2

In some of previous posts on inchoo.net, colleague of mine – Branko Ajzele wrote about extending Magento API – v1.

Let say that mine extension is called: Inchoo Mapy and I will extend the customer API V2 first.

Although Magento has pretty rich set of API calls, in my project I found that some of the API calls should be extended to fit our project needs. In later posts I will write about that specific needs and possibilities, but now let’s concentrate to extending core API V2 first.

Read more

Geocoding Customer Addresses in Magento via Google Maps

Geocoding is the process of finding associated geographic coordinates (often expressed as latitude and longitude) from other geographic data, such as street addresses, or zip codes (postal codes)… so says Wikipedia. Geocoding an address is pretty simple if you are using Google Maps API. Since all we do here is Magento, let me show you how easily you can geocode customer address.

Read more