I tried to change a dropdown attribute, for color, to a visual swatch on a test magento2 environment but cannot get it working, does anyone have some advice?

When I changed the color attribute to a visual swatch, it broke the relationship for all configurable products in the store with their child products.

  • They were no longer displayed on the product edit page for the parent configurable product.
  • And on the storefront, the configurable product still showed the size dropdown but just an empty field where the color options should be. enter image description here

After clearing the cache and re-indexing, the issue still remains.

I tried creating the child variation products again, and this time they displayed correctly on the backend and the storefront, but empty fields also appeared on the storefront. enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.