@extends('layouts.admin') @section('title', 'Markets') @section('content') Shipping Overview @if(session('status'))
{{ session('status') }}
@endif @if($errors->any())
{{ $errors->first() }}
@endif @if(empty($markets_enabled))
Markets are disabled (markets_enabled). Enable the flag in Settings to activate storefront market routing.
@endif
Markets{{ number_format($markets->count()) }}
Active{{ number_format($markets->where('active', true)->count()) }}
Price lists{{ number_format($priceLists->count()) }}
@forelse($markets as $market)

{{ $market->name }}

{{ $market->handle }} · {{ $market->currency }} · FX {{ $market->fx_rate }} ({{ $market->fx_strategy }})

Countries: {{ $market->countries->pluck('country')->implode(', ') ?: '—' }} · {{ $market->priceLists->count() }} price list(s)

{{ $market->active ? 'active' : 'inactive' }}
@if(auth()->user()?->hasPermission('settings.edit'))
@csrf @method('PUT')
@if($market->handle !== 'australia')
@csrf @method('DELETE')
@endif @endif
@empty @endforelse
@if(auth()->user()?->hasPermission('settings.edit'))

Create market

@csrf
@endif

Price lists

    @forelse($priceLists as $list)
  • {{ $list->name }} · {{ $list->market?->name ?? 'unassigned' }} {{ $list->currency }}
  • @empty
  • No price lists yet.
  • @endforelse
@endsection