@extends('layouts.admin') @section('content')

Site Settings

Manage your store's currency and tax configuration

@csrf @method('PUT')

Currency Settings

@error('currency_symbol') {{ $message }} @enderror

Symbol displayed before prices (e.g., ৳, $, €)

@error('currency_code') {{ $message }} @enderror

ISO currency code (e.g., BDT, USD, EUR)

Tax Settings

@error('tax_rate') {{ $message }} @enderror

Enter 0 for no tax, 15 for 15% VAT, etc.

@error('tax_name') {{ $message }} @enderror

Display name for tax (e.g., VAT, GST, Tax)

Header Menu

When enabled, admin users will see a quick link to the admin dashboard in the site header.

{{-- Header categories multi-select (checkbox list) --}}
@foreach ($categories as $category) @endforeach

Choose which categories appear in the header menu. Leave all unchecked to use the default top categories.

{{-- Header logo upload --}}
@if (!empty($settings['header_logo_path']))

Current logo preview:

@php($previewLogoUrl = function_exists('header_logo_url') ? header_logo_url() : null) @if ($previewLogoUrl) Header logo @else Logo file not found in storage. @endif
@endif

Optional. Upload an image to use as the site logo in the header.

Preview

Product Price: {{ $settings['currency_symbol'] }}100.00
{{ $settings['tax_name'] }} ({{ $settings['tax_rate'] }}%): {{ $settings['currency_symbol'] }}{{ number_format(100 * ($settings['tax_rate'] / 100), 2) }}
Total: {{ $settings['currency_symbol'] }}{{ number_format(100 * (1 + $settings['tax_rate'] / 100), 2) }}
Cancel
@endsection