@foreach (['danger', 'warning', 'success', 'info'] as $msg)
@if(Session::has('alert-' . $msg))
@if(!empty($productData))
@endif
{{ Session::get('alert-' . $msg) }} ×
@endif @endforeach