@extends('auth.layouts.authentication') @section('content')
{{ translate('Site Icon')}}

{{ translate('Create an account')}}

@csrf
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
{{-- @if (addon_is_activated('otp_system'))
@else
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@endif --}} @if (addon_is_activated('otp_system'))
{{-- Show both fields with the toggle button if neither email nor phone is set --}}
@if(get_setting('customer_registration_verify') == '1') @endif
{{-- Default to 'US' --}}
@error('otp') {{ $message }} @enderror
@else {{-- If OTP system is disabled, show only the email field --}}
@error('otp') {{ $message }} @enderror
@endif
{{ translate('Password must contain at least 6 digits') }}
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@if(get_setting('google_recaptcha') == 1 && get_setting('recaptcha_customer_register') == 1) @if ($errors->has('g-recaptcha-response')) {{ $errors->first('g-recaptcha-response') }} @endif @endif
@if(get_setting('google_login') == 1 || get_setting('facebook_login') == 1 || get_setting('twitter_login') == 1 || get_setting('apple_login') == 1)
{{ translate('Or Join With')}}
@endif

{{ translate('Already have an account?')}} {{ translate('Log In')}}

{{ translate('Back to Previous Page')}}
@endsection @section('script') @if(get_setting('google_recaptcha') == 1 && get_setting('recaptcha_customer_register') == 1) @endif @include('auth.verifyEmailOrPhone') @endsection