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.)
  • Mark existing attributes as inactive

📂 Import model

The CSV file must contain one row per Attribute.

📄

Template

You can use the following spreadsheet as a template to structure your import:

Attributes - Template

📋 Fields

FieldDefinitionRequired for creationRequired for updateEditableDefault Value
Attribute NamesName of the attribute.
Attribute Values

List of values.

Format: value1||value2. For COLOR: #hex|label (e.g. #000000|Black)

Attribute External IdUnique external reference for the attribute.
Attribute Type

Type of attribute.

TEXT, LONG_TEXT, COLOR, LIST_METRIC, LIST_TEXT, LIST_COLOR, DATE, METRIC, NUMBER

Attribute MultiBoolean for multiple selection (only for LIST types).FALSE
Attribute Unit Type

Unit category.

WEIGHT_METRIC, VOLUME_METRIC, LENGTH_METRIC, AREA_METRIC, WEIGHT_IMPERIAL, VOLUME_IMPERIAL, LENGTH_IMPERIAL, AREA_IMPERIAL

☑️ (Required if type = METRIC or LIST_METRIC)
Attribute Unit

Selected unit of measurement.

See unit table below

☑️ (Required if type = METRIC)
Attribute VariantDefines if the attribute is used for variants.FALSE
Mark Attribute as InactiveFlag to deactivate the attribute.FALSE
Attribute Stores External IdStore identifier. Only required in multi-store context.
☑️

Conditionally required

Available units by Unit Type

Unit TypeAvailable units
Weight metrickg, g, mg
Volume metricm3, L, cL, mL
Length metricm, cm
Area metricm2
Weight imperiallb, oz
Volume imperialgal, qt, pt, fl oz
Length imperialyd, ft, in
Area imperialft2

🧠 Key Business Rules

Data format

  • Decimal separator: Period (.).
  • Date format: DD/MM/YYYY.
  • Boolean format: TRUE or FALSE.
  • Value separator: Always use || to separate multiple values or stores within a single cell.

Metric management

  • When using type = METRIC or LIST_METRIC, both Attribute Unit Type and Attribute Unit must be correctly mapped according to the allowed values.

Immutability

  • The Attribute Type and Attribute External Id cannot be modified after the initial creation.
📌

Best Practices

✔️ Ensure Attribute External Id is unique.

✔️ Validate attribute type and unit combinations before importing.

✔️ Test your import on a staging environment before applying it to production.


Did this page help you?