I
I
invox592015-01-15 13:53:43
PHP
invox59, 2015-01-15 13:53:43

How to write a condition in PHP to display text in the desired Bitrix category?

There are two categories of goods in the Bitrix store. It is necessary to display standard text in the product card. In one product category one text, in the second - another. As I understand it, you need to take the category id and assign text output to it. But I don't write in PHP, so I'm asking for help. Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2015-01-15
@gangstarcj

Categories have a description in the admin panel, and you need to display it in the section template <php echo $arResult['DESCRIPTION'];?>like this
Try it out, you will find a lot of interesting

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question