WhatsApp Multi Age - Custom URL / Link to an external page for the Agent

Hello,I am configuring the module for a restaurant website, and I need to solve a specific requirement regarding the chat action.Instead of opening a standard chat or using the default behavior, I need the Agent (or the main button) to redirect the user to an external URL, which is our WebApp for online ordering.Is there a built-in setting to achieve this, or can you guide me on how to perform a code override in Joomla to link the Agent directly to a custom external URL?Thank you in advance for your help!Best regards,
1 month 5 days ago #1 by Ron Donnicola
The topic has been marked as resolved.
  • Posted by TemplatePlazza (5451) Offline
Hi, Im sorry, I don’t really understand what you mean. Do you mean that when a user clicks on the agent’s name, they will be redirected to your booking page?
1 month 5 days ago #2 by TemplatePlazza
Attachments:
The topic has been marked as resolved.
Yes, exactly, but I would prefer to avoid modifying the PHP files if possible, to keep things simple and prevent issues with future updates.

What I need is just a button or a link somewhere that redirects the user to our external web page. This could be achieved in either of these two ways:

Directly on the agent's name (so clicking it opens the link instead of the chat).

Inside the chat window, for example embedded in the very first welcome message.

Is there a built-in setting or an easy way within the module configuration to add this link or button?

Thank you!
1 month 5 days ago #3 by Ron Donnicola
The topic has been marked as resolved.
  • Posted by TemplatePlazza (5451) Offline

Directly on the agent's name (so clicking it opens the link instead of the chat).

This can only be done by modifying the PHP code or creating a template override

Inside the chat window, for example embedded in the very first welcome message.

You can do this by inserting the link into the Pre Chat Message field in the module configuration
1 month 5 days ago #4 by TemplatePlazza
Attachments:
The topic has been marked as resolved.
Hello,

I wanted to thank you for your reply and your helpful suggestion!

Following your advice, I was able to successfully create a button/link to our external WebApp using HTML.

I also wanted to let you know that this workaround works perfectly within the chat header using the Greetings messages. It looks amazing and provides a great user experience on both desktop and mobile.

Thank you again for your support!

Best regards,
1 month 4 days ago #5 by Ron Donnicola
The topic has been marked as resolved.
  • Posted by TemplatePlazza (5451) Offline
Hi Ron ​​​​​​, Glad to hear the workaround is working well 
1 month 4 days ago #6 by TemplatePlazza
The topic has been marked as resolved.
Powered by Kunena Forum