Discount for Referred Customers

This module (Order Total) provides automatic discount to any customer, who has been referred by any affiliate and used a link with any valid tracking code to access your site.

This discount can help affiliates promote your products, motivating their referrals to use affiliate links instead of accessing your shop directly. That in order will help you obtain more and better affiliates, more eager to work with your site.

You can set up global default discount, and you do not have to configure it for every affiliate separately. But you also can set individual discount amount and type (fixed or percentage) for certain affiliates. You can exclude certain affiliates by setting their amounts to 0, or allow discount to certain affiliates only by setting default discount to 0.

The discount is flexible and has many options:

  • Can be percentage-based or fixed amount
  • For fixed amount, you can configure a limit, so that the discount is never higher than certain % of total – useful for very cheap products
  • Fixed discount can be applied to whole order or to each item, multipling the amount by the number of items in the order
  • You can offer the discount on customer's first order only, on all customer's orders, or periodically
  • Percentage discount can be calculated from total order price, most or least expensive product only, and can take into account or ignore product quantity

In openCart 2 you can give discount to users referred by affiliates, by your own Marketing Campaigns, or both

If you use openCart 1 and need to set up individual affiliate discounts, vQmod is required.

Combination with Type-in Tracking Code module ( ) can be quite useful – for example, your affiliates will be able to print their tracking code in booklets or flyers and advertise a discount to those who type in tracking code on the site. Both extensions are available in a bundle here with $11 total discount.

Attention openCart and users: OCMOD system is broken in those versions, we recommend free extension below to fix it:

Demo version:
    for openCart 3 (contains ALL Affiliate Pack X extensions):

    for openCart 2 (contains ALL Affiliate Pack X extensions):

    for openCart 1 (contains ALL Affiliate Pack X extensions):

Admin login: demo , password: demo

The module is included in Affiliate Pack X, where you can get it with 40% discount:

openCart 1.x versions require vQmod.
For openCart 3 version installation instructions and documentation, see Documentation tab on the Download page.
For openCart 1 and 2 version, installation instructions and documentation is included in the .zip download.

This module is supposed to work with regular openCart. Though issues are unlikely, compatibility with 3rd party modules, extensions, themes or modifications is not 100% guaranteed.


  • Developed by OpenCart Community
  • 12 Months Free Support
  • Documentation Included


Compatibility,,,,,,,,,,,,,,,,,,,, 1.5.4,,, 1.5.6,,,,,,,

Last Update
10 Feb 2024

25 Dec 2012
68 Sales
Member since: 27 Jan 2012

View all extensions Get Support