T
T
trizor2019-08-07 20:56:06
1C-Bitrix
trizor, 2019-08-07 20:56:06

How to find out the group_id of product offers in 1c-bitrix to generate a yml file?

I want to generate a yml upload file, but I can’t figure out where to get the group_id (gluing offers of product offers)
is available: offer id="175650" group_id="#GROUPID#" available="true"
and I need: offer available="true" group_id ="9911261" id="1014497243"

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vyacheslav Shevchenko, 2019-08-08
@WebDev2030

Excerpt from documentation :

The element combines all sentences that are variations of the same model and must have the same value. The value must be an integer, maximum 9 characters.
It is an attribute of the offer element.

If I understand correctly, then this is just the ID of the main product. It turns out that group_id will be equal to the trade offer property CML2_LINK.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question