@foreach($product->galleries as $gal) @endforeach

{{ $product->name }}

{{-- STOCK SECTION --}} @if($product->type == 'Physical') @if($product->emptyStock())
  • {{ __('Out Of Stock') }}

  • @else
    {{ $gs->show_stock == 0 ? '' : $product->stock }} {{ __('In Stock') }}
    @endif @endif {{-- STOCK SECTION ENDS --}} {{-- REVIEW SECTION --}}
    {{ App\Models\Rating::ratingCount($product->id) }} {{ __('Review') }}
    {{-- REVIEW SECTION ENDS --}} {{-- PRODUCT CONDITION SECTION --}} @if($product->product_condition != 0)
    {{ $product->product_condition == 2 ? __('New') : __('Used') }}
    @endif {{-- PRODUCT CONDITION SECTION ENDS --}} {{-- PRODUCT WISHLIST SECTION --}}
    @if(Auth::check()) @else @endif
    {{-- PRODUCT WISHLIST SECTION ENDS --}} {{-- PRODUCT COMPARE SECTION --}} {{-- PRODUCT COMPARE SECTION --}} {{-- PRODUCT VIDEO DISPLAY SECTION --}} @if($product->youtube != null) @endif {{-- PRODUCT VIDEO DISPLAY SECTION ENDS --}}
    {{-- PRODUCT PRICE SECTION --}}
    {{ $product->showPrice() }}
    {{ $product->showPreviousPrice() }}
    {{-- PRODUCT PRICE SECTION ENDS --}} {{-- PRODUCT SIZE SECTION --}} @if ($product->stock_check == 1) {{-- PRODUCT SIZE SECTION --}} @if(!empty($product->size))

    {{ __('Size :') }}

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

    {{ __('Size :') }}

      @foreach(array_unique(explode(',',$product->size_all)) as $key => $data1)
    • {{ $data1 }}
    • @endforeach
    @endif @if(!empty($product->color_all))
    {{ __('Color :') }}
      @foreach(explode(',',$product->color_all) as $key => $color1)
    • @endforeach
    @endif @endif {{-- PRODUCT COLOR SECTION ENDS --}} {{-- PRODUCT STOCK CONDITION SECTION --}} @if(!empty($product->size)) @else @if(!$product->emptyStock()) @elseif($product->type != 'Physical') @else @endif @endif {{-- PRODUCT STOCK CONDITION SECTION ENDS --}} {{-- PRODUCT ATTRIBUTE SECTION --}} @if (!empty($product->attributes)) @php $attrArr = json_decode($product->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 {{-- PRODUCT ATTRIBUTE SECTION ENDS --}} {{-- PRODUCT ADD CART SECTION --}} @if(!$product->emptyStock())
    @endif {{-- PRODUCT ADD CART SECTION ENDS --}} {{-- PRODUCT OTHER DETAILS SECTION --}} @if($product->ship != null)
    {{ __('Estimated Shipping Time:') }} {{ $product->ship }}
    @endif @if( $product->sku != null )
    {{ __('Product SKU:') }} {{ $product->sku }}
    @endif {{-- PRODUCT OTHER DETAILS SECTION ENDS --}} {{-- PRODUCT LICENSE SECTION --}} @if($product->type == 'License') @if($product->platform != null)
    {{ __('Platform:') }} {{ $product->platform }}
    @endif @if($product->region != null)
    {{ __('Region:') }} {{ $product->region }}
    @endif @if($product->licence_type != null)
    {{ __('License Type:') }} {{ $product->licence_type }}
    @endif @endif {{-- PRODUCT LICENSE SECTION ENDS--}}