@php /** * Nest-styled vendor vacation notice. * * Used in two places: * - The single-store banner (grid / list / detail sidebar) after the store name. * - The product detail page, injected via the ECOMMERCE_PRODUCT_DETAIL_EXTRA_HTML * filter — which resolves this file through MarketplaceHelper::viewPath(), so this * theme override takes precedence over the plugin's generic Bootstrap version. * * Inputs: * $store \Botble\Marketplace\Models\Store (required) */ @endphp @if (! empty($store) && method_exists($store, 'isOnVacation') && $store->isOnVacation())
{{ trans('plugins/marketplace::store.forms.vacation_badge') }} @if (! empty($store->vacation_message)) {{ $store->vacation_message }} @else {{ trans('plugins/marketplace::store.forms.vacation_default_notice', ['store' => $store->name]) }} @endif
@endif