Show master product when no filter is active, but all variants when filter is active
We can already choose how we want to show the listings in the storefront: either show the master product or show all variants individually. We now ran into the following problem:
Example: We sell clothes. One product is a shirt in red, blue and green and in the sizes S, M, L. We display only the master products on the listing page. For the master product, we chose a master image. All variants have different images that show the shirt in the correct color.
A customer now selects size M in the filter "size". Shopware now shows one variant in the listing that is red and is available in M, it shows the image of the red shirt. But the same shirt is also available in blue and green in size M. However, these variants are not visible in the filter results. This makes the customer think that the shirt is only available in size M in the color red.
It would be nice if we had the chance to display only the master products when no filter is active but to show all individual variants as filter results.