@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($gs->is_rating == 1)
    @endif

    {{ $highlight }} @if(!is_null($prod->discount_percent)) {{ "-".$prod->discount_percent."%"}} @endif @if($curr->id != $scurrency->id){{ $small }} @endif

    {{ mb_strlen($prod->capitalize_name,'utf-8') > 35 ? mb_substr($prod->capitalize_name,0,35,'utf-8').'...' : $prod->capitalize_name }}

  • @endif {{-- If This product belongs admin and apply this --}} @else
  • @if($gs->is_rating == 1)
    @endif @if(!config("features.marketplace"))

    {{ $highlight }} @if(!is_null($prod->discount_percent)) {{ "-".$prod->discount_percent."%"}} @endif @if($curr->id != $scurrency->id){{ $small }} @endif

    @else

    {{ $prod->showVendorMinPrice() }} até {{ $prod->showVendorMaxPrice() }} @if($curr->id != $scurrency->id) {{ $small }} @endif

    @endif

    {{ mb_strlen($prod->capitalize_name,'utf-8') > 35 ? mb_substr($prod->capitalize_name,0,35,'utf-8').'...' : $prod->capitalize_name }}

  • @endif