@section('page-title', 'Settings')
{{-- Success Message --}} @if (session()->has('message'))

{{ session('message') }}

@endif {{-- Website Configuration Section --}}

Website Configuration

{{-- 2-Column Grid Layout (stacks on mobile) --}}
{{-- LEFT COLUMN --}}
{{-- Company Name --}}
@error('name') {{ $message }} @enderror
{{-- Company Description --}}
@error('descr') {{ $message }} @enderror
{{-- Email Address --}}
@error('email') {{ $message }} @enderror
{{-- Timezone --}}

All timestamps will be displayed in this timezone, even on offshore servers.

@error('timezone') {{ $message }} @enderror
{{-- Company Logo --}}
@if($logoPath)
Company Logo
{{ $logoPath }}
@endif @error('logo') {{ $message }} @enderror
{{-- QR Image (Hologram Sample for Step 2) --}}

Displayed in Step 2 to show users how to find their PIN code (recommended size: 500x250px)

@if($qrImagePath)
QR Sample
{{ $qrImagePath }}
@endif @error('qrImage') {{ $message }} @enderror
{{-- BRANDING SECTION --}}

Branding & SEO

{{-- Favicon --}}

Upload favicon for browser tabs (recommended: 32x32px or 64x64px .png/.ico)

@if($faviconPath)
Favicon
{{ $faviconPath }}
@endif @error('favicon') {{ $message }} @enderror
{{-- Site Name --}}
@error('siteName') {{ $message }} @enderror

Displayed in browser title and throughout the site

{{-- Footer Text --}}
@error('footerText') {{ $message }} @enderror

Text displayed at the bottom of your website

{{-- End LEFT COLUMN --}} {{-- RIGHT COLUMN --}}
{{-- Chatbot Icon --}}

Upload icon for the chatbot avatar (recommended size: 80x80px)

@if($chatbotIconPath)
Chatbot Icon
{{ $chatbotIconPath }}
@endif @error('chatbotIcon') {{ $message }} @enderror
{{-- Contest Promotion Image --}}

Displayed when code is already verified (recommended size: 600x400px)

@if($contestPromotionImagePath)
Contest Promotion
{{ $contestPromotionImagePath }}
@endif @error('contestPromotionImage') {{ $message }} @enderror
{{-- Lucky Draw Winner Image --}}

Displayed when customer wins lucky draw (recommended size: 600x400px)

@if($luckyDrawImagePath)
Lucky Draw Winner
{{ $luckyDrawImagePath }}
@endif @error('luckyDrawImage') {{ $message }} @enderror
{{-- Lucky Winner Modal Content --}}

Lucky Winner Popup Modal Content

Customize the content displayed in the popup modal when a customer wins the lucky draw. HTML formatting is supported in the message field.

{{-- WhatsApp Number --}}
@error('whatsappNumber') {{ $message }} @enderror

Enter with country code (e.g., +60 for Malaysia). Used for "Claim Your Prize" and "Contact Support" buttons.

{{-- Modal Title --}}
@error('luckyWinnerModalTitle') {{ $message }} @enderror

Leave empty to use default: "🎉 CONGRATULATIONS! 🎉"

{{-- Modal Subtitle --}}
@error('luckyWinnerModalSubtitle') {{ $message }} @enderror

Leave empty to use default: "You're a Lucky Winner!"

{{-- Modal Message --}}
@error('luckyWinnerModalMessage') {{ $message }} @enderror

You can use HTML tags like <p>, <strong>, <br>, <ul>, <li> etc.

Leave empty to use default message from "Company Description" field above.

{{-- FRONTEND CUSTOMIZATION SECTION --}}

Frontend Design Customization

Customize the look and feel of your customer-facing verification pages

{{-- Brand Color --}}
@error('brandColor') {{ $message }} @enderror

Primary color used for buttons and accents

{{-- Background Type --}}
@error('backgroundType') {{ $message }} @enderror

Choose how the background should appear

{{-- Gradient Colors (shown when type is gradient) --}} @if($backgroundType === 'gradient')
@error('gradientColorStart') {{ $message }} @enderror
@error('gradientColorEnd') {{ $message }} @enderror
@endif {{-- Background Color (shown when type is solid) --}} @if($backgroundType === 'solid')
@error('backgroundColor') {{ $message }} @enderror

Solid background color for the page

@endif {{-- Cover Background Image (shown when type is image) --}} @if($backgroundType === 'image')

Background image for verification page (recommended: 1920x1080px)

@if($coverBackgroundImagePath)
Cover Background
{{ $coverBackgroundImagePath }}
@endif @error('coverBackgroundImage') {{ $message }} @enderror
@endif {{-- Font Family --}}
@error('fontFamily') {{ $message }} @enderror

Font used in the frontend

{{-- Button Color --}}
@error('buttonColor') {{ $message }} @enderror

Color for action buttons

{{-- Text Color --}}
@error('textColor') {{ $message }} @enderror

Color for general text, footer, and descriptions

{{-- End RIGHT COLUMN --}}
{{-- End 2-Column Grid --}} {{-- VERIFICATION STEPS CONTENT SECTION --}}

Verification Steps Content (Chatbot Messages)

Customize all chatbot messages shown during the verification process. Edit text to match your brand voice or translate to other languages. HTML tags are supported in instruction steps.

{{-- 2x2 GRID LAYOUT --}}
{{-- LEFT COLUMN --}}
{{-- STEP 1 SECTION --}}

1 Step 1: Serial Number Entry

Messages shown when user enters/scans serial number

@error('step1GreetingTitle') {{ $message }} @enderror
@error('step1WithQrMessage') {{ $message }} @enderror
@error('step1WithQrSubMessage') {{ $message }} @enderror
@error('step1WithoutQrMessage') {{ $message }} @enderror
{{-- STEP 3 SECTION --}}

3 Step 3: Form & PIN Entry

Messages shown when user fills form and enters PIN

@error('step3Title') {{ $message }} @enderror
@error('step3Message') {{ $message }} @enderror
{{-- End LEFT COLUMN --}} {{-- RIGHT COLUMN --}}
{{-- STEP 2 SECTION --}}

2 Step 2: PIN Code Instructions

Messages and instructions for finding the PIN code

@error('step2ProgressTitle') {{ $message }} @enderror
@error('step2InstructionTitle') {{ $message }} @enderror

Instruction Steps (HTML supported):

@error('step2InstructionStep1') {{ $message }} @enderror
@error('step2InstructionStep2') {{ $message }} @enderror
@error('step2InstructionStep3') {{ $message }} @enderror
{{-- RESULT MESSAGES SECTION --}}

Verification Result Messages

Customize messages shown after verification (success, warning, error). Use placeholders: {site_name}, {used_at}, {max_attempts}

{{-- SUCCESS --}}

✅ Success (Genuine Product)

@error('resultSuccessTitle') {{ $message }} @enderror
@error('resultSuccessMessage') {{ $message }} @enderror
{{-- WARNING --}}

⚠️ Warning (Already Used)

@error('resultWarningTitle') {{ $message }} @enderror
@error('resultWarningMessage') {{ $message }} @enderror
{{-- ERROR --}}

❌ Error (Invalid PIN)

@error('resultErrorTitle') {{ $message }} @enderror
@error('resultErrorMessage') {{ $message }} @enderror
@error('resultErrorTip') {{ $message }} @enderror
{{-- MAX ATTEMPTS --}}

🚫 Max Attempts Reached

@error('resultMaxAttemptsTitle') {{ $message }} @enderror
@error('resultMaxAttemptsMessage') {{ $message }} @enderror
@error('resultMaxAttemptsContact') {{ $message }} @enderror
{{-- End RIGHT COLUMN --}}
{{-- End 2x2 Grid --}}
{{-- Save Button (Full Width) --}}
{{-- GoAffPro API Configuration Section --}}

GoAffPro API Configuration

Configure GoAffPro integration to sync seller data automatically

About GoAffPro Sync

  • With GoAffPro API enabled, you can sync seller data automatically from GoAffPro system
  • Without API token, you can still create sellers manually in this system
  • Both methods work independently - choose what fits your workflow
@error('goaffproAccessToken') {{ $message }} @enderror

Get your API token from GoAffPro dashboard. Leave empty if you want to manage sellers manually without API sync.

@if($goaffproAccessToken)
API Token Configured - GoAffPro sync is enabled
@else
No API token - Manual seller creation only
@endif
{{-- Customer Form Fields Section --}}

Customer Form Fields

Enable or disable fields that appear on the product verification form.

{{-- Fields Table --}}
@foreach($fields as $field) @endforeach {{-- Pincode Field (Special Row - Always Required) --}}
Field Name Placeholder Visible Required
{{ $field['name'] }}
@if(in_array($field['unique_key'], ['name', 'email', 'contact'])) Base Field @endif
{{ $field['unique_key'] }}
@if($editingPlaceholder === $field['id'])
@else
{{ $field['placeholder'] }}
@endif
{{ $field['visible'] ? 'ON' : 'OFF' }}
{{ $field['required'] ? 'ON' : 'OFF' }}
{{ $pincodeField['name'] }}
Always Required
{{ $pincodeField['unique_key'] }}
@if($editingPlaceholder === $pincodeField['id'])
@else
{{ $pincodeField['placeholder'] }}
@endif
Always ON
Always ON