Skip to content

Conversation

@NavaneethVijay
Copy link

@NavaneethVijay
Copy link
Author

@zans-laksa @carinadues Please review the PR

@carinadues
Copy link
Contributor

@aleksandrsm can you please do CR?


$parentIds = array_map(function ($product) {
return $product->getId();
$linkField = $this->metadataPool->getMetadata(ProductInterface::class)->getLinkField();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here and in other places: only load $linkField ones, there is no need to check it inside each array/foreach iteration, it will not change

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aleksandrsm Updated the changes, please check

Copy link
Contributor

@aleksandrsm aleksandrsm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comment

@carinadues
Copy link
Contributor

@NavaneethVijay Thank you! This will be added in an upcoming release.
@aleksandrsm Thanks for CR :)
cc: @ViktoriiaOzhozhenko

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Variants collection returns null in Adobe cloud commerce due to usage of row_id for product mapping.

4 participants