Skip to content

Visual Swatches not showing swatch color in admin #11828

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lee586 opened this issue Oct 27, 2017 · 13 comments
Closed

Visual Swatches not showing swatch color in admin #11828

lee586 opened this issue Oct 27, 2017 · 13 comments
Labels
Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed

Comments

@lee586
Copy link

lee586 commented Oct 27, 2017

Preconditions

  1. Magento CE 2.2
  2. PHP 7.1.0

Steps to reproduce

  1. Inside admin, go to Stores->Product and click on an attribute that contains visual swatches.

Expected result

  1. Visual Swatches that have a color assigned should show that color in the swatch box.

Actual result

  1. Although the color swatch values are being saved, the visual representation of the color in the box is colorless.
    swatches
@magento-engcom-team magento-engcom-team added Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch labels Oct 27, 2017
@magento-engcom-team
Copy link
Contributor

@lee586, thank you for your report.
We were not able to reproduce this issue by following the steps you provided. If you'd like to update it, please reopen the issue.
We tested the issue on 2.3.0-dev, 2.2.0, 2.1.9

@leoncito73
Copy link

leoncito73 commented Nov 1, 2017

I have the same issue.
Magento 2.2.0
PHP 7.1.0
In front view the swatches shown correctly but in admin panel no.
When you add the new color (by image or picking the color) it shows, but when you save the attribute, it disappear.

I prove to reindex by command but nothing fix.
captura de pantalla 2017-11-01 a las 10 00 49
captura de pantalla 2017-11-01 a las 10 01 21

captura de pantalla 2017-10-27 a las 16 25 33

@AgentGod
Copy link

AgentGod commented Nov 5, 2017

php7 0 25

Similar issue here. This one on top is with php7.1.11. The swatches are saved but not visible.

After changing the php version to 7.0.25 and refresh the page, I have this one below:

php7 1 11

Another problem with swatches: I have changed text swatches to color swatches, but on front end in layered nav, I still see them as Visual swatches. I think the problem is related or similar to this issue #3139

I don't have product with option to see what is the status on product pages.

@matin73
Copy link

matin73 commented Nov 10, 2017

same issue on php 7.1.11

@alex4allofyou
Copy link

I also have this issue, PHP7.1.9.

Also, the dropdown has a lower z-index than the rest, so if you have not many swatches or choose one at the bottom you cannot see all options.

zindex

@GlobalOutsourcing
Copy link

GlobalOutsourcing commented Dec 5, 2017

Just want to confirm the same issue as above with PHP Version 7.1.1 with Magento Verison 2.2.1.

@chris-pook
Copy link
Contributor

This is an issue with the way PHP7.1 handles strings differently. This issue should not be closed. I have added a PR to fix the issue here: #13093

@ishakhsuvarov
Copy link
Contributor

@chris-pook Thank you for providing the fix. Reopened while it's in the delivery process.

@magento-team
Copy link
Contributor

Hi @lee586. Thank you for your report.
The issue has been fixed in #13101 by @chris-pook in 2.2-develop branch
Related commit(s):

The fix will be available with the upcoming patch release.

@magento-team magento-team added the Fixed in 2.2.x The issue has been fixed in 2.2 release line label Jan 17, 2018
@magento-engcom-team
Copy link
Contributor

Hi @lee586. Thank you for your report.
The issue has been fixed in magento-engcom/magento2ce#1302 by @magento-engcom-team in 2.3-develop branch
Related commit(s):

The fix will be available with the upcoming patch release.

@magento-engcom-team magento-engcom-team added the Fixed in 2.3.x The issue has been fixed in 2.3 release line label Jan 29, 2018
@EBotha1
Copy link

EBotha1 commented Jun 28, 2018

I have the same issue with Magento2 and RestAPI, please check here
@magento-admin @magento-devops @magento-engcom-team Please assist

@matheus0608
Copy link

not work

@vishalbaytech
Copy link

How do I show swatchvisual color in admin section as well?
screenshot-74 208 252 21-2020 02 11-17_14_38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed
Projects
None yet
Development

No branches or pull requests