@extends('admin_base') @section('title', 'Settings') @section('style') @endsection @section('content')

Site Settings

Manage branding, SEO, environment and integrations
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
Branding
@if($settings->site_logo_path) @else
@endif
Tip: Keep transparent background for best result.
@if($settings->admin_logo_path) @else
@endif
@if($settings->favicon_path) @else
@endif
Tip: Use a square image for best results.
@if($settings->loader_image_path) @else
@endif
SEO & Analytics
Use GA4 ID like G-XXXXXXXXXX
App
Payment (SSLCommerz)
Use sandbox for testing; switch to live for production.
Mail
All mail notifications about the platform will be sent to this email address.
NoCaptcha
Integrations
Contact Information
Social Media Links
@php $socialMedia = $settings->social_media ?? []; @endphp @forelse($socialMedia as $idx => $social) @empty @endforelse
Footer Description
API Access
api_enabled ? 'checked' : '' }}>
If disabled, all API requests will be blocked.
To access the API, add your API key to the request URL as a query parameter: ?api_key={{ $settings->api_key ?? '' }}
@php $baseApi = rtrim(config('app.url'), '/') . '/api'; @endphp
List products (all):
GET
Returns all products with selected data toggles.
Single product (by exact title):
GET
Fetch a single product by its exact title (URL-encoded). Example: {{ $baseApi }}/products/title/Lenovo Legion 5
Latest N products (limit):
GET
Get the most recent N products (newest first). Example: {{ $baseApi }}/products/limit/10
@php $toggles = $settings->api_data_toggles ?? []; @endphp
Only selected data will be included in API responses.
Unsaved changes
@endsection @section('script') @endsection