I
I
IJIL2016-04-10 13:45:38
1C-Bitrix
IJIL, 2016-04-10 13:45:38

How to display a property separately from the rest?

There are two blocks in one, for example, product properties, and in the other, any other properties (type binding to elements and a string). How can I display properties so that when filling in the properties of the second block, they are not displayed in the first block and vice versa?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Savrasov, 2016-04-11
@alcorn

We iterate over the array of properties and look at the type of the property. If the type is E (it means binding to an element) and we do it in a contune loop;
Next, iterate over the array again, only now contune by properties where the type is not E.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question