Im using instantsearch.js to build a custom collection/search pages for a shopify integration. When I used the refinement list for the
options.color attribute, algolia would automatically pull in the image from the variant with that color option.
The problem with this approach is that the intended behavior is to show color swatches as groups for the individual
options.color values. (i.e. Green => Olive, Kiwi, Seafoam, Forest). To achieve this, I have tagged the products with a named tag
The refinement list now works as intended, but the product images no longer reflect the selected color. So, if someone selected Green, and a product has a variant of Kiwi, that variant image doesnt seem to be shown unless that happened to be the first image in the product images array.
Is there anyway to assign something other than
options.color to be used for this feature?