SHOW CART

Use the “Show cart” chatbot block to display the content of user’s chatbot shopping cart as a dynamic gallery.

Example use of the "Show cart" chatbot block
Example use of the “Show cart” chatbot block

You can specify the sorting order for the gallery.

As with every other dynamic gallery in Activechat, you can add buttons that will be displayed in every card. These buttons can be used for actions like “Change product quantity”, “Remove from the card” or “Check out”. When user clicks any of these buttons, there will be a number of system attributes available to help your chatbot perform consequent operations:

$_selected_item_idID of the selected item in the chatbot shopping cart
$_selected_item_slugslug of the selected item in the chatbot shopping cart
$_selected_item_priceprice of the selected item in the chatbot shopping cart
$_selected_item_titletitle of the selected item in the chatbot shopping cart
$_selected_item_image_urlimage URL of the selected item in the chatbot shopping cart
$_selected_item_urlURL of the selected item in the chatbot shopping cart
$_selected_item_descriptiondescription of the selected item in the chatbot shopping cart
$_selected_item_quantityquantity of the selected item in the chatbot shopping cart
Was this article helpful to you? Yes No 1

How can we help?