Ubercart uses attributes for specifying variations for a product. Attributes can specify color or size of a article of clothing or they can specify different sizes of a product, each with their own price and SKU.
Often the possible selection of choices for one attribute may depend on the choice of another attribute. For example, the available color of a shirt may depend on the size selected. The uc_dropdown_attributes module allows an attribute to be displayed depending upon the choice selected for another attribute. So the medium colors attribute will be displayed when the medium size is chosen. If the small size is chosen then the small colors attribute will be displayed. Each colors attribute contains only the colors that are available in that size.
The uc_dropdown_attributes module presents an administrative interface for defining the relationships between attributes. Attributes can be defined to be displayed only when specific values are selected for another attribute.
Attribute dependencies can be defined for product classes (currently only for Drupal 7) or for individual products. Definitions of dependencies for individual products takes precedence over those defined for a product class.
Select boxes, radio buttons and checkboxes are supported. Text fields are also partially supported as dependent attributes.
- Originally Sponsored by Sage Tree Solutions.
- Contribution for radios, checkboxes and text fields by DSP Design Works.