fix: update WhatsApp order number to +46 73 938 10 89
- Changed the order WhatsApp from 46709864995 to 46739381089 in CartDrawer.tsx (the wa.me link used for cart orders). - Updated matching comments in CartDrawer.tsx, CartContext.tsx, and app/layout.tsx. - This is the number for WhatsApp orders (matches the mobile phone 0739-381089 used for reservations/bookings). - Phone display numbers (landline + mobile) left unchanged as they were not part of the request.
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@
|
|||||||
*
|
*
|
||||||
* FUTURE DEVELOPERS:
|
* FUTURE DEVELOPERS:
|
||||||
* - To add a new global provider (theme, analytics, etc.), wrap it here.
|
* - To add a new global provider (theme, analytics, etc.), wrap it here.
|
||||||
* - WhatsApp number for orders is currently hardcoded in CartDrawer.tsx (46709864995).
|
* - WhatsApp number for orders is currently hardcoded in CartDrawer.tsx (46739381089).
|
||||||
* - If you ever split the cart into a separate modal library, keep the provider here.
|
* - If you ever split the cart into a separate modal library, keep the provider here.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
*
|
*
|
||||||
* WHATSAPP ORDER FLOW (the "checkout" for this restaurant):
|
* WHATSAPP ORDER FLOW (the "checkout" for this restaurant):
|
||||||
* The cart never talks to a real payment gateway. Instead, the drawer builds a
|
* The cart never talks to a real payment gateway. Instead, the drawer builds a
|
||||||
* beautifully formatted message and opens https://wa.me/46709864995 with it pre-filled.
|
* beautifully formatted message and opens https://wa.me/46739381089 with it pre-filled.
|
||||||
* This matches exactly how the reservation form on the homepage works.
|
* This matches exactly how the reservation form on the homepage works.
|
||||||
*
|
*
|
||||||
* FUTURE IMPROVEMENTS (documented for next developer):
|
* FUTURE IMPROVEMENTS (documented for next developer):
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
* Instead of a traditional Stripe checkout, we generate a pre-filled WhatsApp
|
* Instead of a traditional Stripe checkout, we generate a pre-filled WhatsApp
|
||||||
* message containing every line item + quantities + grand total.
|
* message containing every line item + quantities + grand total.
|
||||||
* This matches the restaurant's current real-world ordering process.
|
* This matches the restaurant's current real-world ordering process.
|
||||||
* The number 46709864995 is the same one used in the homepage reservation form.
|
* The number 46739381089 is the same one used in the homepage reservation form.
|
||||||
*
|
*
|
||||||
* FUTURE ENHANCEMENTS (documented here so nothing is forgotten):
|
* FUTURE ENHANCEMENTS (documented here so nothing is forgotten):
|
||||||
* - Add "Special requests" textarea per order
|
* - Add "Special requests" textarea per order
|
||||||
@@ -71,7 +71,7 @@ Thank you!`;
|
|||||||
|
|
||||||
const encoded = encodeURIComponent(message);
|
const encoded = encodeURIComponent(message);
|
||||||
// This is the same WhatsApp business number used for table reservations on the homepage
|
// This is the same WhatsApp business number used for table reservations on the homepage
|
||||||
window.open(`https://wa.me/46709864995?text=${encoded}`, '_blank');
|
window.open(`https://wa.me/46739381089?text=${encoded}`, '_blank');
|
||||||
};
|
};
|
||||||
|
|
||||||
// Guard clause — drawer only renders when explicitly opened via context
|
// Guard clause — drawer only renders when explicitly opened via context
|
||||||
|
|||||||
Reference in New Issue
Block a user