I
I
Iossarian2018-12-17 11:48:26
1C-Bitrix
Iossarian, 2018-12-17 11:48:26

How to set up random text generation in Bitrix?

How can you implement the generation of absolutely any text in the description of all products in the catalog? As I understand it, it is necessary to work with the component template?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Bespalov, 2018-12-17
@FreeArcher

You can set the value of the $arResult["DETAIL_TEXT"] array in the template. This field is responsible for displaying a detailed description.

T
true-hero, 2018-12-18
@true-hero

As I understand it, you need to test the layout, I would do this:

//template.php
echo file_get_contents('http://loripsum.net/api');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question