I may need help... If I manually create a configurable product I see it fine in the frontend.
However when I import products from stock with my homemade script, they don't show up.
On my backend all seems fine and the product is just right, even associated products are correctly addressed. The associated simple products are fine too, when I set them to be visible they are ok and I can see them in the catalog and work fine.
My (LONG VERSION) import script (don't judge me for bad programming pratice pls):
PHP import magento2 php code
I could not ember it here since it's long
Can you help me? I think I must be doing something wrong saving the configurable product...