cancel
Showing results for 
Search instead for 
Did you mean: 

lockAttribute() not disabling field in upgraded magento 2.1.5

lockAttribute() not disabling field in upgraded magento 2.1.5

Hi,

We have upgraded Magento 2.0.6 to 2.1.5, where we have used lockAttribute()  in observer to lock product default attribute whereas it is not saving field which is fine but it displaying as editable field for which we need solution and suggestion.

Please give some suggestions.

 

Thanks.

 

1 REPLY 1

Re: lockAttribute() not disabling field in upgraded magento 2.1.5

I have used Modifier and achieved disable product attribute.