19 $productFilter = (array)($parameters[
'filter'] ?? []);
20 $additionalProductFilter = [
21 'IBLOCK_ID' => $iblockInfo->getProductIblockId(),
24 if ($this->options[
'restrictedProductTypes'] !==
null)
26 $filteredTypes = array_intersect(
27 $this->options[
'restrictedProductTypes'],
31 $filteredTypes[] = Catalog\ProductTable::TYPE_EMPTY_SKU;
32 $additionalProductFilter[
'!=TYPE'] = array_values(array_unique($filteredTypes));
35 'filter' => array_merge($productFilter, $additionalProductFilter),
36 'limit' => self::PRODUCT_LIMIT,