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

{{translate("Product Details")}}

{{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->sub_category_id)
  • {{translate('Sub Category')}}
    {{(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('Total Products reviewed')}} {{$product->rating()->count()}}
{{translate('latest product order')}}
{{translate('New order list')}}

{{$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')}}

{!!($product->short_description)!!}

{{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