@php $channels = seller()->user()->channels()->with('translations')->get(); $currentChannel = core()->getRequestedChannel(); $currentLocale = core()->getRequestedLocale(); @endphp @lang('marketplace::app.seller.profile.index.title') @if ((core()->getConfigData('general.general.breadcrumbs.shop'))) @section('breadcrumbs') @endSection @endif {!! view_render_event('bagisto.seller.profile.index.before', ['seller' => $seller]) !!} {!! view_render_event('bagisto.seller.profile.index.actions.before', ['seller' => $seller]) !!}

@lang('marketplace::app.seller.profile.index.title')

$channels->count() <= 1 && $currentChannel->locales->count() <= 1 ]) >
*]:!rounded-xl', 'hidden' => $channels->count() <= 1, ]) > @foreach ($channels as $channel) {{ $channel->name }} @endforeach *]:!rounded-xl', 'hidden' => $currentChannel->locales->count() <= 1, ]) > @foreach ($currentChannel->locales->sortBy('name') as $locale) {{ $locale->name }} @endforeach
{!! view_render_event('bagisto.seller.profile.index.actions.after', ['seller' => $seller]) !!} @include('marketplace::seller.profile.index.banner-section') {!! view_render_event('bagisto.seller.profile.index.form.before', ['seller' => $seller]) !!}
@php $groupedColumns = $attributeGroups->groupBy('column'); $isSingleColumn = $groupedColumns->count() !== 2; @endphp @foreach ($groupedColumns as $column => $groups) {!! view_render_event("bagisto.seller.profile.index.form.column_{$column}.before", ['seller' => $seller]) !!}
@foreach ($groups as $group) @php $customAttributes = $group->custom_attributes->filter(function ($attribute) { return $attribute->is_visible_on_profile; }); if (! (bool) core()->getConfigData('marketplace.settings.seller.enable_minimum_order_amount')) { $customAttributes = $customAttributes->filter(function ($attribute) { return $attribute->code !== 'min_order_amount'; }); } @endphp @if ($customAttributes->isNotEmpty()) {!! view_render_event("bagisto.seller.profile.index.form.{$group->code}.before", ['seller' => $seller]) !!}

{{ $group->name }}

@if ($group->code == 'meta_description') @endif @foreach ($customAttributes as $attribute) {!! view_render_event("bagisto.seller.profile.index.form.{$group->code}.controls.before", ['seller' => $seller]) !!} {!! $attribute->name . ($attribute->is_required ? '' : '') !!} @if ( $attribute->value_per_channel && $channels->count() > 1 ) {{ $currentChannel->name }} @endif @if ($attribute->value_per_locale) {{ $currentLocale->name }} @endif @include ('marketplace::seller.profile.index.controls', [ 'attribute' => $attribute, 'seller' => $seller, ]) {!! view_render_event("bagisto.seller.profile.index.form.{$group->code}.controls.after", ['seller' => $seller]) !!} @endforeach
{!! view_render_event("bagisto.seller.profile.index.form.{$group->code}.after", ['seller' => $seller]) !!} @endif @endforeach @if ( ! $isSingleColumn && $column == 2 ) @include ('marketplace::seller.profile.index.shop-information') @endif
@if ($isSingleColumn && ($column == 1))
@include ('marketplace::seller.profile.index.shop-information')
@endif {!! view_render_event("bagisto.seller.profile.index.form.column_{$column}.after", ['seller' => $seller]) !!} @endforeach
{!! view_render_event('bagisto.seller.profile.index.form.after', ['seller' => $seller]) !!}
{!! view_render_event('bagisto.seller.profile.index.after', ['seller' => $seller]) !!}