@extends('layouts.frontend') @section('title', 'Produk Kami') @section('meta_description', 'Jelajahi koleksi produk berkualitas dengan harga terjangkau. Temukan produk terbaik sesuai kebutuhan Anda.') @section('content')
Menampilkan {{ $products->count() }} dari {{ $products->total() }} produk
@if($products->count() > 0)
@foreach($products as $product)
@if($product->featured_image) {{ $product->name }} @else
@endif
@if($product->is_featured) Unggulan @endif @if($product->has_discount) -{{ number_format($product->discount_percentage, 0) }}% @endif @if($product->stock <= 0 && !$product->is_digital) Habis @endif
{{ $product->category->name }}

{{ $product->name }}

@if($product->brand)

{{ $product->brand }}

@endif

{{ $product->short_description }}

@if($product->has_discount)
{{ $product->formatted_final_price }} {{ $product->formatted_price }}
@else {{ $product->formatted_final_price }} @endif
@if(!$product->is_digital)
Stok: {{ $product->stock_status }}
@endif
@endforeach
Menampilkan {{ $products->firstItem() ?? 0 }} - {{ $products->lastItem() ?? 0 }} dari {{ $products->total() }} produk
{{ $products->appends(request()->query())->links('pagination.custom') }}
@else

Tidak ada produk ditemukan

Coba ubah filter pencarian atau kata kunci yang digunakan.

Lihat Semua Produk
@endif
@if($categories->count() > 0)

Jelajahi Kategori

Temukan produk berdasarkan kategori yang Anda butuhkan

@endif @endsection @push('styles') @endpush