
5lb Fruiting Block
Depending on the collection viewed we want to display a different image on the collection products. It is a commune case, some products can be used in different ways or can have multiple variants. When seeing a collection it makes sense for the user to see the appropriate image. This improves the user experience and provide a better way of showcasing your products. Demo White chairs collection showing default featured product image Black chairs collection showing matched variant product image The Logic Match the collection by its handle. On that collection we will show different product images. Find the custom variant/image based on an option name and option value. Modify the collection product item markup to use the matched variant. The scenario We have 2 collections: white chairs and black chairs. Both collections fully or partial contain the same products. On white chairs collection we want to show the featured product image. On black chairs collection we want to show the black p