T
T
Tanya2019-09-04 13:27:42
1C-Bitrix
Tanya, 2019-09-04 13:27:42

How to pull the layout on the bitrix.catalog complex component?

The task is to pull the layout on Bitrix, the customization of the complex component bitrix.news is described everywhere, but nowhere is there a description of how to customize files for the complex component Catalog for an online store. Help with detailed explanation
5d6fab2da8ab8245538780.png
5d6fab34af555021393246.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2019-09-04
@Tomio

In fact, customizing and pulling the layout on the catalog component is no different from pulling the layout on the bitrix.news component.
You just take it step by step, html element by html element, and pull it onto the component. It would be best to copy the component template, clear the insides of the template.php files (except for the very top), put the bare layout into them, and only then connect the data from the server (from $arResult). After that, start working on JS to connect the frontend (clicks, adding to the cart, etc.)
In fact, there is nothing complicated there, the only question is time. But usually this is painstaking work and a lot of time will have to be devoted to it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question