Hi,
I hope someone can help us solve our issue. We're on Magento 2.4.0 and having issues to get small image-role for category page instead of base image-role.
We're using:
- small image-role for category page with product image ratio 600x900
- base image-role for product page with product image ratio 1080x1080
When opening category page all is fine because small image-role of configurable product is displayed by default.
Our problem occurs when a user selects different swatch (color) in grid of a product - the changed product image is displayed but with the base image-role instead of the small image-role. As we've different ratios this breaks the design on the category.
We double checked with a demo shop and this seems to be Magento default behavior:
https://mag2opensource.basecom.de/women/tops-women/tees-women.html
But based on Magento specification we expected that small image-role is always used on category page: https://docs.magento.com/user-guide/catalog/product-image-upload.html
Has anyone faced similar problem and has an idea how to change or has already implemented such a change?
Thanks for help.
Georg