@if(Carbon\Carbon::now()->format('Y-m-d') < Carbon\Carbon::parse($prod->discount_date)->format('Y-m-d'))
{{-- 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)