Hi!
Thanks for working on this, just what I need.
But I can't seem to get it to work...

Followed the instructions and created a taxonomy called color with one term, blue with an imagefield containing a blue image.

Tried adding the term reference field to the product content type as described in the instructions but I get the error messages below and I'm unable to select the "Replace the options displayed by your taxonomy custom fields value".

Any help would be greatly appreciated!

/Ludvig

cc

Notice: Undefined offset: 0 in commerce_taxonomy_field_product_attribute_form_field_ui_field_edit_form_alter() (line 19 of /sites/all/modules/commerce_taxonomy_field_product_attribute/commerce_taxonomy_field_product_attribute.module).
Notice: Undefined index: field_name in _commerce_taxonomy_field_product_attribute_taxonomy_field_options() (line 50 of /sites/all/modules/commerce_taxonomy_field_product_attribute/commerce_taxonomy_field_product_attribute.module).
Notice: Undefined index: label in _commerce_taxonomy_field_product_attribute_taxonomy_field_options() (line 50 of /sites/all/modules/commerce_taxonomy_field_product_attribute/commerce_taxonomy_field_product_attribute.module).
Notice: Undefined index: field_name in _commerce_taxonomy_field_product_attribute_taxonomy_field_options() (line 50 of /sites/all/modules/commerce_taxonomy_field_product_attribute/commerce_taxonomy_field_product_attribute.module).
Notice: Undefined index: field_name in _commerce_taxonomy_field_product_attribute_taxonomy_field_options() (line 50 of /sites/all/modules/commerce_taxonomy_field_product_attribute/commerce_taxonomy_field_product_attribute.module).
Notice: Undefined index: label in _commerce_taxonomy_field_product_attribute_taxonomy_field_options() (line 50 of /sites/all/modules/commerce_taxonomy_field_product_attribute/commerce_taxonomy_field_product_attribute.module).
Notice: Undefined index: field_name in _commerce_taxonomy_field_product_attribute_taxonomy_field_options() (line 50 of /sites/all/modules/commerce_taxonomy_field_product_attribute/commerce_taxonomy_field_product_attribute.module).

Comments

liupascal’s picture

The "Replace the options displayed by your taxonomy custom fields value" option is populated with the extra fields of the taxonomy vocabulary to which your field is pointing to - make sure you selected the right one.

Also, please make sure you have the latest dev version as I added some checking to avoir having this type of warning.

ludde_t’s picture

Thanks but still no luck..

Using the latest dev and I've selected the correct taxonomy.. All other modules up-to-date.


liupascal’s picture

Your field is attached to the product display, while it should be attached to the product *entity*

ludde_t’s picture

Status: Active » Closed (works as designed)

Thanks for you help, I've just misunderstood the fact the color reference field replaces my previous color field. I understood it as the two should be linked together somehow.

After adding the color reference field to the product *type*, deleting the old color field and adding making a new color selection to my product the field showed up as designated.

Thanks again.