Answer the question
In order to leave comments, you need to log in
How to place one product on two sites in Bitrix?
Situation: there is a site on Bitrix (online store) with a small catalog. It is planned to make a second site with a catalog there, but with other headings. Those. two different sites under different addresses, but inside the same installation.
It is necessary: to make a unique rubricator on each site. The list of goods is general (now it is already on the first site).
How to bind a product to two headings? Which way to look?
Answer the question
In order to leave comments, you need to log in
Of course, it’s better not to do this, but sections can have a custom property (for example, UF_SITE) in which to store a link to the site and in component templates display only those sections that have a link to the current site.
Aleksey Emelyanov has already suggested a normal solution, but it seems to me that it will not be very convenient from the point of view of management.
I would make 2 root sections - one for one site, the other for another, respectively, and I would already place sections of the rubricator in them. But in implementation it will be more difficult.
PS
If you need two different categories, you have something wrong with the classification of goods.
If your product is accounted for somewhere and unloaded, then the best thing is through custom properties.
If the product is not accounted for, then create a second infoblock and duplicate everything you need. This solution is for those who do not even know the basics of Bitrix
In any case, you will need to customize the components of the catalog (if, of course, you do it on them). IB elements can be linked to several sections, so there is no need to double the base, as suggested above.
1. The information block of goods must be linked to all sites where these goods will be displayed.
2. IB root sections are created for a specific site. That is, the IS structure will be as follows:
сайт 1
умывальники
унитазы
золотые
серебряные
сайт 2
ящики
металлические
пластиковые
коробки
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question