Voted #1 Affiliate Software

Guaranteed to Increase
Your OpenCart Sales

OSI Affiliate will make it easy for you to create and manage a referral marketing program for your OpenCart store. See how OSI Affiliate will generate leads and sales for your store.

Get Started for Free Free for 15 Days
man working on laptop
Open Cart Affiliate Software

Opencart is one of the most solid and free open-source e-commerce softwares on the market. Entrepreneurs tend to use this software not only because it’s cost effective, but it’s easy to use. You can keep constant tabs with updates and free downloads. Also, there’s a built-in SEO software that makes managing much easier, from the products to even taxes. This software has gained the trust from collegiate institutions (Concordia College) to health-based systems (British Red Cross). If you still need assistance, get in touch with the community support team on the forums, because you’ll have over 110,000 registered members to help get your feet wet.

You can do a lot of your ground work through the administrator dashboard to locate your total orders, sales, customers, active people, analytics, and more. Make it easier to organize what demographic attract by putting your customers in specific groups. Here are some steps to take in order to integrate OpenCart with OSI affiliate software.

Part 1 - Adding tracking code to OpenCart [Integration]

Step 1
1. Click Setup
Actinic Affiliate Software
Step 2
2. Click the link that says “I want to get code to insert on my thank you page”
Actinic Affiliate Software
Step 3
3. Select your Shopping Cart from dropdown menu.
Actinic Affiliate Software
For these directions, we will select OpenCart.
Actinic Affiliate Software
Step 4
4. To integrate sale tracking with OpenCart, you should do the following steps.

1. Navigate to your cart directory catalog\controller\checkout\ and open confirm.php for editing. Find this line:
$data['totals'] = array();
Put this code below that line:
$this->session->data['osi_totals'] = $order_data['totals'];
$this->session->data['osi_products'] = $data['products'];
Save the file and continue with next step.

2. Open file catalog/controller/checkout/success.php and find this line (first occurrence):
if ($this->customer->isLogged()) {

2. Place the following code above that line:
//OSIAFFILIATE TRACKING CODE 
   $data['osi_orderid'] = $this->session->data['order_id']; 
$data['osi_totals'] = $this->session->data['osi_totals'];
$data['osi_products'] = $this->session->data['osi_products'];
if ($this->customer->isLogged()) {
$data['customer_email'] = $this->customer->getEmail();
$data['firstname'] = $this->customer->getFirstName();
$data['lastname'] = $this->customer->getLastName(); } else {
$data['customer_email'] = $this->session->data['guest']['email'];
$data['firstname'] = $this->session->data['guest']['firstname'];
$data['lastname'] = $this->session->data['guest']['lastname']; }
unset($this->session->data['osi_products']);
3. Modify the success view(template)
Open file catalog/view/theme/default/template/common/success.tpl 
For total cost without fee, add these lines: 
<?php 
if(isset($osi_totals) && isset($osi_orderid)) { 
   $subtotal = 0; foreach ($osi_totals as $item) {
   if ($item['code'] == 'sub_total') {$subtotal += $item['value'];} 
   if ($item['code'] == 'coupon') {$subtotal += $item['value'];} 
   if ($item['code'] == 'voucher') {$subtotal += $item['value'];} 
} 
   if ($subtotal < 0) {$subtotal = 0;} 
?> 
   <script async> function hideIF() { 
        document.getElementById('IF').style.visibility = ''; 
}
        function getSaleInfo() { 
          document.getElementById('st_code').style.visibility = 'hidden'; 
          document.getElementById('st_code').innerHTML='<iframe src="https://johndemo.ositracker.com/sales/salejs/amount:<?php echo $subtotal; ?>/transaction:<?php echo $osi_orderid; ?>/firstname:<?php echo isset($firstname) ? $firstname : ''; ?>/lastname:<?php echo isset($lastname) ? $lastname : ''; ?>" alt="" id=IF width=50 height=50 border="0" frameborder="0" onload="hideIF()">'; 
}
      window.onload = getSaleInfo; 
   </script> 
  <div id="st_code"></div> 
 <?php } ?>  

Part 2 - Create your referral website

In this section, we are going to show you how to customize your referral website. This is the website you will
use to register people to become affiliates.

By default this is how it looks

Actinic Affiliate Software
When you follow these instructions, you will be able to customize the look and feel
so that it will have your branding.
Step 1
1. Click Setup
Actinic Affiliate Software
Step 2
2. Click the link that says “I want to set up my sign-up page to register new users”.
Actinic Affiliate Software
Step 3
3. Click Upload to browse in your logo.
Actinic Affiliate Software
Step 4
4. Add the link of the logo in this field.
Actinic Affiliate Software


This could be the link to your website or the homepage of your referral website.

Step 5
5. Enter the details of your affiliate program in this field.
Actinic Affiliate Software
Step 6
6. To customize the registration form fields click on Form Fields tab.
Actinic Affiliate Software
Step 7
7. You can now add new registration fields, arrange fields, and delete fields from this page.
Actinic Affiliate Software


That’s it. You now have a referral website you can use to register people to join your affiliate program.

Thank you following this guide. If you followed it, Omnistar Affiliate software is now integrated with your Shopping Cart. Also, you now have a referral website you can use to register affiliates.

Good luck!

In 13 Years we have created
5 Amazing Products Used By 16,000 Companies

We have tracked more than 5 million transactions worth over $1 billion.

Omnistar Affiliate has been great for my business, it has helped me gain helpful affiliates willing to promote my business. The software is easy to set up and customize and looks a lot better than most other affiliate solutions out there. It was easy enough to integrate into my system and the documentation is very in depth and helpful.

Wasim Khamlichi
Wasim Khamlichi www.vibenation.net

By using omnistar affiliate software, we are able to track and pay affiliates that would have been impossible by hand. With our pricing structure, no two people's service is the same. Omnistar Affiliate lets us make sure our affiliate team is provided the best service possible.

Eric Counts
Eric Counts www.creditnerds.com

We use the Affiliation program for promoting our CRM. By creating affiliates that promote our product, and by having great sale margins we make sure everyone gets the most of what they do.

Josephus Callaars
Josephus Callaars www.mryoichi.com

Our customers have been featured in

woman working on laptop

Get Started for Free Today

OSI Affiliate has all the powerful tools you need to grow with referral marketing. We also support you along the way. You will get the best 1-on-1 customer support and help. Click below to get started for free.

Try It Free