For clients who want to use the widget within their own shopping carts, there exists a special JS library to aide in creating product previews outside of the widget.
Begin by embedding https://az412349.vo.msecnd.net/pio/pio.canvaspreviewer.2.11.6.min.js. after the
For example, let’s say that you wanted to get a preview of the first item in the cart, and insert that preview into a container DOM element:
Its also useful to be able to close the widget when it gets to its cart section, in order to direct the user to the external cart.
This is achievable via adding a subscription to the
onEvent function which listens for when the user gets to the cart, and automatically closes the widget when that happens.
It seems that you do not have a default email client set up in your browser. Don’t worry, you can still contact us – Simply copy the address below to your email client of choice.