@extends('panel::layouts.app') @section('body-class', '') @section('title', __('panel/menu.themes_settings')) @push('header') @endpush @section('content')
@csrf @method('put')
{{ __('panel/setting.header_menu') }}
{{ __('panel/menu.categories') }}
@foreach ($categories as $item)
@endforeach
{{ __('panel/setting.catalogs') }}
@foreach ($catalogs as $item)
id, old('menu_header_catalogs', system_setting('menu_header_catalogs', []) ?: [])) ? 'checked' : '' }}>
@endforeach
{{ __('panel/setting.page') }}
@foreach ($pages as $item)
id, old('menu_header_pages', system_setting('menu_header_pages', []) ?: [])) ? 'checked' : '' }}>
@endforeach
{{ __('panel/setting.specials') }}
@foreach ($specials as $item)
@endforeach
@foreach (old('slideshow', system_setting('slideshow', [])) as $slide_index => $slide) @endforeach
{{ __('panel/common.image') }} {{ __('panel/common.link') }}
@foreach (locales() as $locale)

@endforeach
{{ __('panel/setting.hot_products') }}
@php $hotProductsValue = old('home_hot_products'); if (empty($hotProductsValue)) { $settingValue = system_setting('home_hot_products', '{}'); $hotProductsValue = is_string($settingValue) ? $settingValue : json_encode($settingValue ?: []); } @endphp
{{ __('panel/setting.home_categories') }}

{{ __('panel/setting.home_categories_desc') }}

{{ __('panel/menu.categories') }}
@foreach ($categories as $item)
@endforeach
{{ __('panel/setting.selected_categories') }}

{{ __('panel/setting.home_categories_hint') }}

@hookinsert('panel.themes.settings.hot_products.tab_content')
@endsection @push('footer') @hookinsert('panel.themes.settings.script.after') @endpush