There is an AddShoppers extension for OpenCart using vQmod. To download it, click here, and to see our installation instructions for the extension, click here.

To install manually, continue with these instructions:

Note: Since we don't know what theme you're using, these instructions assume the default theme. If you're using a theme other than the default, you'll most likely need to replace "default" with your theme in the given file paths.

Social Analytics Installation

1. Open up the footer.tpl file found in /catalog/view/theme/default/template/common/footer.tpl

2. Paste your AddShoppers Social Analytics code right above the </body> tag.

AddShoppers Sharing Buttons Installation

1. Open up the product.tpl file found in /catalog/view/theme/default/template/product/product.tpl

2. You can paste your button code where ever you want, however, we recommend replacing the default sharing buttons with ours:

ROI Tracking Installation

1. Open up the success.php file found in /catalog/controller/checkout/success.php

2. Copy the following 2 lines and paste them immediately after the line that says if (isset($this->session->data['order_id'])) {

if (isset($this->session->data['AddShoppersAmount'])) 
    $this->session->data['AddShoppersAmount'] = $this->cart->getTotal();
if (isset($this->session->data['AddShoppersOrderID'])) 
    $this->session->data['AddShoppersOrderID'] = $this->session->data['order_id']; 

3. Open up the success.tpl file found in /catalog/view/theme/default/template/common/success.tpl

4. Paste your ROI Tracking code in this file and save.

Purchase Sharing Installation

  1. In your AddShoppers dashboard, go to Apps -> Purchase Sharing and configure your sharing popup
  2. Open up the success.tpl file found in /catalog/view/theme/default/template/common/success.tpl
  3. Paste your purchase sharing code in this file and save.

Facebook OG Tags Installation (For Facebook Want and Own Buttons)

1. Open up the header.tpl file found in /catalog/view/theme/default/template/common/header.tpl

2. Add your AddShoppers OG tags in this file.

Did this answer your question?