Skip to content

Not possible to use Visual Swatch attributes #691

@simonrl

Description

@simonrl

Environment and configuration

  1. Magento 2 Open Source 2.4.6-p3
  2. Akeneo CE 7.0.13
  3. Connector 104.3.7

Steps to reproduce

  1. have "Simple Select" attribute in Akeneo
  2. configure it as "Visual Swatch" in the Akeneo-Connector-Configuration
  3. import everything
  4. add colors / images to swatch options in Magento
  5. import "option"

Expected result

  1. The swatch colors/images should stay intact

Actual result

  1. The colors/images are removed

Additional info

We also tried to remove the attribute again from the Akeneo-Connector-Configuration's attribute type mapping, which results in: "option"-import works fine, but "attribute" import changes the attribute type in Magento from "Visual Swatch" to "Drop Down". After this is changed manually, the swatch colors/images are still there.

The comment for the Job/Option::insertSwatchOption() reads

Insert Swatch options Values for swatch attributes (visual swatch have no data on V1)

...so how are we supposed to handle Visual Swatches, if no configuration seems to work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions