@extends('layouts.admin') @section('title', __('app.products')) @section('content')

{{ __('app.products') }}

{{ __('app.total') }}: {{ $products->total() }}

{{ __('app.create') }}
@foreach($products as $product) @endforeach
{{ __('app.image') }} {{ __('app.product') }} {{ __('app.sku') }} {{ __('app.category') }} {{ __('app.price') }} {{ __('app.stock') }} {{ __('app.actions') }}
@if($product->image) @else
@endif

{{ $product->t('name') }}

@if($product->is_featured) ★ {{ __('app.is_featured') }} @endif
{{ $product->sku }} {{ $product->category?->t('name') }} {{ number_format($product->price, 2) }} {{ __('app.jod') }} {{ $product->stock }}
{{ __('app.edit') }}
@csrf @method('DELETE')
{{ $products->links() }}
@endsection