how to create a color swatcher in Magento

Posted on February 2nd, 2015 | Posted by admin

Here is a step by step tutorial that will guide you on how to create a color swatcher for magento. This tutorial is all about by hook by crook ;) . My attempt is just to make sure that i have color swatcher in place of drop down on product detail page. When you finished steps by steps process, you should have a running color swatcher on your magento store. If you know magento little bit this blog will help you on how to customise. Its relatively easy, free and you don’t need to purchase some of those expensive commercial magento color swatcher extensions.

Note: In step 4 you may find some syntax error, please fix them, editor limitation.

Quick 5 steps to create color swatch in magento

Step 1: We have two choice either create new attribute for color or use default color attribute provide by magento. If you going for default color attribute then you may skip step 1. If you wish to create new color attribute you can refer the default attribute settings just make sure it has unique “attribute_code”


Posted on January 30th, 2015 | Posted by admin

The Entity, Attribute and Value (EAV) database architecture is at first, extremely difficult to grasp. Combine this with the lack of documentation on EAV and you find that most people don’t truly appreciate just how good EAV is and more importantly, how well suited it is to Magento. In this article I will attempt to shed some light on EAV in the hopes of helping you understand how it works, why it works and how this knowledge can benefit you as a Magento developer. To better understand this article, I recommend opening up a development Magento database using a tool such as phpMyAdmin.

What is EAV?

EAV stands for Entity, Attribute and Value. Let’s look at each part of that and try to understand them a little better.


The entity represents Magento data items such as products, categories, customers and orders. Each entity (product, category etc) will have it’s own entity record in the database.

How to Add Products in Magento

Posted on January 29th, 2015 | Posted by admin

You can add products from the Magento Admin area -> Catalog -> Manage Products -> Add Product (located at the top right of the page).

How to Add Products in MagentoYou need to select the product’s settings (Attribute Set and Product Type) and click Continue.

How To Create An Admin-Manageable Magento Entity For Brands

Posted on January 26th, 2015 | Posted by admin

In this tutorial, we will create a new “brand” entity in Magento that can be managed through the admin panel. Once we are finished, you will be able to create, update and delete brands that can be viewed in the front-end independently, much in the same way that you can interact with existing entities such as “products” and “categories.”

In addition, we will associate our new brand entity with other Magento entities, such as products. The process itself is quite lengthy because I will explain each step in detail, but it really is easy once you know how, and it’s a great example of how powerful the Magento platform can be with minimal effort.

We will cover the following topics:

Common Issues / Mistake / Practices in Magento Production Development

Posted on January 21st, 2015 | Posted by admin

Development mistakes

1. HTTP/HTTPS, be carefully when you are developing an extension related to secured section. Always check secure mode and generate correct URL

2. Don’t copy/paste standard XML file from Internet, you will meet a number of random issues. For example, if your module don’t need admin router then don’t leave an admin router there, it will lead to some random issue for example auto redirect HTTP to HTTPS on your module.

3. Never get data from _GET or _POST, always get data from magento input data. If you don’t follow this rule, you will make ricks for the client site who using your extensions.

Page 2 of 95«12345»102030...Last »