How to work with variants

How to work with variants

To begin, see what “variants” look like within the different formats.

:woman_teacher: How different formats work with variants

:green_circle: Structure A

Some formats (such as Upgates, or Samba) use elements immersed within the main item - let’s call it the “parent” - to define item variants.

:large_blue_circle: Structure B

In contrast, most other formats (e. g. Google) use data in a special element ITEMGROUP_ID (or item_group_id) to define the item variant.

The same value in the ITEMGROUP_ID element for multiple items defines it is the same item, only in a different variant.

What is the current status of MERGADO variant processing

:one: MERGADO 1 (current status)

  • In MERGADO 1, it is not possible to fully handle variants in both structures.
  • It can save and export data in structure B, but it can only import and convert data in structure A to structure B.
  • If an item in the input has “variants” (for example, the item color), it is automatically converted to separate items within MERGADO.
  • Example: For example, we have 5 items in the input feed, where each item has 4 color variations. Therefore, 20 separate products will now be displayed within MERGADO 1.

:two: MERGADO 2 (the current status)

  • MERGADO 2 can already correctly process variants in both A and B structures, but it cannot yet convert them between each other (within the processing of the same format on input and output).
  • Example:
    1. A situation that is possible: data processing between Structure A → Structure A
    2. A situation that is not possible: data conversion between Structure B → Structure A

:three: MERGADO 2 (the goal state)

  • Within MERGADO 2, you can work efficiently with variants in both structures. It makes conversion between all formats possible.

If you have questions about setting up MERGADO 2, please contact our support, or follow the forum category.

Thank you for continuing to help us improve MERGADO.