Install guide
Add a DreamWidget to PrestaShop
PrestaShop 1.7 and 8 take code through an HTML block module, assigned to a hook such as the home page content.
Widgets that work on PrestaShop
Every DreamWidget below works on PrestaShop, with the same steps.
Logo Showcase, Video Showcase, YouTube Widget, Vimeo Widget, TikTok Widget, Twitch Widget, Countdown, Instagram feed, Showreel.
Add a widget to a page
First, copy your code. In the DreamWidget editor, press Publish changes, then Copy code in the window that says your widget is live. The same code is in Settings, under Copy embed code. It is one short code; paste all of it, as copied.
- Install an HTML module. Install a custom HTML block module (for example HTML Box) from Modules.
- Paste. Configure the module, paste your DreamWidget code and choose the hook (the place on the page).
- Save. Save and clear the cache.
The popup on every page
These float over the page instead of taking a spot in it, so they load once per page.
- Use a footer hook. Put the module on a footer hook so it loads on every page.
If it does not show up
- The code shows on the page as text. It went into a text block. Delete it and paste it into the Custom HTML module instead, the whole code as copied.
- The box is empty while you edit. Many editors do not run embedded code on the editing canvas. Preview the page, or open the published page, where it draws.
- Nothing shows on the live page. Publish the PrestaShop page after pasting, and in DreamWidget press Publish changes so the widget itself is live. Then open the page in a private window.
- The bottom of the widget is cut off. If PrestaShop gives the embed a fixed height, make it taller until the whole widget shows, then check the phone view.
- It showed before and now it does not. A widget on the free plan shows 300 times a month and then pauses until the 1st; the dashboard says so on its card. Any paid plan has no view limit.
Check it worked
Open the published page in a private window. The widget draws within a second; if the box is empty, see Checking it worked. Changes you make in the DreamWidget editor reach PrestaShop by themselves; you never paste the code again.