Create Attribute Dependencies

Attribute dependencies can be used to streamline data-entry. Dependencies are rules that modify attribute options as you enter data to be more relevant to the data you’ve already entered. For example, if you are receiving a women’s clothing item and you set the Gender attribute to Women’s, dependencies can limit the options in the Category attribute to just women’s categories. This minimizes data overload by allowing you to remove unlikely info pairings.

Create a Dependency for Relevant Values or Groups

  1. In the Navigation menu, go to Administration > Attributes.
  2. Select the dependent attribute, the attribute whose value options will change depending on another attribute, the independent attribute.
    • In the above example, the dependent attribute is Category because it will change depending on the independent attribute, Gender.
  3. Select the value or value group folder for which you want to create a dependency. Press the [Add Dependency] button.
  4. In the Dependency window under Attribute, select the independent attribute.
  5. Under Section, select the value that will trigger the dependency. If left blank, any value for the attribute will trigger the dependency.
  6. Set the Mode to either One or All.
  7. Optionally, you can enter a custom Name for the dependency. If left blank, the dependency will be named after the independent attribute and section.
  8. Close the window by pressing the [x] in the top-left corner.
  9. If you want to edit the dependency, double-click on its name. This opens the Dependency window.
  10. When you’re finished, press the [Save Changes] button.
Create a Dependency for Relevant Values or Groups

Create a Dependency for Relevant Attributes

Not only can you use dependencies to filter options inside attributes. You can also use them to show or hide entire attributes. For example, an attribute for Waist Size would be relevant if you’re receiving a pair of pants. But it wouldn’t be relevant for receiving a shirt. You can create a dependency to display Waist Size only if the Category attribute is Pants.

  1. Select the dependent attribute.
  2. Select the root folder for the attribute (labeled “/”).
  3. Press the [Add Dependency] button.
  4. In the Dependency window under Attribute, select the independent attribute.
  5. Under Section, select the value that will trigger the dependency. If left blank, any value for the attribute will trigger the dependency.
  6. Set the Mode to either One or All.
  7. Optionally, you can enter a custom Name for the dependency. If left blank, the dependency will be named after the independent attribute and section.
  8. Close the window by pressing the [x] in the top-left corner.
  9. If you want to edit the dependency, double-click on its name. This opens the Dependency window.
  10. When you’re finished, press the [Save Changes] button.
Create a Dependency for Relevant Attributes

Create a Dependency with Multiple Rules

There are times where you may need to create a dependency with more than one rule. You may want the Skirts to appear for two genders, Women’s and Girl’s. Or you may have different sets of size values dependent on both Gender and Category attributes (e.g. there may be different sizes for women’s pants and men’s jackets).

  1. Select the dependent attribute.
  2. Select the value or value group folder for which you want to create a dependency. Press the [Add Dependency] button.
  3. In the Dependency window, set the independent attribute and section for the first rule.
  4. Add a new rule by pressing the [Add] button. Set the attribute and section for the second rule.
  5. Continue adding as many rules as you desire.
  6. Set the Mode:
    • One. If selected, the dependency will be triggered if at least one rule is true. In the Skirts example, Skirts will be triggered if the Gender is either Women’s OR Girl’s.
    • All. If selected, the dependency will be triggered only when all rules are met. In the size example, sizes 0-14 will be triggered when you select Women’s for Gender AND Pants for Category. Sizes S-XXL will be triggered only when you select Men’s for Gender AND Jackets for category.
Create a Dependency with Multiple Rules

Create a Reverse Dependency

In some cases, a reverse dependency can save you much labor. You may have a value for an attribute dependent on a Product Category attribute. The attribute value is relevant for all but two of your 20 categories. Instead of creating a dependency with 18 rules to show the value for 18 categories, you can create a dependency with 2 rules that hides the value for the 2 other categories.

  1. Select the dependent attribute.
  2. Select the value or value group folder for which you want to create a dependency. Press the [Add Dependency] button.
  3. In the Dependency window, set the independent Attribute. Select a value under Section. Do NOT leave Section blank.
  4. Set the Mode to None. If selected, when the dependency is triggered, it will hide the value.
Create a Reverse Dependency
Have more questions? Submit a request

2 Comments

  • 0
    Avatar
    Alisdair Troup

    Is it possible to make a dependency rule to have a single attribute (color for example) as "allowed" for all (or many) categories, but a "required" attribute in others? 

  • 0
    Avatar
    Joe

    Hello Alisdair,

    That function is not available currently. If there are other customers with this specific scenario, please upvote Alisdair's comment and we will consider getting this on the feature addition queue.

Please sign in to leave a comment.
Powered by Zendesk