We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d5ae03 commit b0d7a26Copy full SHA for b0d7a26
app/code/Magento/Bundle/Model/Product/Type.php
@@ -310,7 +310,7 @@ public function getSku($product)
310
$selections = $this->getSelectionsByIds($selectionIds, $product);
311
foreach ($selectionIds as $selectionId) {
312
$entity = $selections->getItemByColumnValue('selection_id', $selectionId);
313
- if ($entity->getEntityId()) {
+ if (isset($entity) && $entity->getEntityId()) {
314
$skuParts[] = $entity->getSku();
315
}
316
0 commit comments