Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you activate two-way Favorites synchronization, all management of Favorites functionality will be done on your side. Since iframe tag is used to integrate web-visualizer on your website, the interaction between web-visualizer and the website is implemented via the method window.postMessage . If any action is being done with selected productsWhen a product is added or removed from the Favorites, web-visualizer calls the method window.postMessage with certain parameters. These parameters to should be processed and after that WEB visualizer should be reported about the current status of the list of selected products should be sent to the web-visualizer.

When the visualizer opens, you must send the current status of the Favorites section to the web-visualizer to synchronize selected products by calling the event window.postMessage described below:

...