Importance of planning – Attribute Sets
5 Comments 30th NOV 2009 | Posted by Tomislav Bilic in Magento

We all love fast development. Clients want to have the team who will be able to finalize their online store as soon as possible. They define the design, add a few test products, set up transaction emails and are anxious to see their online store online. In some cases, one week before the launch, client starts to input the products. If he is unfamiliar with Magento, there is a high chance he will focus on “Add Product” button first. Woah… We missed one step before this: Attributes and Attribute sets.
As defined on Magento site, an attribute set is a collection of attributes. Let’s imagine we are selling a shirt. In addition to the default Magento attributes, you want to show your customers some extra information in the front-end:
- Color
- Shirt Size
- Manufacturer (Brand)
- Material (ex. Cotton, wool, …)
Attribute set is nothing more than product type in your online store. Shirts will have different attributes than watches or sunglasses. So, before you stat inserting the products directly under “Default” attribute set where you will put them all in the same group, try to think about what attribute sets will you have. Assign relevant attributes to the relevant attribute sets and only than start adding products.
Do not do this too fast because you might end doing something that is not logical. One of the common example is the “Size” attribute. When a merchant sells Shoes and Shirts, he usually uses the same attribute “Size” there. However, it would be much better to separate those and have “Shoe Size” and “Shirt Size” attribute since those have different values. They both can be labeled the same, but we must be sure they will be separate entities in the database.
To summarize the point: Do not start adding products before you created the attribute sets you will use. If you are interested how to create attribute sets, check Magento’s knowledge base.
To post code in comments, place your code inside [code] and [/code] tags.


















December 3rd, 2009 at 15:51
Thanks for your article.
But how add the Shirt Size (XX,XXl, ect) using installer from app/code/local folder(module) ?
December 3rd, 2009 at 16:08
Hey Igor,
I am not sure what exactly are you wishing to do? Can you be more specific? If you refer to attribute creation, adding those and their values should be an easy task to do even manually. I don’t think that you need import script for this. Or you mean something else?
February 17th, 2010 at 11:27
Is it possible to create checkboxes and if they are ticked images will show?
May 29th, 2010 at 7:07
I need help with Managing Attribute and Managing Attribute Set—
My doubt is that if i have 2 or more products where there is a common attribute, then magento doesnt allow the common attribute to be used.
Eg: now Shirt and Pant have different tables but the color column can be same like ‘Black, White’
also i am trying to this with configurable product
The error is ‘Value must be unique’
Advice needed ASAP
June 23rd, 2010 at 9:01
i created Attributes and Attribute sets . but product attribute not displaying on product page .
someone has an idea ?