Skip to main content

Configuration

Overview

Configuration Fields

NameDescription
Source folder pathSpecify the folder where the products originate from, from which the attributes are generated
Target folder pathSpecify the folder where the attributes should be placed
Product classSelect the product class
Attribute classSelect the class for the attribute
See Building the Attribute Class
Attribute value classSelect the class for the attribute value
See Building the Attribute Value Class
ObjectbricksMulti-select of Objectbricks that contain attributes
Attribute field-type allow-listMulti-select of Pimcore field types that are used
Objectbrick field-type allow-listMulti-select of Pimcore field types used in Objectbricks
Attribute block-listSpecify a block list to exclude certain fields from attribute recruitment.

Wildcards allowed: use * or % for any characters.
Separate multiple values with commas.
Attribute allow-listSpecify an allow list to re-include certain fields from the block list back into attribute recruitment.

Wildcards allowed: use * or % for any characters.
Separate multiple values with commas.

Building the Class Definition for Attributes and Attribute Values

For the configuration fields "Attribute class" and "Attribute value class," classes for attribute and attribute value objects must be created. These must include the following fields:

Attribute Class

Field NameField TypeDescription
stateInformationSelectionStatus of the attribute

Options:
active - Active
inactive - Inactive
translationSourceSelectionTranslation source

Options:
adminTranslationLabel - Admin translation label
adminTrabslationTooltip - Admin translation tooltip
sharedTranslationLabel - Shared translation label
sharedTranslationTooltip - Shared translation tooltip
classLabel - Class label
classTooltip - Class tooltip
attributeIdentifierInput FieldIdentifier of the attribute, automatically generated
attributeUuidInput FieldUUID of the attribute, automatically generated
attributeSuffixInput FieldStatic suffix for fields with units that are not quantity values. The placement of the unit is determined according to the quantityValuePositionDefault setting
quantityValuePositionDefaultSelectionPlacement of units

Options:
behind - Behind
before - Before
mixed - Mixed
attributeFilterSelectionFrontend configuration: display as filter

Options:
yes - Yes
no - No
attributeShowSelectionFrontend configuration: display on detail page

Options:
yes - Yes
no - No
attributeTypeSelectionFrontend configuration: attribute type

Options:
text - Text
color - Color
image - Image
dropdown - Dropdown
sortTypeSelectionFrontend configuration: sorting

Options:
numeric - Numeric
alphanumeric - Alphanumeric
custom - Custom
sortPositionNumberFrontend configuration: position of the attribute in sorting
attributeNameInput FieldName of the attribute (localized)
attributeDescriptionText FieldDescription of the attribute (localized)
attributeNameOverwriteInput FieldCustom name (localized)
attributeDescriptionOverwriteText FieldCustom description (localized)
relationAttributeNameInput FieldName field for referencing data from relational objects. Only necessary if the attribute is linked to a relational object
relationAttributeImageInput FieldImage field for referencing data from relational objects. Only necessary if the attribute is linked to a relational object
relationAttributeColorInput FieldColor field for referencing data from relational objects. Only necessary if the attribute is linked to a relational object

Attribute Value Class

Field NameField TypeDescription
valueIdentifierInput FieldIdentifier of the attribute value, automatically generated
valueUuidInput FieldUUID of the attribute value, automatically generated
quantityValuePositionSelectionPlacement of units
valueNameInput FieldAttribute value (localized)
valueNameOverwriteInput FieldCustom attribute value (localized)
valueColorInput FieldFrontend configuration: color
valueMediaImage ExtendedFrontend configuration: image
valueArticlesMany-to-many Object RelationshipRelationship to objects that use the attribute value

Requirements Check

After customizing and saving the configuration, it can be checked in the "Requirements check" tab.

Interface

Checks

NameCondition
Attribute class definitionAttribute class definition implements all required fields
Attribute value class definitionAttribute value class definition implements all required fields

Run

Start recruitment process

The process can be started in the admin interface, which adds the recruitment job to the queue.

See also: Attribute Recruitment

Perform recruitment

The queue system by default checks every minute for recruitment jobs in the queue and executes them.

To manually execute the queue, the following command can be used:

php bin/console twocream:queue --queueItems=product_attribute_recruitment

Config JSON

In the "Config JSON" tab, the entire configuration is displayed as a JSON object.