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 bff262d commit d16dd4cCopy full SHA for d16dd4c
app/code/Magento/ConfigurableProduct/Model/Product/Type/VariationMatrix.php
@@ -40,7 +40,7 @@ public function getVariations($usedProductAttributes)
40
for ($attributeIndex = $attributesCount; $attributeIndex--;) {
41
$currentAttribute = $variationalAttributes[$attributeIndex];
42
$currentVariationValue = $currentVariation[$attributeIndex];
43
- if(isset($currentAttribute['id']) && $currentAttribute['id']) {
+ if(!empty($currentAttribute['id'])) {
44
$filledVariation[$currentAttribute['id']] = $currentAttribute['values'][$currentVariationValue];
45
}
46
0 commit comments