@extends('layouts.app') @section('title', 'Products - BakeryChrips') @section('content')

Products Management

+ Add New Product
@if(session('success'))
{{ session('success') }}
@endif
@forelse($products as $product) @empty @endforelse
Image Name Category Price Rating Best Seller Actions
{{ $product->name }} {{ $product->name }} {{ $product->category }} Rp {{ number_format($product->price, 0, ',', '.') }} {{ $product->rating }} @if($product->is_best_seller) Yes @else No @endif Edit
@csrf @method('DELETE')
No products found. Click "Add New Product" to create one.
@endsection