Answer the question
In order to leave comments, you need to log in
How to link products to several sections in 1C?
I am engaged only in the site, with a 1s nickname we cannot understand each other. The problem is the following.
There is an online store, which is unloaded from 1C.
On the site and in 1C, the directory structure is the same. Each product is in its own section. In the import file from 1C to Bitrix, it looks like this:
<Группы>
<Группа>
<Ид>61c7b4f5-ad33-11dc-abd5-001636889087</Ид>
<Наименование>название-раздела</Наименование>
<Группы>
<Группа>
<Ид>3efadc59-be8b-11dc-ac05-001636889087</Ид>
<Наименование>подраздел-1-уровня</Наименование>
<Группы>
<Группа>
<Ид>3efadc5a-be8b-11dc-ac05-001636889087</Ид>
<Наименование>подраздел-2-уровня</Наименование>
</Группа>
</Группы>
</Группа>
</Группы>
</Группа>
</Группы>
.....
<Группы>
<Ид>3efadc5a-be8b-11dc-ac05-001636889087</Ид>
</Группы>
<Группы>
<Группа>
<Ид>61c7b4f5-ad33-11dc-abd5-001636889087</Ид>
<Наименование>название-раздела</Наименование>
<Группы>
<Группа>
<Ид>3efadc59-be8b-11dc-ac05-001636889087</Ид>
<Наименование>подраздел-1-уровня</Наименование>
<Группы>
<Группа>
<Ид>3efadc5a-be8b-11dc-ac05-001636889087</Ид>
<Наименование>подраздел-2-уровня</Наименование>
</Группа>
</Группы>
</Группа>
</Группы>
</Группа>
<Группа>
<Ид>1111112222233333</Ид>
<Наименование>Название-раздела</Наименование>
</Группа>
</Группы>
....
<Группы>
<Ид>3efadc5a-be8b-11dc-ac05-001636889087</Ид>
<Ид>1111112222233333</Ид>
</Группы>
Answer the question
In order to leave comments, you need to log in
Good afternoon!
Do I understand correctly what is required on the site to display the product in several sections?
Or exactly in 1C UT or what do you have there?
It's just that with each exchange, 1C overwrites the binding of goods to sections of the site (categories of goods) and updates it.
Physically, you cannot store a product in more than one product category. These are the rules of 1C UT.
You just need to link the product to several categories on the site and for all this to work with the exchange, that is, not to be overwritten every time.
If so, can I reset the code?
Maybe I'm late with the answer, but maybe someone will come in handy. You don't need to make any changes to the download codes. 1C has a built-in tool (its own exchange module) that allows you to build a section tree such as it should be on the site. You can define sections and subsections on the site, regardless of the structure in 1C, and upload to the site in this form. It is called "Group tree setup", the tree can have sections and subsections and products in any number, and products in any number of sections. More details here https://dev.1c-bitrix.ru/learning/course/?COURSE_I...
I repeat that in 1C it is not possible to do this.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question