Answer the question
In order to leave comments, you need to log in
How to check the box for the product property "Show on item list page"?
Tell me how to check the boxes for the product properties through the code?
property example:
array(
"NAME" => GetMessage('TARAKUD_PROPS_SELLER'),
"ACTIVE" => "Y",
"SORT" => "10",
"CODE" => "AN_SELLER",
"IBLOCK_ID" => $ID,
"PROPERTY_TYPE" => "S",
"USER_TYPE" => "UserID",
"IS_REQUIRED" => "N",
"FILTRABLE" => "Y"
),
Answer the question
In order to leave comments, you need to log in
The ORM table \Bitrix\Iblock\PropertyFeatureTable
in the database is b_iblock_property_feature
See what is stored in the database, and then do what you need through PropertyFeatureTable::add or PropertyFeatureTable::update.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question