What I want to do: I'm creating a product configurator. I'm stuck since 10 hours on what for you will be very simple but I tried it on my own. You can choose the color of your car and put several parts on it with a repeater. The items will be put in the shopping cart and can be bought. https://www.caporace.com/konfigurator-mittelstreifen What works until now: Choosing the color of the car and displaying the right picture.
Putting the products that have been chosen in the repeater in the shopping cart. Showing prices and so on
My problem and what it should do: We have 20 products in 6 colors. As you can imagine it would be hell if I would create a product for every color. This would be 120 products. So I have created two datasets. 1 for showing the Choice Image in the repeater in the right color of the product and the color of the car (#VorschauBilder). The 2. dataset contains images about the picture that will be shown in the main picture. My problem is that when I connect the dataset for the choiceimage to the repeater it only shows the image of the first picture of the dataset continiously. (Look in pictures below). So I tried it without connecting it to the repeater and tried it with coding. the problem is that I dont know how to load the datasets. I tried vorschaubilder.mainMedia but it dont show them. At some point the dataset "vorschaubilder" have to be loaded or something so it can be shown.