/**
  * @return array
  */
 protected function getSwatchAttributesData()
 {
     $swatchAttributeData = parent::getSwatchAttributesData();
     foreach ($swatchAttributeData as $attributeId => $item) {
         if (!empty($item['used_in_product_listing'])) {
             $result[$attributeId] = $item;
         }
     }
     return $result;
 }