ATTRIBUTE
This page introduces the CSV-based import system for Product Attributes in DJUST.
⚙️ Introduction
This job allows the creation and update of Product Attributes via CSV import.
You can:
- Create and update attributes
- Define attribute types (Text, Metric, Lists, etc.)
- Delete existing attributes
📂 Import model
The CSV file must contain one row per Attribute.
TemplateYou can use the following spreadsheet as a template to structure your import:
📋 Fields
Field | Definition | Required for creation | Required for update | Editable | Default Value |
|---|---|---|---|---|---|
| Name of the attribute. | ✅ | ✅ | ||
| List of values. Format: | ✅ | |||
| Unique external reference for the attribute. | ✅ | ✅ | ||
| Type of attribute.
| ✅ | |||
| Boolean for multiple selection (only for LIST types). | ✅ | FALSE | ||
| Unit category.
| ☑️ (Required if type = METRIC or LIST_METRIC) | ✅ | ||
| Selected unit of measurement. See unit table below | ☑️ (Required if type = METRIC) | ✅ | ||
| Defines if the attribute is used for variants. | ✅ | ✅ | FALSE | |
| Flag to delete the attribute. | ✅ | FALSE | ||
| Store identifier. Only required in multi-store context. | ✅ |
Conditionally required
Available units by Unit Type
| Unit Type | Available units |
|---|---|
| Weight metric | kg, g, mg |
| Volume metric | m3, L, cL, mL |
| Length metric | m, cm |
| Area metric | m2 |
| Weight imperial | lb, oz |
| Volume imperial | gal, qt, pt, fl oz |
| Length imperial | yd, ft, in |
| Area imperial | ft2 |
🧠 Key Business Rules
Data format
- Decimal separator: Period (
.). - Date format:
DD/MM/YYYY. - Boolean format:
TRUEorFALSE. - Value separator: Always use
||to separate multiple values or stores within a single cell.
Metric management
- When using type =
METRICorLIST_METRIC, bothAttribute Unit TypeandAttribute Unitmust be correctly mapped according to the allowed values.
Immutability
- The
Attribute TypeandAttribute External Idcannot be modified after the initial creation.
Best Practices✔️ Ensure
Attribute External Idis unique.✔️ Validate attribute type and unit combinations before importing.
✔️ Test your import on a staging environment before applying it to production.
Updated about 1 month ago
