@extends('seller.layouts.app') @section('main_content') @php $totalProducts = ((Auth::guard('seller')->user()->product))->count(); $subscription = Auth::guard('seller')->user()->subscription->where('status',1)->first(); $totalSubscriptionProducts = 0; if($subscription){ $totalSubscriptionProducts = @$subscription->total_product ?? 0; } @endphp

{{translate("Inhouse Product")}}

{{translate('Product List')}}
@forelse($products as $product) @empty @endforelse
{{translate('Product')}} {{translate('Categories - Sold Item')}} {{translate('Info')}} {{translate('Time - Status')}} {{translate('Action')}}
{{$product->featured_image}}
{{$product->name}}
{{(get_translation($product->category->name))}}
{{translate('Total Sold')}} : {{$product->order->count()}}
{{translate('Regular Price')}} :{{(short_amount($product->price))}} {{translate('Discount Price')}} : {{(short_amount($product->discount))}} {{get_date_time($product->created_at, 'd M Y')}}
@if($product->status == 1) {{translate('Published')}} @elseif($product->status == 2) {{translate('Inactive')}} @elseif($product->status == 3) {{translate('Cancel')}} @else {{translate('New')}} @endif
@if(request()->routeIs('seller.product.trashed')) @else @if( site_settings('seller_product_status_update_permission') == App\Enums\StatusEnum::true->status() && ($product->status == 1 || $product->status == 2)) @endif @php $slug = $product->slug ? $product->slug : make_slug($product->name); @endphp @endif
@include('admin.partials.not_found')
{{ $products->links() }}
@if(site_settings('seller_product_status_update_permission') == App\Enums\StatusEnum::true->status() ) @endif @endsection @push('script-push') @endpush