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.
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()) {
//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']);
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 } ?>
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
This could be the link to your website or the homepage of your referral website.
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!
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.
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.
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.
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