magja/magja — Issue #18: 18 - Create configurable products with childs and configurable attributes 
Author: ceefour
Created: 2011-11-02 11:32:51+00:00
State: open

Hi guys!
To create a configurable product with magja, all you have to do is set the
type of that product as configurable before save, like follow:

product.setType(ProductTypeEnum.CONFIGURABLE.getProductType());

The problem is, we don't know how to set the configurable attributes for
that product and how to associate other child simple products with variants
of that attributes... Maybe have we extends the product api to be able to
do that?

Some threads about that issue:
http://www.magentocommerce.com/boards/viewthread/15795/P0/
http://www.magentocommerce.com/boards/viewthread/6941/P45/#t58195

Follow a way to put configurable programmatically:
http://snippi.net/magento-programmatically-add-configurable-product-color-api

Any ideas?

Original link: http://code.google.com/p/magja/issues/detail?id=18