@php $information = \App\Models\Information::first(); $charges = \App\Models\DeliveryCharge::whereNotNull('status')->get(); $sslActive = $information->ssl_active ?? 0; $sslTermsActive = $information->ssl_terms_active ?? 0; $globalSetting = DB::table('delivery_charges')->first(); $isWeightBased = $globalSetting && $globalSetting->charge_type == 'weight_based'; $headerBg = $ln_pg->theme_primary_col ?? '#0a6624'; $primaryColor = $headerBg; $btnBg = $ln_pg->btn_bg_color ?? '#900b0b'; $contactBg = '#1877f2'; $bodyBg = '#f5f6f8'; $productId = $product->id ?? 0; $productName = $product->name ?? 'Product'; $phoneNumber = $ln_pg->phone ?? '01XXX-XXXXXX'; $waNumberClean = preg_replace('/\D+/', '', $phoneNumber); $defaultPrice = ($product && $product->after_discount > 0) ? $product->after_discount : ($product->sell_price ?? 0); if(!empty($ln_pg->new_price)) { $defaultPrice = $ln_pg->new_price; } $variations = collect(); if($product){ try{ $product->loadMissing(['variations.size','variations.color', 'variations.stocks']); $variations = $product->variations ?? collect(); }catch(\Throwable $e){ $variations = $product->variations ?? collect(); } } $pixelId = setting('fb_pixel_id') ?? null; @endphp @if(!empty($pixelId)) @endif

{!! $ln_pg->title1 ?? 'Murdha Moaharee মুসলমানের শেষ গোসল ও শেষ বিদায় হোক পরিপূর্ণ শরীয়া মোতাবেক' !!}

@if($ln_pg->title2)

{{ $ln_pg->title2 }}

@endif
@if($ln_pg->right_product_image)
অর্ডার করতে ক্লিক করুন @endif @if($ln_pg->video_url)
অর্ডারের জন্য ভিডিওটি দেখুন
@if(strpos($ln_pg->video_url, 'iframe') !== false) {!! $ln_pg->video_url !!} @else @endif
অর্ডার করতে ক্লিক করুন @endif

সরাসরি কথা বলুন এবং অর্ডার নিশ্চিত করুন

যেকোনো তথ্য জানতে কল করুন

{{ $phoneNumber }}
@if($ln_pg->feature_list)
{{ $ln_pg->feature_title ?? 'কেন আমাদের প্রোডাক্ট কেনা উচিত?' }}
{!! str_replace('
    ', '
      ', $ln_pg->feature_list) !!}
অর্ডার করতে ক্লিক করুন @endif @if($ln_pg->left_side_desc)
{!! $ln_pg->left_side_desc !!}
@endif @if($ln_pg->review_images && $ln_pg->review_images->count() > 0)
{{ $ln_pg->review_title ?? 'কাস্টমার রিভিউ' }}
@foreach($ln_pg->review_images as $rv) Review @endforeach
@endif

{{ $ln_pg->countdown_title ?? '১০ মিনিটের মধ্যে অর্ডার করলে ডেলিভারি ফ্রি' }}

10:00
{{ $ln_pg->form_title ?? 'অর্ডারটি কনফার্ম করুন' }}
@csrf
{{-- ✅ ডিফল্ট ১ পিসের প্যাকেজ --}} {{-- ✅ অ্যাডমিন প্যানেল থেকে বানানো অতিরিক্ত প্যাকেজগুলো --}} @if($ln_pg->packages && $ln_pg->packages->count() > 0) @foreach($ln_pg->packages as $key => $pkg) @endforeach @endif
{{-- ✅ Variation Selection --}} @if($variations->count() > 0)
@else @endif
{{-- ✅ Payment Methods --}}
@if($sslActive == 1) @endif
{{-- ✅ SSL Terms Checkbox --}} @if($sslTermsActive == 1) @endif
সাবটোটাল {{ $defaultPrice }}
ডেলিভারি চার্জ 0
সর্বমোট বিল {{ $defaultPrice }}
{{-- ✅ FAQ Section ✅ --}} @if(!empty($ln_pg->faq_title) || !empty($ln_pg->faq_1_q))
{{ $ln_pg->faq_title ?? 'সচরাচর জিজ্ঞাসা (FAQ)' }}
@for($i = 1; $i <= 4; $i++) @php $question = $ln_pg->{'faq_'.$i.'_q'}; $answer = $ln_pg->{'faq_'.$i.'_a'}; @endphp @if(!empty($question) && !empty($answer))

{{ $answer }}
@endif @endfor
@endif
{{-- Container End --}} {{-- ✅ Footer Integration ✅ --}}
@include('frontend.partials.footer')
{{-- ✅ WhatsApp Button ✅ --}} @if(!empty($waNumberClean)) whatsapp @endif {{-- ✅ OTP MODAL --}}