Add Product

@foreach($shop_types as $key => $value) {{ $value->title }} @endforeach
@foreach($shop_types as $key => $shoptype)
{{ $shoptype->title }}
id.'_shop_id' }}> @if(!$edit->isEmpty() ) @foreach($edit as $key => $value) @php($category = DB::connection('mysql_read2')->table('categories')->where('id', $value->category_id)->first()) @if($value->shop_type_id == $shoptype->id)
@if(!empty($category->name)) {{$category->name }} @endif
@endif @endforeach
@else
{{--
--}}
@endif
@endforeach
There are errors on page
{{-- --}}