< All Topics
Print

OpenCart Integration

How Do You Install ConveyThis On:

OpenCart Plugin

Integrating ConveyThis into your site is fast and easy, and OpenCart is no exception. In just a few minutes you’ll learn just how to install ConveyThis to OpenCart and start giving it the multilingual functionality you need.

signup

Step #1

Create a ConveyThis account, confirm your email, and access your account’s dashboard.

Step #2

On your dashboard (you have to be logged in) navigate to «Domains» in the upper menu.

menu domaindrupal plugin

Step #3

On this page click “Add domain”.

There is no way to change domain name, so if you made a mistake with the existing domain name, simply delete it and create the new one.

Once you done, click to “Settings”.

*If you installed ConveyThis previously for WordPress/Joomla/Shopify, your domain name was already synced to the ConveyThis and will be visible on this page.
You can skip adding domain step and just click to «Settings» next to your domain.

Step #4

Now you are on the main configuration page.

Select source and target language(es) for your website.

Click “Save Configuration”.

main configuration new 1024x546 1

Step #5

Now scroll down and copy the JavaScript code from the field below.

<!-- ConveyThis code -->
<script src="//cdn.conveythis.com/javascript/conveythis-initializer.js"></script>
<script type="text/javascript">
  document.addEventListener("DOMContentLoaded", function(e) {
    ConveyThis_Initializer.init({
      api_key: "pub_xxxxxxxxxxxxxxxxxxxxxxxx"
    });
  });
</script>
<!-- End ConveyThis code -->

*Later on you may want to make some changes in the settings. To apply them you will need to make those changes first and then copy the updated code on this page.

*For WordPress/Joomla/Shopify you DO NOT need this code. For more information please refer to the instructions of the associated platfrom.

opencart1

Step #6

Log into OpenCart and navigate to Design > Theme Editor.

Step #7

On «Choose a template» section find common > header.twing

Insert ConveyThis code snippet right before

Save changes

opencart2

Step #8

That’s it. Please visit your website, refresh the page and the language button shows up there.

Congratulations, now you can start translating your website.

*If you want to customize the button or get familiar with an additional settings, please go back to the main configuration page (with language settings) and click «Show more options».

Table of Contents