@php /** * Sidebar "Contact Vendor" card for the store detail page. * Wraps the marketplace plugin's contact form + JS submission handler. * * Inputs: * $store \Botble\Marketplace\Models\Store * $contactForm \Botble\Marketplace\Forms\ContactStoreForm */ if (! \Botble\Marketplace\Facades\MarketplaceHelper::isEnabledMessagingSystem()) { return; } $authCustomer = auth('customer')->user(); $isOwnStore = $authCustomer && $store->id == $authCustomer->store?->id; if ($isOwnStore) { return; } if (! isset($contactForm) || ! $contactForm) { return; } @endphp
{{ __('Contact Vendor') }}

{{ __('All messages are recorded and spam is not tolerated. Your email address will be shown to the recipient.') }}

{{-- Plugin-generated trusted HTML — must NOT pass through BaseHelper::clean (HTMLPurifier strips /