JS | Extra event hooks for JavaScript plugins
3 months ago
From a more technical perspective of our product, some of our JavaScript plugins were extended with event hooks you can use in order to smoothen your integration with Tweakwise. The Suggestions JS now supports the twn.add-to-cart
and twn.add-to-favorites
event hooks. These events allow customers to make use of add-to-cart and add-to-favorites buttons in the product suggestions.
The Guided Selling JS now supports the following event hooks: twn.request.started
, twn.request.success
, twn.request.failed
, twn.request.completed
and twn.results.open
. When using the product tile editor in Tweakwise App > Plugin Studio, all elements now have a new data-attribute containing the shown value