@extends('profile.layout') @section('title', $shop->name) @section('content') {{ __('Mağazalara qayıt') }}

{{ $shop->name }}

{{ __('Kateqoriyalar') }}

@csrf
@foreach($shop->categories as $cat)
{{ $cat->name }}
@csrf @method('PUT')
@csrf @method('DELETE')
@endforeach

{{ __('Məhsullar') }}

@foreach($shop->products as $p)
@if($p->image_url)@endif
{{ $p->name }}{{ number_format($p->price,2) }} ₼@if($p->category)({{ $p->category->name }})@endif @if($p->description)
{{ $p->description }}
@endif
@csrf @method('PUT')
@csrf @method('DELETE')
@endforeach
@endsection @push('scripts') @endpush