W
W
Westoura2020-12-27 12:11:20
1C-Bitrix
Westoura, 2020-12-27 12:11:20

How to display linked infoblock elements in Bitrix?

The property has the code "LINKS", type "binding to element". There are two components on the page - a detailed description and a catalog.
Can you please tell me how to display products by the infoblock property "related products"?

<?$APPLICATION->IncludeComponent(
  "bitrix:news",
  Array(	)
);?>
<br>
 <br>
 <?$APPLICATION->IncludeComponent(
  "bitrix:catalog.section",
  Array(	)
);?><br>

The directory has a filter:
"FILTER_NAME" => "arrFilter",

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Yanchevsky, 2017-02-24
@hunter2014

If you call the mail.php file directly ( gotonorway.esy.es/wp-content/themes/wilo/mail.php ):
1. Why?
2. If you still need to call directly, then you need to include wp-load.php at the beginning of the file so that you can use WordPress functions.

A
Alexander Pushkarev, 2017-02-24
@AXP-dev

Is it in mail.php?

/*
 * Template Name: Название шаблона
 */

If not, then add

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question