Skip to content
This repository was archived by the owner on Mar 10, 2021. It is now read-only.

Fixed handling of (l)enums in product sync

Choose a tag to compare

@hajoeichler hajoeichler released this 29 Jan 00:00
· 210 commits to master since this release

As the SPHERE API does not allow to set the labels of (l)enum typed attributes, we do patch the attributes before comparing them.
This patching works also smart within a create-or-update workflow.

The difference in JSON:
before:

{ "name": "color", "value": { "label": "Black", "key": "black" } }

now:

{ "name": "color", "value": "black" }