Skip to content

Commit

Permalink
Merge pull request #1586 from spryker-shop/hackathon/feature/cc-34258…
Browse files Browse the repository at this point in the history
…/dev-multiselect-attributes-data-import

CC-34258: Fixed data-import step to support multiselect product attributes.
  • Loading branch information
dmiseev authored Sep 2, 2024
2 parents 15c5420 + 62f55de commit 7c420c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ protected function importProductAbstractLocalizedAttributes(DataSetInterface $da
->setMetaDescription($localizedAttributes[static::COLUMN_META_DESCRIPTION])
->setMetaKeywords($localizedAttributes[static::COLUMN_META_KEYWORDS])
->setFkLocale($idLocale)
->setAttributes((string)json_encode($localizedAttributes[static::KEY_ATTRIBUTES]));
->setAttributes((string)json_encode($this->formatMultiSelectProductAttributes($localizedAttributes[static::KEY_ATTRIBUTES] ?? [])));

$localizedAttributeTransfer[] = [
static::COLUMN_ABSTRACT_SKU => $dataSet[static::COLUMN_ABSTRACT_SKU],
Expand Down

0 comments on commit 7c420c8

Please sign in to comment.