Add [Product_Code] to fillable property to allow mass assignment on [App\products]. code example Example: to fillable property to allow mass assignment on protected $fillable = ['title'];