Voted #1 Affiliate Software

Guaranteed to Increase
Your osCommerce Sales

OSI Affiliate will make it easy for you to create and manage a referral marketing program for your osCommerce 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
osCommerce Affiliate Software

osCommerce was one of the first open-source ecommerce shopping cart systems to be available to the public. The system was created by Harald Ponce de Leon in March 2000 and is based in Germany. Over 12,000 companies worldwide are using the osCommerce system. They’ve grown to over 20,671 live sites, 8,700 add-ones, 297,518 members, and 1.6 million forum postings in the past 17 years of being available online. They still dedicate themselves to an open source system to fuel their strong community engagement.

Part 1 - Adding tracking code to your website [Integration]

Step 1
1. Click Setup
osCommerce Affiliate Software
Step 2
2. Click the link that says “I want to get code to insert on my thank you page”
osCommerce Affiliate Software
Step 3
3. Select the Shopping Cart from dropdown menu and follow the instructions.
osCommerce Affiliate Software
For this time, we will select the osCommerce option
osCommerce Affiliate Software
Step 4
4. To integrate sale tracking with OSCommerce, you should do the steps below.

1. Find and open file checkout_success.php in osCommerce source files.

2. Inside the file find this line if ($global['global_product_notifications'] != '1') {... it should be somewhere after \ line.

2. Insert the following code just below that line:

  <?php // get order id $sql = "select orders_id from ".TABLE_ORDERS. " where customers_id='".(int)$customer_id. "' order by date_purchased desc limit 1"; $omnistar_orders_query = tep_db_query($sql); $omnistar_orders = tep_db_fetch_array($omnistar_orders_query); $omnistar_order_id = $omnistar_orders['orders_id']; // get total amount of order $sql = "select value from ".TABLE_ORDERS_TOTAL. " where orders_id='".(int)$omnistar_order_id. "' and class='ot_subtotal'"; $omnistar_orders_total_query = tep_db_query($sql); $omnistar_orders_total = tep_db_fetch_array($omnistar_orders_total_query); $omnistar_total_value = $omnistar_orders_total['value']; //get product ids $sql = "select products_id from " .TABLE_ORDERS_PRODUCTS. " where orders_id=".(int)$omnistar_order_id; $omnistar_orders_products_query = tep_db_query($sql); $omnistar_orders_products = ''; while ($row = tep_db_fetch_array($omnistar_orders_products_query)) { $omnistar_orders_products .= $row['products_id'] . ','; } $omnistar_orders_products = substr($omnistar_orders_products, 0, -1); // draw invisible image to register sale if($omnistar_total_value != "" && $omnistar_order_id != "")  ?>
<script> 
function hideIF() { 
document.getElementById('IF').style.display = 'none'; 
}
 function getSaleInfo() { 
document.getElementById('st_code').innerHTML='<iframe src="https://youraccount.ositracker.com/sales/salejs/amount:%%productprice%%/transaction:%%customerreceipt%%" alt="" id=IF width=50 height=50 border="0" frameborder="0" onload="hideIF()">';
 }
 window.onload = getSaleInfo; 
</script> 
<div id="st_code"></div> <?php }?> 

After you save this file you will now be able to track your sales.


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

osCommerce 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
osCommerce Affiliate Software
Step 2
2. Click the link that says “I want to set up my sign-up page to register new users”.
osCommerce Affiliate Software
Step 3
3. Click Upload to browse in your logo.
osCommerce Affiliate Software
Step 4
4. Add the link of the logo in this field.
osCommerce 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.
osCommerce Affiliate Software
Step 6
6. To customize the registration form fields click on Form Fields tab.
osCommerce Affiliate Software
Step 7
7. You can now add new registration fields, arrange fields, and delete fields from this page.
osCommerce 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