@props(['item']) @php $wished = $shop->wished((int) $item->id); @endphp
@if ($item->image) @endif @if (!$item->in_stock) {{ __('Sold out') }} @elseif ($item->on_sale) {{ __('Discount') }} @elseif ($item->is_new) {{ __('New') }} @endif @auth
@csrf
@else @endauth
@if ($item->swatches)
@foreach ($item->swatches as $s) @endforeach
@endif {{ $item->name }}