Attribute variables

Explanation of how to use variables

Additional information:

  • Variables are allowed for text area type attributes only

  • If the user does not have privileges to preview an attribute, then instead of attribute code (e.g. #color) he sees a placeholder with the text “No access”

Information for apps developers: our app engine does not support the cases listed below:

  • uses of global attributes with local attributes used as variable

  • uses of global attributes with local select type attributes

  • refreshing values of a variable when changing a transition of the option value in the select type attribute

  • When working with variables via API, remember to put them in double brackets Ex: {{#attribute_code}} so the system knows they're variables, not a string

Types of attributes that can be added as a variable:

  • date

  • select

  • numeric

  • text

  • price (only value, without currency)

  • unit (only value, without unit)

Spaces in which we can edit the attributes with variables

  • catalog table (grid)

  • import - in order to import a variable you need to enter it in the appropriate {{#attributecode}} format

  • export - configuration of whether we download data with variables or final resolved content

If you are using attribute variables it's possible to use them directly on the grid.

On the grid, double click on the attribute to open it to edit.

Type hash char (#), and you will be presented with a list of attributes you may use.

Type more to narrow the list.

You may use more than one variable.

When attribute values are used you will see a new eye icon, clicking it will display a preview of the values.

Last updated