{{ $productt->name }}

{{ App\Models\Rating::ratings($productt->id) }} ★

{{ $productt->showPrice() }} {{ $productt->showPreviousPrice() }} {{ round($productt->offPercentage() )}}% @lang('Off')

@if($productt->type == 'Physical') @if($productt->emptyStock())
{{ ('Out Of Stock') }}
@else
{{ $gs->show_stock == 0 ? '' : $productt->stock }} {{ ('In Stock') }}
@endif @endif {{-- PRODUCT OTHER DETAILS SECTION --}}
    @if($productt->ship != null)
  • {{ __('Estimated Shipping Time:') }} {{ $productt->ship }}
  • @endif @if( $productt->sku != null )
  • {{ __('Product SKU:') }} {{ $productt->sku }}
  • @endif {{-- PRODUCT LICENSE SECTION --}} @if($productt->type == 'License') @if($productt->platform != null)
  • {{ __('Platform:') }} {{ $productt->platform }}
  • @endif @if($productt->region != null)
  • {{ __('Region:') }} {{ $productt->region }}
  • @endif @if($productt->licence_type != null)
  • {{ __('License Type:') }} {{ $productt->licence_type }}
  • @endif @endif {{-- PRODUCT LICENSE SECTION ENDS--}}
{{-- PRODUCT OTHER DETAILS SECTION ENDS --}}
@if ($productt->stock_check == 1) @if(!empty($productt->size))

{{ __('Size :') }}

    @foreach(array_unique($productt->size) as $key => $data1)
  • {{ $data1 }}
  • @endforeach
@endif {{-- PRODUCT COLOR SECTION --}} @if(!empty($productt->color))
{{ __('Color :') }}
    @foreach($productt->color as $key => $data1)
  • @endforeach
@endif {{-- PRODUCT COLOR SECTION ENDS --}} @else @if(!empty($productt->size_all))

{{ __('Size :') }}

    @foreach(array_unique(explode(',',$productt->size_all)) as $key => $data1)
  • {{ $data1 }}
  • @endforeach
@endif @if(!empty($productt->color_all))
{{ __('Color :') }}
    @foreach(explode(',',$productt->color_all) as $key => $color1)
  • @endforeach
@endif @endif {{-- PRODUCT STOCK CONDITION SECTION --}} @if(!empty($productt->size)) @else @if(!$productt->emptyStock()) @elseif($productt->type != 'Physical') @else @endif @endif @if($productt->is_discount==1 && $productt->discount_date >= date('Y-m-d') && $productt->user->is_vendor==2)
@endif {{-- PRODUCT STOCK CONDITION SECTION ENDS --}}
@if($productt->product_type != "affiliate" && $productt->type == 'Physical')
@endif {{-- PRODUCT QUANTITY SECTION ENDS --}} @endif
@if(Auth::check()) @else @endif @if ($productt->type != "Listing") @endif
@if($gs->is_report) {{-- PRODUCT REPORT SECTION --}} @if(Auth::guard('web')->check()) @else @endif {{-- PRODUCT REPORT SECTION ENDS --}} @endif @if (!empty($productt->attributes)) @php $attrArr = json_decode($productt->attributes, true); @endphp @endif @if (!empty($attrArr))
@foreach ($attrArr as $attrKey => $attrVal) @if (array_key_exists("details_status",$attrVal) && $attrVal['details_status'] == 1)
{{ str_replace("_", " ", $attrKey) }} :
@foreach ($attrVal['values'] as $optionKey => $optionVal)
first ? 'checked' : '' }}>
@endforeach
@endif @endforeach
@endif
{{ __('Sold By') }}
@if( $productt->user_id != 0) @if(isset($productt->user)) {{ $productt->user->shop_name }} @endif @if($productt->user->checkStatus())
@endif @else {{ App\Models\Admin::find(1)->shop_name }} @endif
@if( $productt->user_id != 0)

{{ App\Models\Product::where('user_id','=',$productt->user_id)->get()->count() }}

@else

{{ App\Models\Product::where('user_id','=',0)->get()->count() }}

@endif
{{ __('Total Items') }}
@if( $productt->user_id != 0)
  • {{ __('Visit Store') }}
  • @endif {{-- Visit Store Ends--}} @if($gs->is_contact_seller == 1) {{-- Contact Seller --}} @if(Auth::check()) @if($productt->user_id != 0) {{ __('Contact Seller') }} @else {{ __('Contact Seller') }} @endif @else {{ __('Contact Seller') }} @endif @endif
    @if($productt->user_id != 0) @if(Auth::check()) @if(Auth::user()->favorites()->where('vendor_id','=',$productt->user_id)->get()->count() > 0) {{ __('Favorite') }} @else {{ __('Add To Favorite Seller') }} @endif @else {{ __('Add To Favorite Seller') }} @endif @endif {{-- Favorite Seller Ends--}}
    @if(!empty($productt->whole_sell_qty))
    {{ __('Wholesell') }}
    • {{ __('Quantity') }}
      {{ __('Discount') }}
    • @foreach($productt->whole_sell_qty as $key => $data1)
    • {{ $productt->whole_sell_discount[$key] }}% {{ __('Off') }}
    • @endforeach
    @endif
    {{-- MESSAGE MODAL --}} {{-- MESSAGE MODAL --}}
    {{-- MESSAGE MODAL ENDS --}} {{-- MESSAGE MODAL ENDS --}}