0

I have upgraded magento 2 from 2.2.8 to 2.3.3. After upgrading, configurable product thumbnail images are not loading in the frontend. When changing the configurable variations, images are not changing in the product page.

Any help on this issue?

Thanks in advance.

1
  • remove the pub/static folder except .htaccess, create a new static folder, put that .htaccess inside it, rm -rf var/cache/ generated var/page_cache/ var/view_preprocessed/ var/di run this in ssh, upgrade and redeploy. – Shyam Krishna Sreekumar Nov 12 '19 at 10:51
0

I think this is a magento issue . Check this link https://github.com/magento/magento2/issues/19710 . After the upgrade it generates wrong hash on the cache .

If you run: bin/magento catalog:image:resize , you will have the images back .

But this is not a proper solution . Suggestion :

  • If you are enterprise you can make magento a ticket , they can provide a patch for that .

  • Follow the github issue https://github.com/magento/magento2/issues/19710 and make the patch with their solutions .

  • Upgrade the magento to 2.3.3 (not sure if it is fixed there , but they have made progress on catalog:image:resize command)

2
  • I have already run the command bin/magento catalog:image:resize. But no use. The issue is not fixed. I have already upgraded magento to 2.3.3 – user78358 Nov 12 '19 at 9:29
  • Check the github issue and try to modify the etc/view.xml based on their suggestions – Ylgen Guxholli Nov 12 '19 at 9:36
0

In magento2 backend, for swatch attribute, there is an option in the product attribute section, Update Product Preview Image. Enabling this option, images are changing in the frontend.

Update Product Preview Image

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.