Пытаюсь вывести все товары у которых не заполнена цена 7, как это сделать правильно?
$obProducts = Bitrix\Iblock\ElementTable::getList([
"filter" => [
"IBLOCK_ID" => 208,
"prop_PRICE_7.CATALOG_GROUP_ID" => 7,
"prop_PRICE_2.CATALOG_GROUP_ID" => 2,
"prop_PRICE_7.PRICE" => false,
"ID" => 494346
],
"select" => [
"ID",
"PRICE_7" => "prop_PRICE_7.PRICE",
"PRICE_2" => "prop_PRICE_2.PRICE"
],
"runtime" => [
"prop_PRICE_7" => [
"data_type" => Bitrix\Catalog\PriceTable::class,
"reference" => [
"=this.ID" => "ref.PRODUCT_ID"
],
"join_type" => "inner"
],
"prop_PRICE_2" => [
"data_type" => Bitrix\Catalog\PriceTable::class,
"reference" => [
"=this.ID" => "ref.PRODUCT_ID"
],
"join_type" => "inner"
]
]
]);