I am currently developing a marketplace where each supplier has their own dedicated page. I’m exploring the possibility of creating a snippet (iframe type) that suppliers can embed directly onto their website to display their data.
Since my marketplace revolves around events, ideally, suppliers could create their events on my platform and then embed them on their own websites. This would allow their users to click on the event and make purchases directly on my platform.
An iframe is just a rectangle that holds another web site. So you can have an iframe that has the “src” attribute of a page on your site. When they interact with that iframe, its talking directly to your web site.
This is how the weweb editor itself works under the covers. You have the main editor chrome, and the site representation is in an iframe. Managing that complexity is part of the reason you see people using wwLib.getFrontWindow() because the window of the site in the editor is not the direct browser window.
Yes, it sounds very much like the kind of challenging problem we work on in SC.
If you like, share your email via the State Change Contact Us form. Then I can hook you up with calendly for a free 30-min session to understand the question, give you some counsel for free, and determine if your challenge is a fit for our program.