Hidden Global Attributes

Learn how to create, assign and manage hidden global attributes.

Olga Tereshina avatar
Written by Olga Tereshina
Updated over a week ago

Global attributes are the only product attributes that support the values of a hidden field type. Global attributes with a hidden field type value are called hidden attributes. Such attributes do not display in the storefront and can serve internal product management purposes, like creating product feeds for the Google Product Feed add-on.

Creating Hidden Attributes

Unlike any other global attributes, a store admin can create hidden global attributes in the "Classes and Attributes" section of a store Admin area only (Catalog -> Classes and Attributes).

To create a hidden attribute:

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

  2. Click on the "Edit attributes (N)" link opposite the "Global attributes" title:


    The global attributes listing page opens:

  3. On this page, click the "New attribute" button:


    A popup titled New attribute appears:

    ga-hidden-1-1.png

  4. Use the fields of the "New attribute" popup to provide information about a new hidden attribute.

    Specify the following information:

    1. Attribute: Attribute name.

    2. Attribute group: Select a group name from the drop-down if this is applicable.
      โ€‹Use the Attribute Groups guide to learn how to join attributes into groups.

    3. Type: For a hidden attribute, the attribute field type must be "Hidden field."

  5. Click Next to save the attribute.
    Now the popup expands so you can edit the attribute options:

    ga-hidden-1.png

  6. Click the "New value" button to configure the hidden attribute options. Then, add as many attribute options as you need.

    ga-hidden-2.png

  7. If you want a specific option of this hidden global attribute to be assigned automatically to all NEW products in your store's catalog, click the check-mark icon opposite the name of the related attribute option (the check-mark icon should turn green):

    ga-hidden-3.png


    Enabling the check-mark for a hidden attribute option will not affect any products that are already present in the store by far. All existing products will preserve their current global attributes' configuration.


  8. Once you're done editing the attribute options, save the changes using the "Save changes" button.
    The attribute option(s) should be saved and added to the global attributes list:

Like any global attribute, hidden attributes are automatically assigned to products after you create them. However, for the hidden attributes to become available for internal products management, a store admin must assign and configure hidden attribute options for existing products in the store.

Assigning Hidden Attributes to Products

Once hidden attributes have been created via the "Classes & Attributes" section of the store Admin area, a store admin should assign the hidden attribute options to existing products in the store.

Unlike other product attributes, hidden attribute options can be assigned either on a per-product basis using a product details page or for a group of products or all products in the store using the Bulk Editing tool.

Assigning Hidden Attribute Options via Bulk Editing

To assign hidden attribute options to products via the Bulk Editing feature:

  1. On the product listing page of your store Admin area (Catalog -> Products), select products you want to edit using checkboxes.

  2. Click Bulk edit selected -> Hidden attributes.

  3. In a new window, configure the hidden attribute(s) value for the products:

  4. Click "Save changes."

Assigning Hidden Attribute Options via Product Details

If required, a store admin can assign a hidden attribute on a per-product basis via a related product details page:

  1. In your store's Admin area, locate the product you need to assign a hidden attribute to, open the product details page, and hover the cursor on the "Attributes" tab:

  2. Choose "Hidden attributes" in the drop-down to access the subsection where you can assign hidden global attributes to this product:

    ga-hidden-pd-2.png

  3. You can see the complete list of your store's hidden global attributes on the page that opens. The attributes for which the "Attribute option" field is empty are assigned but not configured for the product.

  4. For the attribute that needs the configuration:

    1. Click inside the "Attribute option" field and type in the value you require.

      ga-hidden-pd-3-2.png


      or

    2. Click on the down arrow button at the "Attribute option" field's right and select one of the previously configured attribute options from the drop-down list.

      ga-hidden-pd-4.png

  5. Click "Save changes."

Managing Hidden Attributes

Like any other global attribute, a store admin can manage hidden attributes on the global attributes listing page in the "Classes & Attributes" section of the Admin area (Catalog -> Classes & Attributes). Here a store admin can create new hidden attributes, add them to attribute groups, edit existing hidden attribute names and options, and delete them if required. All changes applied to hidden attributes via the "Classes & Attributes" section are applied store-wide and affect all products with the corresponding hidden attributes assigned and configured.

To open the global attributes listing, open the "Classes & Attributes" section of the Admin area (Catalog -> Classes & Attributes) and click on the link "Edit attributes (N)" opposite the "Global attributes" line (where N stands for the number of global attributes configured in the store):

Hidden attributes will have the Hidden field type in the global attributes list.

Please refer to the Managing Global Attributes guide of our Help Center to learn how to manage hidden attributes.

Related pages:

Did this answer your question?