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 7f84c55 commit f33522fCopy full SHA for f33522f
app/code/core/Mage/ConfigurableSwatches/Helper/Productimg.php
@@ -343,7 +343,7 @@ public function filterImageInGallery($product, $image)
343
}
344
345
if (!isset($this->_productImageFilters[$product->getId()])) {
346
- $mapping = call_user_func_array("array_merge_recursive", $product->getChildAttributeLabelMapping());
+ $mapping = call_user_func_array("array_merge_recursive", array_values($product->getChildAttributeLabelMapping()));
347
$filters = array_unique($mapping['labels']);
348
$filters = array_merge($filters, array_map(function ($label) {
349
return $label . Mage_ConfigurableSwatches_Helper_Productimg::SWATCH_LABEL_SUFFIX;
0 commit comments