When trying to add new size options to an existing configurable product (via edit configurations), I now get this error:
Notice: Undefined variable: product in /var/www/html/magento2/vendor/magento/module-catalog/Controller/Adminhtml/Product/Save.php on line 150
This is Magento 2.2.5 EE and that file has not been edited in any way. Basically I have a product that has 10 sizes currently, and I need to add 2 more. Is there another way of doing this outside of edit configurations?
The error in the exception log is that the image uploaded does not exist or not a file (FileSystemException). I selected images for the new size configuration.
Hello @joseph_digiovanna
Like if you want to add to add two more configurations to your product it will not allow you as there is an issue in adding configurations :
https://github.com/magento/magento2/issues/17436
Other than this you can do this by csv import.
For this go to Admin -> System -> Export -> Products -> And export that particular configued product by its sku.
After that you have to edit the csv and and assign these two sizes simple products to your configured product.
Then again import this csv from Admin -> System -> Import.
Now remove cache and you will see the two more configurations are added as expected.
Problem solved? Click Kudos & Accept as Solution!