@push('head') @endpush @extends('layouts.app') @section('title', $product->name) @push('head') @endpush @section('main')

{{ $product->name }}

{{ ($product->price) }}

@auth @if(!Auth::user()->cart()->find($product))
@csrf
@else
@csrf
@endif @if(Auth::user()->isAdmin())
@method('DELETE') @csrf
@endif @endauth

{{ $product->description }}

@endsection()