E
E
Eugene M2021-03-17 17:25:38
1C-Bitrix
Eugene M, 2021-03-17 17:25:38

How to display the "Country" property as a string in Bitrix?

I can't display it just as a string, it is displayed as a list, tell me how to display this "Country" property only as a string. Look here, you just need to output the country that is indicated in the profile as a line.

In the template, this property displays this code <?=$arResult["COUNTRY_SELECT"]?> but it displays the whole thing as a list of all countries at once, and I need a string, I can't find where the template is responsible for this list.

The "bitrix:main.profile" component is used

605210a78b005627222551.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question