Discussions

Hide attribute language field

Hello,

First, big fan of Drupal Commerce!
I ran into a seemingly simple problem but can't find the solution.

I enabled Translation for the Color vocabulary for a multilingual shop.
In the Full node display of a product, the Color terms are nicely rendered as selectors for the product variant. But an additional Language field is now visible with label and value for each Color terms.

Hiding the Language field in the Add to Cart form display mode is not working.

Please help.
Am I on a wrong track with the Display mode?
Or is it something in the Kickstart?

AttachmentSize
Image icon color_attributes.png69.39 KB
Posted: Jan 22, 2013

Comments

etron770 etron770 on July 10, 2014

My fist attempt was to disable this field - it worked and I did not understand the problem of the OP.
but suddenly the field is back again.
first Question: Why is the field by default added in the colour taxonomy.
2 Question why I am not able to delete this field?

etron770 etron770 on July 10, 2014

I tied out to delete and rebuild the colour taxonomy. The language field was added when I selected
"Localize. Terms are common for all languages, but their name and description may be localized."
then I tried to set disable Translation mode no language filed was shown.
and al was working as expected after enabling again the "Localize. Terms are common for all languages, but their name and description may be localized. "

Hopefully it will be stable ...