Skip to content

Commit 6c7bd78

Browse files
author
Yaroslav Onischenko
committed
MAGETWO-61106: Configurable product page does not display swatches
1 parent 085b974 commit 6c7bd78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Swatches/Block/Product/Renderer/Listing/Configurable.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ protected function getHtmlOutput()
3939
*/
4040
protected function getSwatchAttributesData()
4141
{
42+
$result = [];
4243
$swatchAttributeData = parent::getSwatchAttributesData();
4344
foreach ($swatchAttributeData as $attributeId => $item) {
4445
if (!empty($item['used_in_product_listing'])) {

0 commit comments

Comments
 (0)