How to Install 100Widgets on OpenCart
Add widgets to OpenCart 3 and 4 store templates or HTML modules. Follow this simple guide to copy and paste any 100Widgets interactive component into your OpenCart website.
Installation Steps
Add an HTML Content Module
In OpenCart Admin, navigate to Extensions > Extensions > Modules > HTML Content > Add New.
Switch to Code View and paste
In the description field editor, click the 'Code View' (<>) button and paste your embed code.
<script src="https://100widgets.com/js.php?id=301"></script> Assign to Layout
Go to Design > Layouts, edit your target layout (e.g. Home or Product), and assign the HTML Content module to Column Left, Content Top, or Footer.
Tips for OpenCart
- For store-wide sticky widgets, you can also paste the script into catalog/view/theme/default/template/common/footer.twig before