Commerce Extended Attributes

Component ID

2918994

Component name

Commerce Extended Attributes

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

31

Component created

Component changed

Component body

This module helps to administer Drupal Commerce 8.x-2.x product attributes. You may need it if the set up on your Drupal Commerce site imply creation a great number of attributes.

After installing the module an attribute ID, customer facing Label and the attribute Values list are shown in the attributes overview table (admin/commerce/product-attributes). The Label can be added on the attribute add/edit form and serves as a default label when adding attribute to a variation type.

Also, on a variation type creation/edit form the list of available attributes is modified by the module so that a label for each of the attributes combined from the attribute Name at the left and ID at the right. The ID part is directly linked to an attribute edit page. After adding an attribute to a variation type it is moved to the top of the list. Also, the attribute Name is changed to a Label linked to the attribute reference field edit page. Quite helpful to make attributes distinguishable on a variation type edit form.

You may try all the above on the simplytest.me site. After installing the site and the module do the following:

  • Tip: You may skip further reading by visiting the admin/help/commerce_xattributes#setup help page on the site.
  • Go to admin/commerce/product-attributes/add page and create an attribute with the Name Test attribute and Label My Color. Add Red, Green and Blue as the attribute Value names.
  • Review all the attribute data on the admin/commerce/product-attributes page.
  • Go to admin/commerce/config/product-variation-types page and click Edit button of the Default variation type.
  • Add the newly created Test attribute => test_attribute and save the variation type.
  • Go to admin/commerce/config/product-variation-types/default/edit page again and observe My Color => test_attribute links. The fist one is the link to the variation type attribute reference field and another to the attribute edit page.

 

Dependencies

Commerce Extended Attributes on the github.com:

https://github.com/drugan/commerce_xattributes

Supporting organizations:

Put your name here...