Spartoo - Attributes - Variations

Spartoo accepts size product variations.

To manage your variations, fill in the following fields:

  • size_name: product size. ;This data is mandatory if the product is available in different sizes.
  • parent_id: parent identifier (a common identifier for all the variations of a product). This field must be empty if your product does not have variations. Spartoo may refer to this field as "reference_partenaire".
  • color_id: product color. This data is highly recommended for all products ( including parent products) as it is used for the color search filter. If this data is not specified, your product will not show up when a customer uses a color filter.
  • product_price: The price must be filled for all the products, including the parent products.

What about color variations?

Spartoo only handles size variations but can recognize the different colors available a product when the title (attribute "product_name") is identical for several products. In this case, Spartoo indicates the other colors available at the bottom of each product sheet.

Alternatively, if you want to apply variations on size AND color for the same product, you need to create a parent ID for each colors.

Example: In a catalogue, a ski jacket has one parent ID "id 1111" for several sizes and colors.

Product ID 1111_1 = Jacket color Black and size M
Product ID 1111_2 = Blue color jacket and size M
Product ID 1111_3 = Jacket color Black and size L
Product ID 1111_4 = Blue color jacket and size L

A condition must be applied on attribute "parent_id" to add the color as below:

mceclip0.png

Which gives $PARENT_ID_$COLOR (to be adapted with your own data)

The 1111_1 product (the Jacket color Black and size M) now has the parent_id 1111_BLACK and can have a size variation only on Spartoo.

What to do with parent products?

For Spartoo, the value sent in the "parent_id" field for child products must be the same as the product ID of the parent product that is attached to them.

Your catalogue may not exactly match with Spartoo's expectations. Depending on the case, Lengow will apply a workaround to make the publication possible with the values available in your catalogue. Identify the configuration that corresponds to your products catalogue below and follow the instructions associated with it:

  • A.1 case / The parent product unique ID is identical to the parent ID of the child products attached to it. The parent product does not have a Parent ID.
    Send the parent line in the optimized feed and leave the "parent_id" field empty for the product line. Spartoo will be able to link your parent product to the child products.

  • A.2 case / The parent product unique ID is identical to the parent ID of the child products attached to it. For the parent product, the unique ID is identical to the parent ID.
    OR
    B case / The "Parent ID" field of the parent product and the child products attached to it are identical. For the parent products, the unique identifier is not identical to the Parent ID.

    For these two cases: Send the parent line in the optimized feed and send the value of the parent ID in the "parent_id" field for the parent and child lines. The first line containing the parent id will then be considered as the parent record for the variations associated with it.

  • C case/ There is no parent line in your catalogue. The child products corresponding to the variations of the same product all have an identical parent id.
    Send the value of the parent ID in the "parent_id" field for all these products.
    Lengow will consider that the first child found in the product catalog is the parent product and Spartoo will publish them as such.

  • D case / Your products are declined in your products catalogue, but no value allows you to group them together to inform Spartoo that they belong to the same variation.
    Exclude the parent lines that are present in your catalogue. Child lines will be published as simple products on the marketplaces.

spartoo parents.png

Parent products must be included in the feed sent to Spartoo, if your catalogue contains any.
-

Articles in this section

See more
Our Support hours:
9 a.m. to 6:30 p.m. CET Monday through Friday