Extension Referral links on "Add to cart" button for OpenCart

  • Add custom link to button buy
  • Last Update:
    Module version:
    Module format:
    2.x, 3.x
    2.x, 3.x
    5.6 - 7.x
    ionCube Loader:
    for a domain
  • Add custom link to button buy - Screenshot 1
  • Add custom link to button buy - Screenshot 2
  • Add custom link to button buy - Screenshot 3

The module allows you to add affiliate links to products on the standard buy buttons in OpenCart. You can set up referral links on the Add to cart buttons in several ways using the very flexible settings of this extension. With its help, you can implement the buttons "buy from partners" to go to the purchase of goods on an external site.

Link on product cart button

The module makes it possible to set affiliate links for all products or only some, for example, only those that are out of stock, and the rest of the products will be available for ordering on your website. In this case, the Buy button will be replaced with an affiliate (referral) link only in certain products that meet the specified conditions.

This extension does not put direct links, all redirects are performed through javascript. These links are not found anywhere in the js code, so search engines will not see external links on your site and will not index them and give them weight.

Several possible options for configuring the affiliate links module in OpenCart products:

1) For each product, a separate affiliate link is needed, that is, for each product a link is written in a separate field.

Links can be written in standard product fields that you have not yet used, for example: UPC, EAN, JAN, MPN, ISBN, Location.

Let's say you decided to write links in the "Location" field, then in the module settings in the "Link" field you need to write the {location} shortcode so that the module receives a link from there and substitutes it for the Add to cart button.

Or, you decided to register product referral links in the UPC field, then in the reflinks module settings you need to register the {upc} shortcode.

If you still need to pass additional parameters, for example, the selected quantity of goods on your site, then the link formula should look something like this: {upc}?quantity={quantity}

2) Affiliate links must be generated automatically from product parameters.

For example: you have a basic affiliate link, in which you only need to substitute the value of the product SKU or product code, then in the module settings in the Link field you need to write something like this: http://partner.shop/get_product?code={model}

3) One affiliate link for all products.

In this case, you just need to register this link in the module settings in the "Link" field and when you click on the Buy button, customers will be redirected to this link.

Module installation instructions:

  1. Upload the module in the admin panel in the "Extensions" : "Install".
  2. Go to the "Modifications" section and update the cache.
  3. Go to the "Extensions" : "Extensions" : "Modules" and enable the module.
  4. Edit module. Enable the status of the module and adjust all its options to your needs and save the settings.
  5. Check module operation.
  6. Bingo!

You must be logged in to view the files!

Модуль Партнерські посилання на кнопці Купити для OpenCart

Модуль Партнерские ссылки на кнопке Купить для OpenCart

Write a review

Note: HTML is not translated!
    Bad           Good

flowershouse 07/02/2022

модуль топчик работает как часики. подтягивает ссылки из поля юпс а имено это мне и нужно было... спасибо.

  • $20.00

Domain for which the module will be purchased
Payment icons
  • The license key is provided automatically
  • Lifetime license
  • Activation without external requests
  •  Free license key for test domain
  • Only admin controller is encrypted
  • Extensions can be modified
  • Periodic module updates
  • Professional help from author
  • Free technical support - 1 year


  • OpenCart: 2.3.x.x,,,,,,,,,,,,,,,,

More OpenCart Extensions

OpenCart Show pdf invoice on order


OpenCart Events


Audio player on product page


Ukrainian order receipt


Products on map


Multilanguage sitemap OpenCart


Auto sending a request to Bing