Tracking code installation
Tracking page visits
Intents and Entities
Building Dialogflow agent and connecting to Activechat
Sending user input to NLP engine
Triggering bot skills by intents and events
Working with entities
NLP best practices
Sending order updates
Now it’s time to add more controls to our shopping cart that we built for chatbot users. Before someone checks out, it would be wise to give him or her some options to edit shopping cart – change quantity and also remove items and clear cart completely. Activechat Visual Bot Builder has specific block which allows you to do editing cart.
This block can be used to change quantity of items in the shopping cart. We’ll add three buttons to our DISPLAY CART block – “Change quantity”, “Remove item” and “Clear cart”. Here’s how it can look in your flow:
This block is really simple, and all it does is clearing the cart completely. After this block is triggered it would be wise to offer user an option to continue shopping, or get him to products or categories list immediately (see example above).
Here is our shopping cart in Messenger: