To enable the functionality, the button has to have the feature enabled, PUT_IN_CART_FROM_WIDGET has to have a listener and the trigger button has to have data-eyezon-put-in-cart attribute
The second button has the feature enabled.
The following code will be run
eyeZon('emit', 'PUT_IN_CART', ["Test"]);
If there is an active dialog (with target "Test") with a response from streamer within 24 hours and Put In Cart feature is enabled for the dialog, the streamer will receive the notification that the product has been put in cart.