If you have an extensive list of different global or product class attributes, you can make them more structured and easy for perception by dividing them into groups. Names of attribute groups will appear as headings in the list of attributes both on the storefront and the Admin area:

  • X-Cart Storefront

    group-2.png
  • X-Cart Admin Area

Groups can't join both global attributes and product class attributes, nor can they join attributes from different product classes. Hence groups are created and managed on a particular product class or global attributes listing page.

Creating Attribute Groups

To add a new attribute group:

  1. In your store’s Admin area, go to the "Classes & Attributes" section (Catalog > Classes & Attributes).

  2. Depending on whether you will be creating a new group for global attributes or the attributes of a specific product class, click on the "Edit attributes (N)" link either opposite the "Global attributes" title or opposite the name of the product class:

  3. Click the "Manage groups" button.


    A popup titled "Manage attribute groups" appears.

  4. Use the "New group" button to add as many attribute groups as you need:

    pc-attr-groups-2.png

  5. Click "Save changes."
    A newly-added attribute group will appear.

    group-7.png

The new attribute group you created is empty and does not yet have any attributes in it. To add attributes to the group, follow the guidelines below.

Assigning Attributes to Groups

After creating an attribute group, you need to populate it with attributes.

Attributes can be added to an attribute group when creating new or editing existing attributes in the "Classes & Attributes" section (Catalog > Classes & attributes):

  • While creating a new attribute, you can add it to a group using the "Attribute group" selector:

    group-9.png

  • While editing an existing attribute, you can assign it to one of the available attribute groups using the "Attribute group" selector:

    group-8.png

Editing Attribute Groups

It is possible to rename any existing attribute group and change how attribute groups appear on the page.

Here's how you can do this:

  1. In your store’s Admin area, go to the "Classes & Attributes" section (Catalog > Classes & Attributes).

  2. Depending on whether you will be creating a new group for global attributes or the attributes of a specific product class, click on the "Edit attributes (N)" link either opposite the "Global attributes" title or opposite the name of the product class:

  3. Click the "Manage groups" button.


    A popup titled "Manage attribute groups" appears.

  4. Use the tools of the "Manage attribute groups" popup for editing:

    • To rename a group, click on its name. The group name field will become editable.

      group-edit-3.png

    • To change the order of attribute groups on the list, drag and drop the items to their new positions.

      To drag an item, place your mouse cursor over the "Cross" icon to the left of the attribute's name, hold down the mouse button, and drag the item to a new position in the list.

      group-edit-4.png

  5. When the attribute group editing is complete, be sure to click "Save changes."

Deleting Attribute Groups

When you no longer need a particular attribute group, you can delete it.


Deleting a group does not delete the attributes assigned to it. Instead, after you delete a group, the contents will relocate to other attributes having no associated groups.


To delete an attribute group:

  1. In your store’s Admin area, go to the "Classes & Attributes" section (Catalog > Classes & Attributes).

  2. Depending on whether you will be creating a new group for global attributes or the attributes of a specific product class, click on the "Edit attributes (N)" link either opposite the "Global attributes" title or opposite the name of the product class:

  3. Click the "Manage groups" button.


    A popup titled "Manage attribute groups" appears.

  4. In the "Manage attribute groups" popup, locate the group that needs to be deleted and click on the "Trash" icon opposite its name:

    group-edit-5.png


    The group will be marked for deletion.

  5. Click "Save changes." The group will be deleted.

Any attributes assigned to this group will relocate to the "No group" attributes section.

Related pages:

Did this answer your question?