Sending categories to Spryker - alumio-int/spryker-templates GitHub Wiki

Description

In Alumio, go to "Integrations → Route → Akeneo Synchronize Categories to Spryker".

The task that was created through Incoming "Akeneo - Fetch - Categories" will then processed further by the Route "Akeneo Synchronize Categories to Spryker" and will be send using the Outgoing "Spryker - Send - Category".

The sending in the Outgoing will be processed by the transformer

  1. Spryker - Convert - Alumio Base Category - To Spryker Category.
  2. Spryker - Filter Category - Filter localized attributes by locale.
  3. Spryker - Prepare Send Category - Check and fill parent sort order.
  4. Spryker - Check and send - Category.
  5. Spryker - Update storage - Category full data.

Spryker - Convert - Alumio Base Category - To Spryker Category

  • This is the transformer to convert Alumio category data inside the task into Spryker category data.
  • Example of the Spryker category data is looked like

image

  • This transformer requires input on the first Value setter configuration for the store information in Spryker system and the default root parent for categories without parent from the Akeneo System, please change according your need.

image

Spryker - Filter Category - Filter localized attributes by locale

  • Spryker system need only the locale you add in the store for the synchronization to happened without error. So, this transformer is designed to only add the locale you approved with.
  • Please add or remove for locale in the first node filter.

image

  • This transformer default setting is for English and Dutch locale.

Spryker - Prepare Send Category - Check and fill parent sort order

  • The parent sort order is default with 100 at the transformer "Spryker - Convert - Alumio Base Category - To Spryker Category", this transformer is designed to increase the sort order whenever more categories being added.

Spryker - Check and send - Category

  • This transformer will check current Spryker categories from the Incoming "Spryker - Fetch - Categories" to determine either we need to create or update the category in the Spryker System.

Spryker - Update storage - Category full data

  • This transformer will save the current created or updated category to be use in future iteration of the transformer "Spryker - Check and send - Category".