cancel
Showing results for 
Search instead for 
Did you mean: 

How To Add Magento 2 Configurable Product Programmatically

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?