Create an iframe or embedded snippet from weweb to another website?

Hi there,

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.

How could I achieve that?

Thank you.

Davy

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.

0ar

1 Like

Hi @raydeck ,
thanks, Is it something you could help me with in statechange?

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.

ok great, let’s do that. Thanks