@extends('layouts.app') {{-- আপনার মেইন লেআউট ফাইলের নাম দিন --}} @section('content') @if ($current_step === 4) @php $domain_name_to_check = session('domain_config.domain_name'); $domain_type_to_check = session('domain_config.type', 'register'); @endphp

Domains Configuration

@if ($error_message)
{{ htmlspecialchars($error_message) }}
@endif
@csrf
{{ htmlspecialchars($domain_name_to_check) }} @if (session('domain_config.hosting_product_id')) @php $hp = \App\Models\Product::find(session('domain_config.hosting_product_id')); echo 'Hosting Added: '.htmlspecialchars($hp->name).''; @endphp @else [No Hosting! Click to Add] @endif
@if (count($available_periods) > 1) @elseif (count($available_periods) === 1) @php $single_year = key($available_periods); $single_price = current($available_periods); @endphp

{{ $single_year }} Year/s @ ৳{{ number_format($single_price, 2) }} BDT

@else

No registration period available for this domain.

@endif
@if($domain_type_to_check === 'transfer')
@endif
@if (!empty($tld_settings['dns_management']))

External DNS Hosting can help speed up your website and improve availability with increased redundancy.

@endif @if (!empty($tld_settings['email_forwarding']))

Get emails forwarded to alternate email addresses of your choice so that you can monitor all from a single account.

@endif

Nameservers

If you want to use custom nameservers then enter them below. By default, new domains will use our nameservers for hosting on our network.

Domain Registration৳0.00 BDT
@if (session('domain_config.hosting_price', 0) > 0)
Hosting Service৳{{ number_format(session('domain_config.hosting_price'), 2) }} BDT
@endif
Total Due Today৳0.00 BDT
@elseif ($current_step === 1)
@if ($product_type === 'hosted')

Choose a Domain...

@csrf
.{{ config('app.cpanel_root_domain', 'securesoftpay.shop') }}
@else

Choose a Domain...

@csrf
www.
@if ($product_type === 'shared_hosting')
www.
@endif
www.
@endif
@elseif ($current_step === 2)
@if ($product_type === 'hosted') @php $features = explode(',', $product->description); $monthly_price = $product->price; @endphp

Configure Your Service

@csrf

{{ htmlspecialchars($product->name) }}

Your new service will be created at: {{ htmlspecialchars(session('checkout_domain_name')) }}

    @foreach($features as $feature)
  • ✓ {{ htmlspecialchars(trim($feature)) }}
  • @endforeach

Billing Cycle

৳{{ number_format($monthly_price, 2) }} BDT

Account Setup

@else @php $features = explode(',', $product->description); $monthly_price = $product->price; @endphp

Configure

@csrf

{{ htmlspecialchars($product->name) }}

    @foreach($features as $feature)
  • ✓ {{ htmlspecialchars(trim($feature)) }}
  • @endforeach

Choose Billing Cycle

৳{{ number_format($monthly_price, 2) }} BDT
@if ($product_type === 'shared_hosting')

Server Location

@endif
@endif
{{-- <<< এই অংশটি পরিবর্তন করা হয়েছে >>> --}} @elseif ($current_step === 3)

Review & Checkout

@csrf
@if (!empty(session('checkout_items')))
Product/Options
Price/Cycle
@foreach (session('checkout_items', []) as $key => $item)
{{ htmlspecialchars($item['description']) }}
{{ htmlspecialchars($item['domain_name']) }} @if (!empty($item['location']))Location: {{ htmlspecialchars($item['location']) }}@endif
৳{{ number_format($item['amount'], 2) }} BDT
{{ htmlspecialchars($item['term']) }}
@endforeach

Promotion

@if(session('promo_discount')) Promotion Code Applied Successfully! @endif

@if (!empty($error_message))
Error: {{ htmlspecialchars($error_message) }}
@endif @if (Auth::check() && $user_info) {{-- যদি ব্যবহারকারী লগইন করা থাকে, তাহলে তার তথ্য দেখাবে --}}
Your Details
@else {{-- <<< নতুন যোগ করা টগল বাটন এবং AJAX লগইন ফর্ম >>> --}}
{{-- <<< রেজিস্ট্রেশন ফর্ম আগের মতোই থাকছে >>> --}}
Personal Information
Billing Address
Account Security
@endif
Payment Details

Please choose your preferred method of payment.

@else

Your Shopping Cart is Empty

Start Shopping
@endif

Order Summary

Subtotal ৳{{ number_format(session('checkout_total_amount', 0), 2) }} BDT
Discount - ৳{{ number_format(session('promo_discount', 0), 2) }} BDT
Total Due Today ৳{{ number_format(session('checkout_total_amount', 0) - session('promo_discount', 0), 2) }} BDT
@if (!empty(session('checkout_items')))
@endif
@endif @endsection