@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'])
@if (!is_null($prod->discount_percent)) {{ $prod->discount_percent . '%' }}   {{ 'OFF' }} @endif
{{ $prod->capitalize_name }}
@if ($prod->previous_price != 0)

{{$scurrency->sign}}{{ $prod->previous_price }}

@endif

{{ $highlight }} @if ($curr->id != $scurrency->id) {{ $small }} @endif

@if ($admstore->reference_code == 1) @php $prod = App\Models\Product::findOrFail($prod->id); @endphp
{{ $prod->ref_code }}
@endif @if (!empty($prod->features))
@foreach ($prod->features as $key => $data1) {{ $prod->features[$key] }} @endforeach
@endif
  • @if (Auth::guard('web')->check()) @else @endif
@if ($gs->is_rating == 1)
@endif
@if ($gs->is_cart)
@if ($prod->product_type == 'affiliate') {{ __('Buy Now') }} @else @if ($prod->stock === 0) {{ __('Out of Stock!') }} @else @if ($gs->is_cart_and_buy_available) {{ __('Buy Now') }} @else {{ __('Details') }} @endif @endif @endif
@else {{ __('Details') }} @endif
@endif @else
@if (!is_null($prod->discount_percent)) {{ $prod->discount_percent . '%' }}   {{ 'OFF' }} @endif
@if ($admstore->reference_code == 1) @php $prod = App\Models\Product::findOrFail($prod->id); @endphp
{{ $prod->ref_code }}
@endif @if (!empty($prod->features))
@foreach ($prod->features as $key => $data1) {{ $prod->features[$key] }} @endforeach
@endif
  • @if (Auth::guard('web')->check()) @else @endif
@if ($gs->is_rating == 1)
@endif
{{ $prod->capitalize_name }}
@if ($prod->previous_price != 0)

{{$scurrency->sign}}{{ $prod->previous_price }}

@endif

{{ $highlight }} @if ($curr->id != $scurrency->id) {{ $small }} @endif

@if ($gs->is_cart)
@if ($prod->product_type == 'affiliate') {{ __('Buy Now') }} @else @if ($prod->stock === 0) {{ __('Out of Stock!') }} @else @if ($gs->is_cart_and_buy_available) {{ __('Buy Now') }} @else {{ __('Details') }} @endif @endif @endif
@else {{ __('Details') }} @endif
@endif @endif {{-- If This product belongs admin and apply this --}} @else
@if (!is_null($prod->discount_percent)) {{ $prod->discount_percent . '%' }}   {{ 'OFF' }} @endif
@if ($admstore->reference_code == 1) @php $prod = App\Models\Product::findOrFail($prod->id); @endphp
{{ $prod->ref_code }}
@endif @if (!empty($prod->features))
@foreach ($prod->features as $key => $data1) {{ $prod->features[$key] }} @endforeach
@endif
  • @if (Auth::guard('web')->check()) @else @endif
@if ($gs->is_rating == 1)
@endif
{{ $prod->capitalize_name }}
@if ($prod->previous_price != 0)

{{$scurrency->sign}}{{ $prod->previous_price }}

@endif

{{ $highlight }} @if ($curr->id != $scurrency->id) {{ $small }} @endif

@if ($gs->is_cart)
@if ($prod->product_type == 'affiliate') {{ __('Buy Now') }} @else @if ($prod->stock === 0) {{ __('Out of Stock!') }} @else @if ($gs->is_cart_and_buy_available) {{ __('Buy Now') }} @else {{ __('Details') }} @endif @endif @endif
@else {{ __('Details') }} @endif
@endif