Guides / Platforms / OpenCart

Install guide

Add a DreamWidget to OpenCart

Where it goesHTML Content module
What you needWorks on OpenCart 3 and 4.

First, copy your code. In the DreamWidget editor, open Settings and press Copy embed code. It is one iframe and a short script; paste both.

Add a widget to a page

  1. Add HTML ContentGo to Extensions, Modules, and add an "HTML Content" module.
  2. Paste in SourceSwitch the editor to Source, paste your DreamWidget code and save.
  3. Place itUnder Design, Layouts, add the module to the page layout and position.

A popup, bar or chat buttons on every page

Floating widgets do not need a spot in the layout; they load once per page and float over it.

  1. Add it to every layoutAdd the same module to the footer position of each layout.
Worth knowing: If the editor removes the script, paste it in Source mode.

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 publish in the editor appear on OpenCart by themselves; you never paste the code again.

Other platforms