Integrating Localizer with OpenCart
In this article, we’ll walk you through how to implement Localizer on OpenCart.
Steps to Add Localizer to OpenCart
If you're using a OpenCart provided or custom theme - you can easily add the Localizer JavaScript Integration code by following the steps below:
1Login to your Localizer account and copy the JavaScript. (Menu > Integration)
2Paste it to a file called localizer.js and copy the file to the folder in this location: "catalog/view/javascript"
3Locate the header.php file at catalog/controller/common/header.php
4Add the following line
$this->document->addScript('catalog/view/javascript/myscript.js');
above
$this->data['scripts'] = $this->document->getScripts();
5Save your changes.