Your shopping cart is empty. Browse our Store

Magento

Open Source eCommerce Evolved

Tutorial: Creating a Configurable Product

There are three kinds of products in Magento: Simple, Grouped, and Configurable.  If you want to make a simple product, they are covered in detail in the “Creating products” tutorial.

Advanced Products

Advanced products in Magento are a way to consolidate product variants onto a single product info page in the front-end.  The variants themselves have their own SKUs and stock management.  This is very powerful - it allows you to let customers search for the individual variants, but browse only to the consolidated product pages.  (If that’s the implementation you want - you could also let customers browse the individual SKUs.)

Configurable Products let your customers select the variant they desire by choosing options.  For example, you sell t-shirts in two colors and three sizes.  You’d create the six variants as invidivual products (with their own skus) and then add these six to a configurable product from where customers can choose size and color, then add to cart.  If desired you could also have customers search for “red medium t-shirt” and land on the specific page for this variant.

Creating a Configurable Product

There are a few steps involved:

  1. Create the attributes that will be configurable by the user - for our example they will be Size and Color
  2. Create the attribute set that will be assigned to the variant products - for our example, we’ll call it “T-shirt”
  3. Create the invidivual variant products
  4. Create the configurable product, and add the “T-shirt” attribute set
  5. Add the individual variants to this configurable product

Creating Attributes

Below are screenshots of how the configurable attribute “Size” is set up.

Attribute Properties

image
Notice the “Catalog Input Type” is set to dropdown - this is required for the attribute to be compatible with configurable products.  The Scope is also set to Global. When both of these settings are cconfigured in this manner, the Use To Create Configurable Product dropdown will appear. This must be set to Yes. Required is also set to “Yes”.  In order for a Simple Product to be associated to a Configurable Product, it must have a value for all configurable attributes, so making it required ensures that you will remember to add a value for this attribute for all Simple Products.

Labels/Options

image
Note how the size options and their sort order have been entered above.

The attribute “Color” will be set up exactly the same, with only the Labels/Options page changed.  It will look as follows with these 4 colors:
image

Creating the attribute set

Now we’re ready to create an attribute set called “T-shirt” to start using for this product.  Go to “Catalog -> Attributes -> Manage Attribute Sets” and press “Add New Set”.

In our example, the name is “T-shirt” and we’re basing it on the default set:
image

Continue to the next page.  Drag the two attributes into a new group which I called “Selectable Options”:
image

If any of that’s confusing, be sure to read the section called ”How do I create an attribute set?”.

Creating the simple products

Now that we created the attribute set, we’re ready to start entering the data for the simple products that will be part of the configurable product.

  1. Navigate to “Catalog -> Manage Products”.  Press “New Product”
  2. Create a Simple Product based on the “T-shirt” attribute set

  3. image
  4. Fill in all the required information, and make sure to fill in options for the “Selectable Options” tab, as shown below:

  5. image
  6. After you’re done, press “Save Product”

Now, repeat these steps for every combination of options your super product will contain. Since this example had 3 sizes and 4 colors, you would create the 12 options individually. You can create duplicates of the first product you create to vastly speed up this process.
You should have a product list similar to this one when you’re done (of course, titles and SKUs can be whatever you choose, this example just uses the attributes in the title and sku):
image

After you’re done, you’re ready for the next and final step!

Creating the Configurable Product

  1. After making all the variants, navigate to “Catalog -> Manage Products”
  2. Press “New Product
  3. Select ‘Configurable’ based on the T-shirt attribute set

  4. image
  5. The next screen lets you pick which attributes you want to associate.  It picks attributes from the set that are Input Type: Dropdown, Scope: Global, and Use To Create Configurable Product: Yes

  6. image
  7. Select both “Size” and “Color” and press “Continue”
  8. The next page is the regular create product page, with the addition of the “Associated Products” tab at the bottom. The general tab used for the sample product looks like this:

  9. image
  10. Finally, let’s take a look at the “Associated Products” tab:  If you push “Reset Filter”, you’ll see all products associated to the T-shirt Attribute Set that have options for the Size and Color attributes.  If you check one (or all) you’ll see the “Associated Products Attributes Configuration” above the list.  This is where you decide the sort order of the selectable attributes (click and drag an attribute to change) and also any price adjustments that selecting a specific attribute will have on the configurable product.  For example:  If you wanted the Magento shirt to be $5.00 more, you just have to enter “5” in the text field.  Price adjustments can be either percentage based or a fixed amount.  For our example, the Large size is 10% more, and the Magento shirt is $5.00 more.

  11. image

    In the above image you’ll notice an option called Attribute Name.  This is the text that will display in the front-end for this product.  In the example, “Select Color” and “Select Size” are the desired text for the front-end.

    Above this, you will see a button called Create Empty. This allows you to create a Simple Product in a pop-up window that will automatically be associated to this Configurable Product. It is very useful if you have forgotten to create all of your Simple Products prior to beginning the Configurable Product creation phase.

    When you’re done with all this, associate the product with a store and front-end category, and you’ll be able to find it in the front-end.  You’re done!

    Front-end

    Here’s a section from the front-end for this configurable product, done and ready to use:
    image

RSS comments feed for this entry

User Comments

|16 comments
  1. crackers

    1crackers |posted September 27 2007

    Having problems with this.

    I get the products i have created showing up in the store, even though i created the configurable product, which as the size options.

    Also, every time i create the product and press duplicate, it doesnt work. It makes a copy, but the copy doesnt show up.

  2. Dan Orsborne

    2Dan Orsborne |posted October 5 2007

    Ok, heres a few things I have noticed that might help you on this one.
    You need to check the Visability option on the simple products that you create, it should be Catalog, Search for each one.
    You also need to check the enabled flag when you duplicate a product as it turns the new version off. Also check the cateogry info too.

  3. btshaffer

    3btshaffer |posted November 9 2007

    I have tried this three times and can’t figure out the problem.  When I look at the product it only shows the first sizing option.

    I’ve double checked all the Visibility options, the Enabled/Disabled options, I even checked to make sure the files that dealt with this were uploaded properly.  I am at a complete loss.

    Help!

  4. Michael

    4Michael |posted November 9 2007

    @btshaffer Could you post somewhere in forum the screenshots of this attribute’s properties ? I mean smth like http://www.magentocommerce.com/images/uploads/super_att_props.gif. It would be also great to see the product attribute set you’ve added this attribute to.

  5. btshaffer

    5btshaffer |posted November 9 2007

    I included screenshots of all different parts of the process.  Everything seems to be configured properly, I don’t understand.

    http://universalknight.com/screenshot.gif

  6. Karl

    6Karl |posted November 13 2007

    I have an other question. How do i build a configurable product with a variant parts list?
    I have different parts with different attributes (size, material, color). Each of them
    is necessary for a customized product and the customer should’nt see the
    detailed prices.
    Example:
    part 1: size=5, mat=wood(acryl, alu etc.), color=black(green, blue etc.)
    part 2: size=4, mat....
    ...
    Is it possible. If yes, i’ll try out.

    regards
    Karl

  7. YoavKutner

    7YoavKutner |posted November 14 2007

    @Karl - The idea is that if the combination map to an existing SKU/Product then you can use the configurable product. If each of the options are individual SKUs that are bundled together (like in a custom build to order) then Magento’s bundle functionality is the right way to go. The bundle functionality should be available in future releases.

  8. mrbrett

    8mrbrett |posted November 18 2007

    I’m having the same problem and BT.  At first i was trying to do shirt sizes but only the medium and large would show up.. Then I deleted all that and tried to do it with denim sizes.. 28-36. I made three products, but only one (size 28) shows up..

    whats the deal? Also does it matter is the configurable product is made before or after the simple products it includes? I mean what if i have 3 sizes currently but i order a fourth size in the near future.. when that affives can i just add it into the configurable product i already made??

  9. mrbrett

    9mrbrett |posted November 18 2007

    BT - I think i found out the problem of why our products are NOT showing up.. I was creating one product and duplicating out the rest.. but the duplicates never showed up..

    so now i just made all new products from scratch and it seems to be working.. so, long story short, using duplicate on simple products will not make them available for the configurable product :(

  10. YoavKutner

    10YoavKutner |posted November 18 2007

    @mrbrett - when an Item is duplicated by default it is disabled. So I think you can use this feature and just make sure t enable the products after duplicating in the wanted stores.

    Thanks

    yoav

  11. mrbrett

    11mrbrett |posted November 20 2007

    yeah i was doing that.. it drove me crazy for about 2 hours… but when i duplicate it won’t show up in the complex category… i tried sending in a notice for a bug, but the bug system wasn’t working yesterday either.. I’ll try duplicating some products again.. but i’m not going to hold my breath..

    i’ll let you know what happens regardless.

  12. paulmorrison

    12paulmorrison |posted November 22 2007

    Also make sure you add the Simple/Nowhere product to the appropriate stores

  13. mrbrett

    13mrbrett |posted November 23 2007

    Does it matter what categories you have the simple items listed as when you configure a complex product?

    Like.. Why do i need to specify what places the small medium and large are found in if only the complex product shows up?

    Also.. do i need to upload all the images for each product or are only some more important that others?

  14. javan

    14javan |posted November 29 2007

    I have the same issue getting attribute options to show up in the front end of the store. I tried both duplicating products and starting from scratch. Neither seemed to work. I looked around and found another post on this topic saying its a known issue that will be fixed in a future release of the product.....

    http://www.magentocommerce.com/boards/viewthread/1720/

  15. talkaboutdesign

    15talkaboutdesign |posted January 11 2008

    How do I replace the main image for the product when user selects one of the attributes that has an image with it. Lets say I have a shirt and have that shirt in 5 colors, what i want to do is make 5 products and set images for each. And then make one configurable product and when a user selects the type of shirt (red, green, red) the picture changes automaticaly to reflect their selection. I think this would be very helpful

  16. johannes

    16johannes |posted January 12 2008

    @talkaboutdesign - we plan to implement this functionality down the road… unless someone in the community beats us to it of course smile

  • 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
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien