{{-- If This product belongs to vendor then apply this --}} @if($prod->user_id != 0) {{-- check If This vendor status is active --}} @if($prod->user->is_vendor == 2) @if(!empty($prod->features)) @foreach($prod->features as $key => $data1) {{ $prod->features[$key] }} @endforeach @endif @if(Auth::guard('web')->check()) @else @endif {{ $prod->showPrice() }} {{ $prod->showPreviousPrice() }} {{ $prod->showName() }} {{ $langg->lang56 }} @endif {{-- If This product belongs admin and apply this --}} @else @if(!empty($prod->features)) @foreach($prod->features as $key => $data1) {{ $prod->features[$key] }} @endforeach @endif @if(Auth::guard('web')->check()) @else @endif {{ $prod->showPrice() }} {{ $prod->showPreviousPrice() }} {{ $prod->showName() }} {{ $langg->lang56 }} @endif