V
V
VitStar2019-08-20 15:19:28
1C-Bitrix
VitStar, 2019-08-20 15:19:28

How to display the elements of a subsection if the parent section has been changed?

The catalog:section component
The parent section does not display products from subsections.
If these subsections already existed before and were switched to this parent section.
But if you resave these products (Just go to the product and save), then this product is displayed in the parent section.
Also in the parent section, products that were already created in the subsection of the parent section are displayed.
For example we have 3 sections. Section clothes, pants and jackets. Clothes and pants are on the same level, and sweatshirts are a subsection of the "Clothes" section. Products from the sweatshirts section are displayed in the clothing section (since the sweatshirts section is a subsection). In the admin panel, change the parent section of the "Pants" section to "Clothes" (Now the pants section is the "Clothes" subsection). Items from the pants section are not displayed. Why? But if we resave any product from the "Pants" section, it will be displayed in the "Clothes" section. How can I make the products appear automatically?

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