@extends('admin.layouts.app') @section('main_content')

{{translate($title)}}

{{translate('Product Details')}}
{{$product->featured_image}}
{{($product->name)}}

{{translate('Date')}} {{get_date_time($product->created_at,'d M, Y h:i A')}}

{{translate('Product information')}}
  • {{translate('Categories')}}
    {{(get_translation($product->category->name))}} @if($product->subCategory) {{(get_translation($product->subCategory->name))}} @endif
  • {{translate('Brand')}} {{($product->brand ? get_translation($product->brand->name) : 'N/A')}}
  • {{translate('Price')}} {{short_amount($product->price)}}
  • {{translate('Weight')}} {{round($product->weight,site_settings('digit_after_decimal',2))}} {{translate('KG')}}
  • @if($product->shippingDelivery->isNotEmpty())
  • {{translate('Shipping Country')}}
    @foreach($product->shippingDelivery as $shipping) {{$shipping->shippingDelivery?->name}} @endforeach
  • @endif
  • {{translate('Status')}} @if($product->status == 1) {{translate('Published')}} @elseif($product->status == 2) {{translate('Inactive')}} @else {{translate('New')}} @endif
  • {{translate('Number Of Orders')}} {{$product->order->count()}}
  • {{translate('Order Amount')}} {{$product->order->sum('amount')}} {{default_currency()->name}}
  • {{translate('Total Item Wishlist')}} {{$product->wishlist->count()}}
{{translate('latest product order')}}
{{translate('New order list')}}

{{$product->rating_count}}

{{translate('Total Reviews')}}

{{translate('View All')}}

{{$product->order->count()}}

{{translate('Total orders')}}

{{translate('View All')}}

{{$product->order->where('status', App\Models\Order::PLACED)->count()}}

{{translate('placed orders')}}

{{translate('View All')}}

{{$product->order->where('status', App\Models\Order::DELIVERED)->count()}}

{{translate('Delivered orders')}}

{{translate('View All')}}
{{translate('Product Description')}}
{{translate('Short Description')}}:

@php echo ($product->short_description) @endphp

{{translate('Long Description')}}:
@php echo $product->description @endphp
@if($product->warranty_policy)
{{translate('Warranty Policy')}}:
@php echo $product->warranty_policy @endphp
@endif
{{translate('Product Gallery')}}
@endsection