How to automatically fill main image relationship when building child products?


#1

Let’s say the base product has the main image and then based on the variations we generate child products. How to populate the main image relationship of child products?


#2

Hi @dmitry

When you build child products they don’t inherit the main image from the parent product, so these will need to uploaded to each individual product.

Hope this helps

Drew


#3

Is it a bug/defect? I mean you created product generation mechanism, but what’s the point if then I still need to go product by product and assign images?


#4

Hi @dmitry

This is the way it has been designed. Once the child products are created they are treated as their own product in their own right. I can understand how this may be frustrating in some cases but I think the engineers who designed this sytem wanted to keep it as flexible as possible based on some lessons we learned with our V1 API.

If you would like to offer some feedback I can pass it back to our product team to look at.

Thanks

Drew


#5

Just to offer a bit more explanation, with the child items becoming unique products, this allows them to have a unique image for each product. If you were to inherit the main image child products would have to display that same image.

As an example a Large blue t-shirt would have a different image to a Small green t-shirt.

Hope this helps

Drew