You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
configure it as "Visual Swatch" in the Akeneo-Connector-Configuration
import everything
add colors / images to swatch options in Magento
import "option"
Expected result
The swatch colors/images should stay intact
Actual result
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?
The text was updated successfully, but these errors were encountered:
I could reproduce this issue with
CE 7.0.66
magento 2.4.7
connector 104.3.7
Annoying because you select all the colors for each swatch and in 1 second your work is gone.
edit: after a closer look, this line and the next should be properly changed:
so that other types are checked as well like SWATCH_TYPE_VISUAL_ATTRIBUTE_FRONTEND_INPUT
and the correspondent type is inserted like SWATCH_TYPE_VISUAL_COLOR or SWATCH_TYPE_VISUAL_IMAGE, etc.
@simonrl you may try the aforementioned PR that fixes the color/images issue.
Tested with m2 2.4.7, php 8.3, akeneo 7.0.66 with sample data, connector 104.3.7
Environment and configuration
Steps to reproduce
Expected result
Actual result
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...so how are we supposed to handle Visual Swatches, if no configuration seems to work?
The text was updated successfully, but these errors were encountered: