CLASSIFICATION_CATEGORY
This page introduces the CSV-based import system for Classifications in DJUST. It explains the overall logic, the data structure, and the expected format for creating and managing the classification tree and its attribute associations.
⚙️ Introduction
This job allows the creation and update of the classification tree (categories) and the association of attributes to these classifications via CSV import.
You can:
- Create and organize the category hierarchy
- Link attributes to specific classifications
- Configure attribute behavior (facets, search, variants) per classification
📂 Import model
The CSV file must contain one row per classification-attribute association.
- To create a classification without an attribute, leave the
attr_codecolumn empty. - To link multiple attributes to one classification, create multiple rows with the same classification identifier.
📋 Fields
| Field | Definition | Required for creation | Required for update | Editable | Default Value |
|---|---|---|---|---|---|
Classification Name | Display name of the classification | ✅ | ✅ | ||
Classification External Id | Unique external identifier of the classification | ✅ | ✅ | ||
Classication Parent External Id | External ID of the parent classification. Use Root for top-level classifications | ✅ | Root | ||
Attr Code | External ID of the attribute to link to this classification | ✅ | |||
Attr Enabled | Enables the attribute for this classification | ✅ | TRUE | ||
Attr Indexable | Allows the attribute to be indexed | ✅ | FALSE | ||
Attr Required | Makes the attribute mandatory for products in this classification | ✅ | FALSE | ||
Attr For Variant | Uses the attribute for product variants | ✅ | FALSE | ||
Attr Faceted | Displays the attribute in catalog filters | ✅ | FALSE | ||
Attr Searchable | Enables search on this attribute's values | ✅ | FALSE | ||
Attr Sortable | Enables sorting by this attribute | ✅ | FALSE | ||
Deleted | Set to TRUE to delete the classification | ✅ | FALSE |
🧠 Key Business Rules
- Every classification must be attached to another classification's
External Idor toRootvia theClassification Parent External Idfield. - The parent of a classification category cannot be changed after creation. If a row declares a different parent for an existing category, the row is rejected. Classification categories are shared across the whole environment (they are not store specific). Reusing the same external IDs across two shops of the same environment refers to the same categories.
- Attributes must have
attr_indexable = TRUEto function asattr_faceted,attr_searchable, orattr_sortable. - Any change to
attr_indexable,attr_faceted,attr_searchable, orattr_sortablerequires a full reindex of the system to take effect. - Attributes are linked at a specific classification level. If an attribute is needed on a child category, it must be explicitly linked to that child (unless your business logic uses inheritance).
- To create a classification without linking any attribute, leave
attr_codeand allattr_*columns empty. deletedset toTRUEremoves the classification. This action is irreversible.
Updated 5 days ago
Did this page help you?

