A
A
Alexander2020-01-15 12:26:54
1C-Bitrix
Alexander, 2020-01-15 12:26:54

How to display a block of text in a product card with parameters?

There is a task to display a block of text in a product card. The text itself should be the same for all products, edited in one place, but the text should mention the name of the product in the cards of which it is displayed.
The block should look something like this: 5e1eda2560c87000713090.jpeg
As I think, it will not work through the included area, only through the component that will need to be placed in the catalog.element component template, where the text template and the product name from the card will be passed as a parameter.
Can you tell me if it is possible to implement such a block in the product cards without using a component?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail, 2020-01-15
@RuComMarket

insert the file as an include area:
https://dev.1c-bitrix.ru/user_help/components/sluz...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question