Adding OneClick Chat to Order and WhatsApp Checkout in WordPress With Shipping Method
To add a One-Click Chat to Order feature and send checkout details via WhatsApp, including the shipping method, you can make modifications to the “wa_button.php” file in your WordPress theme or plugin. Here’s a step-by-step guide on how to achieve this:
- Open the “wa_button.php” file and locate the function where the WhatsApp message is being constructed. It might look something like this:
|
|
-
Modify the existing code as shown above to include the shipping method information.