diff --git a/src/Indexer/ProductIndexer.php b/src/Indexer/ProductIndexer.php index 7b00def..fa6b3ac 100644 --- a/src/Indexer/ProductIndexer.php +++ b/src/Indexer/ProductIndexer.php @@ -165,7 +165,7 @@ private function formatVariant(ProductVariantInterface $variant, ChannelInterfac foreach ($variant->getOptionValues() as $optionValue) { /** @var ProductOptionValueInterface $optionValue */ $data[$optionValue->getOption()->getCode()][] = [ - 'value' => $optionValue->getValue(), + 'value' => $optionValue->getCode(), 'label' => $optionValue->getTranslation($locale->getCode())->getValue(), ]; }