Skip to content

Commit

Permalink
Fix option value indexation
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreGauthier committed Feb 7, 2024
1 parent 77111ee commit df08dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Indexer/ProductIndexer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
];
}
Expand Down

0 comments on commit df08dad

Please sign in to comment.