Hey Florian,

Thanks for the article! I think this is closest I got trying to achieve the following..

I've already loaded all products to WooCommmerce, and all attributes (size, colour etc.) are entered. Further, checkbox for the "used for variations" is selected for the relevant ones (there are a few that are not used for variations, they are there just for info).

So, can I use above code to generate all variations for all products? There are 1000+ products, and some variations would exceed 50, so doing this manually is a massive job. I'm trying to find a way to automate that part, and above article sounds like it does exactly that, although I'm not quite sure how to implement it.

I would appreciate your comment and guidance on how this code could be applied.

Many thanks in advance!