Answer the question
In order to leave comments, you need to log in
Where to change the catalog.item component template in Bitrix?
Hello!
The page has a catalog.section component in the template code of which the bitrix:catalog.item component is called
How to change the catalog.item template?
Answer the question
In order to leave comments, you need to log in
There was the same need when I customized bitrix:catalog.top.
We take the contents of the
/bitrix/components/bitrix/catalog.item/templates/.default/ folder
and copy it to
/local/templates/Template_name/components/bitrix/catalog.item/Customized_template_name/
You may have a slightly different path, but I think the meaning will be understandable.
After that, in the template code that calls the bitrix:catalog.item component, you must specify "Customized_template_name".
<?
$APPLICATION->IncludeComponent(
'bitrix:catalog.item',
"catalog_item_top",
How to change catalog.item templateIn the sense of replacing with another template or editing the one that is connected?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question