I
I
Insom842022-02-27 15:35:44
1C-Bitrix
Insom84, 2022-02-27 15:35:44

How to specify the Bitrix condition in the infoblock seo?

Tell me how to specify the price condition in the title of the infoblock?
Those. for example, if the price is set to {=this.catalog.price.BASE}, and if not, then {=min this.catalog.sku.price.BASE} Is
it possible to do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
konsealex, 2022-02-28
@konsealex

This is only through the result_modifier and component_epilog of the template that displays the product itself. (Well, or just through the component itself, if you have it self-written) I.e. in result_modifier you check your condition, pass the necessary data through SetResultCacheKeys and in component_epilog you already do SetTitle.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question