@extends('layouts.app') @section('title', $product->name) @section('content')
{{ $product->category->name }} @if($product->brand) · {{ $product->brand->name }} @endif
{{ $product->in_stock ? 'In stock (' . $product->stock . ' available)' : 'Out of stock' }}
{{ $product->description }}
@auth{{ $review->user->name }} – {{ $review->rating }}/5
{{ $review->review }}
No reviews yet.
@endforelse @auth @endauth