@extends('backend.template.layouts.template-base') @section('title', 'Settings - AppWeb Setting') @section('content') @php $enabled = fn($key, $default = '1') => old($key, $settings[$key] ?? $default) == '1'; @endphp
@csrf

App and Web settings

App Identity

Manage Controls

@foreach ([ 'guest_checkout_enabled' => ['Guest Checkout', 'Allow customers to place orders without login.'], 'subscription_enabled' => ['Subscription', 'Show subscription features in app.'], 'referral_enabled' => ['Referral System', 'Enable referral code and rewards flow.'], 'wallet_enabled' => ['Wallet', 'Enable wallet option in checkout.'], ] as $key => [$title, $copy])
{{ $title }}

{{ $copy }}

@endforeach
Maintenance Mode

When active, app can block ordering and show the message below.

Website Identity

Manage Controls

@foreach ([ 'website_guest_checkout_enabled' => ['Guest Checkout', 'Allow guest checkout on website.'], 'website_subscription_enabled' => ['Subscription', 'Show subscription features on website.'], 'website_referral_enabled' => ['Referral System', 'Enable referral features on website.'], 'website_wallet_enabled' => ['Wallet', 'Enable wallet option on website.'], ] as $key => [$title, $copy])
{{ $title }}

{{ $copy }}

@endforeach
Maintenance Mode

When active, website can show the message below.

SEO Settings

@endsection @section('scripts') @endsection