@extends('business.layouts.app') @section('title', 'Ürünlerim - İşletme Paneli') @push('styles') @endpush @section('content')

Ürünlerim

Ürünlerinizi listeleyin ve yönetin.

Yeni Ürün Ekle
@if(session('success'))

{{ session('success') }}

@endif
@if($products->isEmpty())

Henüz ürün eklenmemiş.

İlk ürünü ekle
@else
@foreach($products as $product) @php $mainImage = $product->galleryMedia->first(); @endphp @endforeach
Görsel Ürün Kategori Fiyat Durum İşlem
@if($mainImage) @php $imgUrl = asset('storage/' . $mainImage->file_path); @endphp {{ $product->name }} @else
@endif
{{ $product->name }}
@if($product->slug)
{{ $product->slug }}
@endif
{{ $product->productCategory->name ?? '-' }} @if($product->price_from !== null) {{ number_format($product->price_from, 0, ',', '.') }} TL @else - @endif @if($product->is_active) Yayında @else Taslak @endif Düzenle
@csrf @method('DELETE')
@if($products->hasPages())
{{ $products->links() }}
@endif @endif
@endsection @push('scripts') @endpush