By default, Silvasoft does not allow to work with variants of products. To correctly support this functionality for ApiCenter, please read the following guide to adjust Silvasoft to support variants for the webshop.
Adding of Free fields (features/attributes):
In Silvasoft you open the Product -> Setting. Next you open the tab Custom Fields.
In this screen you find the already defined fields on the item. Normally this screen is empty. We will be adding at least 3 custom field to use the logic of the ApiCenter.
In this menu at least 3 extra free fields must be added. One field to indicate whether a product is a parent product and one field to indicate to which parent product the item belongs to. The third (and fourth, fifth, etcetera) custom field is an attribute to which the product is variable. For example, the colour of a shirt, or the size of a shoe.
The first field must be a Yes / No field and the second field must be an text field which references to the parent product. The third field does not have specific requirements, other than that this must be at least one. A parent product without variant-attributes is not possible.
Filling attributes per product:
With parent/variant products you have 2 types of products for the creation of products creating products. You have the physical product, for example, the red T-shirt in size 38 (the variant). And the (what we call) the display product, this display T-shirt does not really exist as a physical product but is actually a container for all colors and sizes of this model, the parent. This display T-shirt also has no stock, but for a integration it is essential as an existing product.
The two types must be completed in the same way as the example below. Of course there are many types of parent/variant products, but the essence is always the same, you have 1 parent item and 1 variant item. In the image above you first see the reference to the container in the field "MainReference" (reference to main product). And with the second product you will see the container product with the checkmark "IsMainProduct".
Configuring in ApiCenter
When the Silvasoft environment has been fully populated with data described above, it is time to set ApiCenter to the correct configuration, to load in variant products and their parents.
First; you will need to specify which attribute is mapped to which attribute in the secondary application. Remember, an attribute is what makes a product unique, like size and colour for example. Do not include features in this mapping table.
Secondly; you need to define the features of a product. Remember a feature is what all variants of a model share, like the material the product was made from, or the country of manufacture for example.