G
G
Grione2021-01-22 15:58:32
1C-Bitrix
Grione, 2021-01-22 15:58:32

How to check for a product card in Bitrix?

I need to embed microdata into a Bitrix template. To do this, you need to edit the product card template. But the parent product card tag is in the general /catalo/index.php catalog template. Therefore, I need to write a condition, if we are in the card, then we use one micro-markup for the block, and if, for example, in the list of goods, then another. Accordingly, I need to somehow check the page for the product card. Tell me how?

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