S
S
sema9112020-02-02 14:36:26
1C-Bitrix
sema911, 2020-02-02 14:36:26

Bitrix property categorization problem how to overcome this?

Good afternoon. Please help me solve the problem with product properties that I create for a specific category and write the link through the class method CIBlockSectionPropertyLink::Set((int)$productID['IBLOCK_SECTION_ID'],(int)$properties['ID']); in the b_iblock_section_property table, the connection is correctly checked, there is no duplicate specifically, SECTION_ID (category id) and PROPERTY_ID (property id) of such records, for example, for categories and properties 3-5, for example
792 -> 25
794 -> 25
795 -> 25
Expecting that the property will be displayed only when editing a product related to a particular category (pits 792,794,795), but the property is displayed when editing products in other categories. Please tell me how to solve the problem. This from the table b_iblock_section_property excluded 0 -> 25 (when the property is the default for all categories). Help plz!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yaroslav Alexandrov, 2020-02-03
@alexyarik

I didn’t understand how using API tools, but there is a separation of properties https://youtu.be/uV0f18dN0us?t=197

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question