0

We have upgraded Magento 2.2.3 CE to Magento 2.3.1 CE recently we have been facing an issue i.e the visual swatch images are not displaying for the configurable product options on the frontend details page. Visual swatch images are showing blank. We did reindex and clear flush cache with no luck. Verified the same scenario on default magento2.3.1 CE on the local instance it's working as expected.

Please note for a simple product level we selected swatch image option settings as well.

We have an attribute called floats_floatline_size with below settings are at the attribute level

Update Product Preview Image: Yes

Use Product Image for Swatch if Possible: Yes

Please find the attached screenshots and review them and suggest.

Admin end attribute:

Admin end attribute

Configurable product options at admin end:

Configurable produt options at admin end

Frontend configurable product:

Frontend configurable product

  1. Executed command : php bin/magento catalog:images:resize the catalog/product cache images are generated but not calling in the frontend.

  2. varnish & cloud front cache from magemojo server UI interface but No luck

  3. Not facing this issue on local same instance with same code and modules.

Please review and advise?

9
  • You may need to reindex and recache your website for these to work, if you are using varnish you may need to rm -rf var/cache/ Commented Aug 21, 2019 at 10:22
  • yes @DavaGordon I followed the above steps but no luck is there any default magento 2 issue after upgrade. can u please advise Commented Aug 21, 2019 at 12:25
  • You could possibly try and regenerate the images using the following command "bin/magento catalog:image:resize" without the quotes Commented Aug 21, 2019 at 13:23
  • @DavaGordon i have executed above command followed same & removed i copied luma theme view.xml and paste it to my custom theme & flushed cache and cleaned varnish & backend cleared image cache but no luck gofile.io/?c=37r7Ty Commented Aug 21, 2019 at 19:53
  • If you inspect the swatches and copy the source of one is it valid as may be as simple as a permission issue Commented Aug 22, 2019 at 6:19

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.