Sending product types into CommerceTools - alumio-int/akeneo-commercetools-templates GitHub Wiki

Description

In Alumio, go to "Integrations → Route → Synchronize CommerceTools Product Types - From Akeneo Families and Attributes" Then go to the outgoing "CommerceTools - Send - Product types".

This Outgoing will transform the Alumio Base Families and attributes into CommerceTools product types and check to create or update product types with the data from this outgoing previous iteration.

There some transformer inside this outgoing to send:

  1. Alumio Base - Convert Values - Family - Attributes - Options - Localization localeCode into CommerceTools localeCode.
  2. CommerceTools - Convert - Product types from Alumio base Family.
  3. CommerceTools - Check and send - Product type.

Alumio Base - Convert Values - Family - Attributes - Options - Localization localeCode into CommerceTools localeCode

  • Convert all localCode into CommerceTools inside the Alumio Base Family and Attributes.

CommerceTools - Convert - Product types from Alumio base Family

  • Convert all localCode into CommerceTools inside the Alumio Base Family and Attributes.
  • It will call other transformer to convert the Attributes:
    • "CommerceTools - Convert - Attributes from Alumio Base" this transformer will convert Alumio base Attributes into CommerceTools Attributes.
    • It will call other transformer to convert the Attributes options if exists:
      • "CommerceTools - Convert - Lenum from Alumio Base" Convert Alumio base option into lenum value

CommerceTools - Check and send - Product type

  • Check and send they payload for Product Type.
  • It will call other transformer for update process:
    • "CommerceTools - Prepare Update - Product type - Check name" this transformer will check the product type for name change and add to actions.
    • "CommerceTools - Prepare Update - Product type - Check description" this transformer will check the product type for description change and add to actions.
    • "CommerceTools - Prepare Update - Product type - Check attributes" this transformer will check all the attributes for any change and add them into actions. It will call several transformer to achieve this. Because the complexicity of how this work, please contact Alumio if you need any modification.