@props(['contextSaree' => null]) @php $isCheckoutOrReceipt = request()->is('checkout*') || request()->is('order-received*'); $whatsappNumber = $storeConfig['storeContactInfo']['whatsappNumber'] ?? '8801700000000'; $messengerUrl = $storeConfig['storeContactInfo']['messengerUrl'] ?? 'https://m.me/aangina.bd'; if (!empty($contextSaree)) { $prefilledMessage = sprintf( 'Hello! I have a question about %s (SKU: %s, Price: %s) — %s', $contextSaree['title'], $contextSaree['sku'], $contextSaree['formattedPrice'] ?? ('BDT ' . number_format($contextSaree['priceBDT'])), url()->current() ); } else { $prefilledMessage = 'Hello! I would like some help browsing your saree collection.'; } $whatsappLink = 'https://wa.me/' . $whatsappNumber . '?text=' . rawurlencode($prefilledMessage); @endphp @if(!empty($storeConfig['floatingChatWidget']['enabled']) && !$isCheckoutOrReceipt)
Chat with our Dhaka team for fabric details or phone ordering (10 AM – 10 PM).
{{-- Option 1: Primary Action (CHAT ON WHATSAPP →, 44px height, --brand-accent fill + --text-primary bold text) --}} CHAT ON WHATSAPP → {{-- Option 2: Secondary Action (MESSAGE ON FACEBOOK MESSENGER, 44px height, 1.5px --brand-primary outlined) --}} MESSAGE ON FACEBOOK MESSENGER