Your shopping cart is empty. Browse our Store

Magento

Open Source eCommerce Evolved

How do I create an Attribute Set?

What’s an attribute set?

An attribute set is a collection of attributes.  This is definitely easiest to describe with an example.  Let’s say one of your categories is “LCD Displays”.  In addition to the default Magento attributes, you want to show your customers some extra information in the front-end:


  • Screen Size
  • Brightness
  • Maximum Resolution

You went through the process of creating each of these attributes in the “Attributes Manager”.  If you didn’t, read the tutorial on creating attributes. Now you’re ready to create some LCD Display products.  It would certainly be annoying to have to associate each of these attributes separately to each LCD Display product.  No worries - you don’t have to.

Creating an attribute set

To create an attribute set:

  1. Navigate in the admin to Catalog -> Manage Attribute Sets.
  2. Press “Add New Set” in the top right
  3. The next page let’s you name the set, and base it on another attribute set. A good name might be “LCD Displays”.
  4. Based On: You can select another attribute set as the starting point for the set you’re about to create.  It will take all the attributes from the ‘based on’ set and let you modify this set to create the new one. Select the ‘default’ set for now, and press “Continue.”
  5. The next page is where you actually assign attributes to this set.  The column on the right contains all unassigned attributes - you should see the LCD Display attributes from above in this list.  Press “Add New” on the middle column to create a new “group” within this attribute set.  Groups determine certain display options/sort order in the front-end, and correspond to certain tabs in the product page in the admin.  In this case, naming your group something like “LCD Displays” would make sense. Click the image below for more detail:

  6. image
  7. Your group now appears under “general” in the center column.  Now, drag the LCD attributes from the “Unassigned attributes” column into this group.Click the image below for more detail.
  8. To remove attributes from the center column, simply drag them back to the Unassigned Attributes list to the right. You will not be able to remove System Attributes, marked with a red circle on the icon, but you can remove all other Simple Attributes.
    image

You’re done!  Press “Save Attribute Set”.

Note: At this time you cannot change a product’s attribute set after the product has been created.  You can however add or remove attributes from a product set while it’s being used by products.  Do so at your own risk - if you need to remove an attribute, it might be wiser to set it to “Display: No” in the attribute manager.  This way the data is not lost, but the attribute will not display to your customers.

Using Attribute Sets

Now you’re ready to create some LCD Display products!  It’s easy as pie:


  1. Go to Catalog -> Manage Products
  2. Press “Add Product
  3. Under “Attribute Set,” select the “LCD Displays” set you just created.

  4. image
  5. Since you created a group called “LCD Displays”, you now have a tab called “LCD Displays” in the Product editor page.  Under this tab, the three attributes you added to the group are ready for data entry.  Click the image below for more detail:

  6. image
  7. Save the product!

There you have it!  Now to create additional LCD display products, simply follow steps 1-5 above to your hearts content - enjoy!

RSS comments feed for this entry

User Comments

|6 comments
  1. Is that you evil one?

    1Is that you evil one? |posted October 8 2007

    This is all fine and dandy, but how do you delete attributes from the attribute set?  What if I don’t want tier_price it won’t let me delete it?

  2. Garrone

    2Garrone from Lauria|posted November 16 2007

    Is it possible to change attribute set of a product already created?

  3. johannes

    3johannes |posted November 16 2007

    It’s not possible to change the attribute set assigned to a product after the product has been created.  However, it is possible to edit the attribute set - if you don’t want “tier_price” you can remove it by editing the set and dragging the attribute from the groups list back into “unassigned attributes.” The only attributes that you can’t remove from an attribute set are system attributes (because, well, the system needs them to function wink ).

  4. phrench

    4phrench |posted January 15 2008

    Are you planning to make attributes and attribute sets importable and exportable?
    In my eyes that’s a fundamental feature for the import/export module. Just like import and export of images is a show stopper…
    Thanks

  5. johannes

    5johannes |posted January 15 2008

    @ phrench:  We are considering this feature and it’s possible it will make it into the first stable release.

  6. phrench

    6phrench |posted January 15 2008

    @johannes: that would be great grin thanks for the quick response!

  • Comments in this section are now closed, please check out the forum for discussions about this topic.

Explore the Knowledge Base

Professional Services from the Magento Team

Professional Installation from the Magento Team

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs
Sales: Call 877.832.5289 (North America) 310.295.4144 (International) to request a call-back.
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien    Privacy Policy|Terms of Service