Example: Corvid Chat

Demonstrates

Links for this example
View the “Live” example in a browser page
Open the Example template in the Wix Editor
Chatbox new feature post

About this example
This example, from Erez P., demonstrates six usage techniques all of which are labeled in the code.

Example 1: Show or Hide the Chatbox when anchor (hidden page location marker) leaves or enters the viewing area of the page
Example 2: Maximize chat box when user clicks on a button.
Example 3: Show message received in header when message received from admin.
Example 4: Show thank you message in header when message sent.
Example 5: If an existing product is referenced in the message, navigate to it and display. Use #Tea to initiate the lookup (e.g. #Tea Chamomile as the message).
Example 6: Send a message from a footer text input field.

Note : Chatbox events (e.g. onMessageReceived, onMessageSent) are not triggered in Preview.

8 Likes

Super as that will help those who are trying to use Wix Chat with the Chatbot API, thanks Yisrael :+1:
That definitely deserves a drink, although not tea :wink:

2 Likes