How does webflow pull variants data?

A client of mine recently switched to webflow cms.
There he has a big list of products with around 4 variants per product.

That list is displayed in a products overview page, where each product’s main image is shown + all the materials the product is available in.

→ What my client wants to do is, that when you press on one of materials the main image should switch to the according variant.

Problem is: How do you access the variants data of a product, within a cms list.

On the product pages webflow seems to pull the image data somewhere from the backend. The image url simply seems to be replaced by some code, once variants change.

Link →