A
A
Anto2017-09-16 02:21:24
1C-Bitrix
Anto, 2017-09-16 02:21:24

How to display a product if the property is not empty in Bitrix?

Hello. How can I select a product if the property is not empty?
The infoblock property has the value Price without discount, number type, this property can be empty for the product or with a numeric value. I set a filter, if the movie has a specific person, then it works how to display the product if the property is filled?

global $arrFilter;
$arrFilter = Array( 
 	"PROPERTY_103" => 70,
);

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Tupikov, 2017-09-16
@ZIROKUL

global $arrFilter;
$arrFilter = Array(
"!PROPERTY_103" => false,
);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question