N
N
Nikita Gureenkov2020-11-12 07:33:57
1C-Bitrix
Nikita Gureenkov, 2020-11-12 07:33:57

1C-Bitrix: Displaying a block of recommended products?

Task:
In the card of each product, display the products recommended for it.

What was done:
In the properties of the goods created a binding to the elements by ID. For the test, I wrote down one ID.

Error and question:
I am adding an element of recommended products (bitrix:catalog.recommended.products). In the "Product ID" field, you need to enter a variable containing the linked IDs, but for the test I will leave it empty:
5facb9910a17a327598552.png

Then the element asks for an ID, everything is logical:
5facba278de47352576288.png

But if I directly specify the ID:
5facbaafae15b460033276.png

Then it gives a white box with a red dot:
5facbab9d3fe0823457089.png

I understand that the template is not loaded.
If indeed so. where can i get it, download it?

Thank you all in advance!

UPD
I went through different templates in the component settings, some give out:
5face10fee089334715638.png

Output:
ID not specified -> asks for ID;
Template error -> outputs Cannot find;
Unknown error -> square with red dot

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