Magento – New product attributes value cannot be saved in magento 2

magento2product-attributesave

I have created nearly 10 new attributes under product attributes. Its added to attribute set as well.

But now, when I update the product information, the data is not getting saved. Instead, after the product shown successfully saved message, the field is kept empty.

As in the image attached below, the diamond weight is a new attribute. And value 12 is given. But not getting saved.

enter image description here

The following shows my php-info()

enter image description here

Best Answer

What I did to get this working was (Magento 2.3.2):

  1. Mark the product attribute as required setting "Values required" to "YES"
  2. Go to a product, add the attribute, select a value and save
  3. If you need the product attribute as optional go back to the attribute edit page and set Values required to "NO"
Related Topic