@if (Auth::user()->shop->isDown())
@unless (Request::is('admin/setting/general*'))
{{ trans('app.alert') }}
{!! trans('messages.listings_not_visible', ['reason' => trans('messages.your_shop_in_maintenance_mode')]) !!}
@if (Auth::user()->isMerchant())
{{ trans('app.take_action') }}
@endif
@endunless
@elseif(!Auth::user()->shop->active)
{{ trans('app.alert') }}
{!! trans('messages.your_shop_in_hold') !!}
@elseif(!Auth::user()->shop->hasPaymentMethods() && vendor_get_paid_directly())
@unless (Request::is('admin/setting/paymentMethod*'))
{{ trans('app.alert') }}
{!! trans('messages.listings_not_visible', ['reason' => trans('messages.no_active_payment_method')]) !!}
@if (Auth::user()->isMerchant())
{{ trans('app.take_action') }}
@endif
@endunless
@elseif(!Auth::user()->shop->hasAddress())
{{ trans('app.alert') }}
{!! trans('messages.no_address_for_invoice') !!}
@if (Auth::user()->isMerchant() && !Request::is('admin/setting/general*'))
{{ trans('app.take_action') }}
@endif
@elseif(!Auth::user()->shop->hasShippingZones())
@unless (Request::is('admin/shipping/shippingZone*'))
@endunless
@endif