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 21fe391 commit 57a07c8Copy full SHA for 57a07c8
app/code/Magento/Bundle/Controller/Adminhtml/Product/Initialization/Helper/Plugin/Bundle.php
@@ -152,7 +152,9 @@ protected function processBundleOptionsData(\Magento\Catalog\Model\Product $prod
152
if (!empty($linkData['selection_id'])) {
153
$linkData['id'] = $linkData['selection_id'];
154
}
155
- $links[] = $this->buildLink($product, $linkData);
+ if (!empty($linkData['product_id'])) {
156
+ $links[] = $this->buildLink($product, $linkData);
157
+ }
158
159
$option->setProductLinks($links);
160
$options[] = $option;
0 commit comments