Adding Elfsight widget to OpenCart website

Follow this step-by-step guide to add an Elfsight widget to your Opencart website. Copy your widget installation code and let's get started! 😊

Choose how to install your widget

This guide explains how to install static and floating widgets. If you're unsure about the difference, check out this article β€” Floating and Static widgets: Understanding the difference.

Add a static or floating widget to a specific page

1
Log in to your Opencart website dashboard and go to the Extensions tab β†’ Extensions. Choose Modules as the filter:
2
In the Modules list, find the HTML Content element and create a new one:
3
Fill in the required information and add the widget installation code:

  • Module Name: elfsight
  • Description: click the Source or Code view icon and paste the installation code
  • Status: Enabled

Don't forget to save your module by clicking the Save πŸ’Ύ button:

4
Go to the Design section β†’ Layouts, choose the required page, and click the Edit ✏️ icon:
5
Choose the module's position, click the Add Module icon, and select elfsight from the dropdown. Save the changes in the upper right corner:

Great! You have successfully added the Elfsight widget to a specific page of your Opencart website!

Add a floating widget to all pages

1
In your Opencart dashboard, navigate to the Design tab β†’ Theme Editor. Select the common template:
2
Find and open the footer.twig file:
3
Insert the widget installation code before the opening <footer> tag and save the changes:

That's it! You've added a floating widget to all pages of your website!

Add a static widget to all pages

The process is similar to adding a widget to a specific page. Follow these steps:

1
In your Opencart dashboard, go to the Extensions tab β†’ Extensions and choose Modules as the filter:
2
In the Modules list, find the HTML Content and create a new one:
3
Fill in the required information and insert the widget installation code:

  • Module Name: elfsight
  • Description: click the Source or Code view icon and add the widget code
  • Status: Enabled

Don't forget to save your module by clicking the Save πŸ’Ύ button:

4
Go to the Design section β†’ Layouts and add the elfsight module to each layout. To do it, choose a page and click Edit ✏️ button next to it.
5
In the page settings, select the position of the module and click the Add Module icon. In the dropdown list, choose the elfsight module and save the changes:
6
Repeat the process for all the layouts you have.

Done! Your Elfsight widget is now displayed on all website pages.


If you face any difficulties with the installation or have a lot of web pages, our dev team will cover you! πŸ™Œ Simply submit an installation request by following this guide β€” Easy steps to request installation of your Elfsight widget.

Did this article answer your question? Share your feedback: Thanks for sharing your feedback. It helps us grow! There was a problem submitting your feedback. Please try again later.

Still looking for assistance? Contact Us Contact Us