Hello guys, I’m trying to build a multivendor restaurant app. and I want the app to send the order details directly to the restaurant’s whatsapp number. When the user places an order.
That’s what I did. Using this template you will just need to include a Template column at the Cart table and at the custom action that’s used to “send the order” you will need to add an action “open link” using the new collumn added on Cart table, it will be a link like this:
https://api.whatsapp.com/send?phone=5521981210565&text=*Olá!* Meu nome é *NOME* e estou fazendo o seguinte pedido:%0a%0a *Num. Pedido:* NUMPED%0a%0a*Itens:*%0a%0aDETALHES %0a%0a*•Total: TOTALPED* %0a*•Telefone:* TELEFONE %0a•*Endereço:* ENDERECO %0a•*Observações:* OBS%0a%0aEnviado em: DATAHORA
Instead of a template column, you can also use the Construct URL column to do this. Might be a bit cleaner and it formats the URL the right way automatically.
Using the scheme above, the only thing that you would still need a template column to help with is the text part, since it’s a single param in the URL.
Hi
I have a order but not cart like multiple things added,only a single order.the order has category name,image,phone number.how can I send this details to WhatsApp .any idea?