jreinke / magento-improve-api

Magento extension to improve some missing features of API.
92 stars 76 forks source link

allow specifying the set of attributes that should be used to configure the configurable product #3

Closed glyphobet closed 11 years ago

glyphobet commented 11 years ago

We ran into a problem where a customer had an attribute set with three optional, configurable attributes. They wanted products in this attribute set to sometimes use just one or two of those configurable attributes to configure their configurable products, while leaving the others out. This plugin as written assumed that all configurable attributes in the set would always be used to configure the configurable product. This change adds an optional configurable_attributes element to the request, that can contain a list of attributes, by ID, that should be used to configure the configurable product.

jreinke commented 11 years ago

Great job thank you!

glyphobet commented 11 years ago

No problem, thanks for the plugin! You should probably close the other two pull requests because they fix the same issue, and in fact part of this fix is based on some of @jdurand's code.