cancel
Showing results for 
Search instead for 
Did you mean: 

Add new select option values to a configurable product attribute using script in MAGENTO2

Add new select option values to a configurable product attribute using script in MAGENTO2

I am very new to magento 2. I have a store and  added some configurable product attributes(select option type) through admin. I need to add new option values to these attributes from an excel file. I have imported the xls file in to a sample table in magento 2 DB. Now I need select the new option values from sample table and need to insert these option values into the configurable product attributes. Is there any way to do this from outside/inside magento 2. I need to do it in programmatic way. Please help.