Answer the question
In order to leave comments, you need to log in
How to implement a custom property with several fields in Bitrix?
Good afternoon!
Please tell me how to implement a custom infoblock property with several fields in GetUserTypeDescription.
For example:
Product, Quantity
Product, Quantity
Product, Quantity
Answer the question
In order to leave comments, you need to log in
If there are exactly 2 fields, you have 2 regular fields available when saving to the database: VALUE
, DESCRIPTION
- use them
If there are more than 2 fields, when saving to the database, execute serialize()
in CIBlockProperty::ConvertToDB()
and unserialize()
inCIBlockProperty::ConvertFromDB()
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question