@php if ($gs->switch_highlight_currency) { $highlight = $prod->firstCurrencyPrice(); $small = $prod->showPrice(); } else { $highlight = $prod->showPrice(); $small = $prod->firstCurrencyPrice(); } @endphp {{-- 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(isset($_GET['max'])) @if($prod->vendorPrice() <= $_GET['max'])
@endif @else @endif @endif {{-- If This product belongs admin and apply this --}} @else @endif