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 497e7b9 commit e6476dcCopy full SHA for e6476dc
app/code/Magento/ConfigurableProduct/Model/Plugin/ProductRepositorySave.php
@@ -65,7 +65,7 @@ public function beforeSave(
65
$configurableLinks = (array) $extensionAttributes->getConfigurableProductLinks();
66
$configurableOptions = (array) $extensionAttributes->getConfigurableProductOptions();
67
68
- if (!empty($configurableLinks) && !empty($configurableOptions)) {
+ if (!empty($configurableLinks) || !empty($configurableOptions)) {
69
$attributeCodes = [];
70
/** @var OptionInterface $configurableOption */
71
foreach ($configurableOptions as $configurableOption) {
0 commit comments