@extends('layouts.app') @section('title', 'New Message') @section('content')
{{-- Page Header --}}

Start a Conversation

Back to Inbox
@if($errors->any()) @endif
{{-- Form --}}
Compose Message
@csrf {{-- Receiver --}}
@if($receiver)
@if($receiver->avatar) {{ $receiver->username }} @else
{{ strtoupper(substr($receiver->username ?? 'U', 0, 2)) }}
@endif
{{ $receiver->username ?: trim(($receiver->first_name ?? '') . ' ' . ($receiver->last_name ?? '')) }}
{{ $receiver->email ?? '' }}
@else @error('receiver_id')
{{ $message }}
@enderror @endif
{{-- Product --}} @if($product)
{{ $product->details->first()?->title ?? 'Product #' . $product->id }}
View product
@endif {{-- Subject --}}
@error('subject')
{{ $message }}
@enderror
{{-- Message --}}
@error('message')
{{ $message }}
@enderror
Be respectful and clear in your communication. 0 / 10,000
Cancel
{{-- Sidebar Tips --}}
Messaging Tips
  • Be clear about what you need or want to discuss.
  • Include order numbers or product references if relevant.
  • Sellers typically respond within 24-48 hours.
  • Keep communication on the platform for your protection.
  • Report suspicious messages to support.
Stay Safe: Never share passwords or payment details outside the platform's secure checkout.
@endsection @push('styles') @endpush @push('scripts') @endpush