cancel
Showing results for 
Search instead for 
Did you mean: 

How To Add Magento 2 Configurable Product Programmatically

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

How To Add Magento 2 Configurable Product Programmatically

I am trying to add a configurable product programmatically in Magento 2. I basically need to have multiple products with colors linked. I have code for a simple product, but I can't seem to find anything for Magento 2 that shows how to make a configurable product. Anyone know how to do this or know where I can find some sample code for this?