When a customer taps Pedir por WhatsApp, the app builds an order summary message and opens aDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/giovanymevi/pedidoHAM/llms.txt
Use this file to discover all available pages before exploring further.
wa.me link pointing to the restaurant’s phone number. You must set this number to your own WhatsApp line before going live — otherwise orders will be sent to the placeholder number and never reach you.
Dónde está el número
The phone number is defined inside thesendWhatsAppOrder function in src/App.jsx. Search for the constant phoneNumber:
phoneNumber.
Formato del número
The number must follow the international format required by the WhatsAppwa.me API:
- Include the full country code (no leading
+) - No spaces, dashes, dots, or parentheses
- Include the full local number after the country code
| País | Código | Ejemplo completo |
|---|---|---|
| Colombia | 57 | 573001234567 |
| México | 52 | 5215512345678 |
| España | 34 | 34612345678 |
| USA / Canadá | 1 | 12125551234 |
Cómo actualizar el número
Opensrc/App.jsx, find the sendWhatsAppOrder function, and replace the placeholder with your real number:
The WhatsApp account associated with the number must be active and capable of receiving messages. Business accounts (WhatsApp Business) and personal accounts both work with
wa.me links. Make sure the number is registered on WhatsApp and that the app is open or notifications are enabled on the restaurant device.