Attributes overview page
Attribute customer facing label
Product variation type attributes

This project is not covered by Drupal’s security advisory policy.

Helps to administer Drupal Commerce 2.x product attributes. You may need it if the set up on your Drupal Commerce site requires creation of a great number of attributes. Also, the Commerce Correct Attributes submodule can be used to add combined attributes feature and fix some attribute related issues. More info:

https://git.drupalcode.org/project/commerce_xattributes/-/blob/8.x-1.x/R...

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:

  • 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

🇺🇦 Stop war in Ukraine! 🇺🇦

Please consider supporting Ukraine in a fight for their freedom and safety of Europe.

Project information

Releases