Ubercart Field attributes

Contrib type: 
Complete and working
Awaiting moderation


Ubercart 3.x

This module links Ubercart's attribute system to Drupal core's fields API and allows to automatically create product attributes from fields and options from the multi-values.

There's an earlier project uc_attribute_cck that does something similar for Drupal 6, CCK and Ubercart.

In the product class settings there's a new tab called "field attributes" that lists all existing fields of a product class. By selecting a field here it becomes available as an attribute (generator) and multi-value options are copied to ubercart product options when new products of this class are created and get synchronised when their multi-values are changed.

For example, a date field can be used to automatically create options for each date of a product node.

Note that this is very untested and surely not fool-proof at the moment.