We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cedfb0c + 4e24f73 commit 598ecd5Copy full SHA for 598ecd5
app/code/Magento/Catalog/Block/Product/View/Attributes.php
@@ -81,8 +81,9 @@ public function getAdditionalData(array $excludeAttr = [])
81
$attributes = $product->getAttributes();
82
foreach ($attributes as $attribute) {
83
if ($attribute->getIsVisibleOnFront() && !in_array($attribute->getAttributeCode(), $excludeAttr)) {
84
- $value = $attribute->getFrontend()->getValue($product);
85
-
+ if (is_array($value = $attribute->getFrontend()->getValue($product))) {
+ continue;
86
+ }
87
if (!$product->hasData($attribute->getAttributeCode())) {
88
$value = __('N/A');
89
} elseif ((string)$value == '') {
0 commit comments