We present to your attention a new module for the online store PHPShop Enterprise, which allows you to create a network of partners and automate the process of accounting for bonuses and discounts of the affiliate program.
The latest version of the best-selling of our platforms for online stores
PHPShop Enterprise 3.5 provides the PHPShop Partner module, which will allow the owner of an online store to successfully create an affiliate network, many accounting processes in which will occur automatically.
The module takes into account customer referrals for affiliate links, and in the case of a successful order, charges the partner with a bonus in the form of a specified percentage of the payment.
For each partner, we have provided a personal account in which the accumulation of bonus funds, as well as the control of paid and unpaid orders. As soon as the bonus amount reaches the figure set as sufficient for withdrawal, the partner can apply for withdrawal. Also in the partner’s office in the “Materials” tab, methods are available to redirect customers from the partner’s website to the online store site to account for bonuses.
')
Affiliate link
Partners have several ways to place products in their store. The easiest one is using an affiliate link that looks like
<a href="http:// /?partner=XXX"> !</a>
and contains the identification ID of the partner.
Connecting the showcase of goods through JavaScript
Another way is to connect the storefront to the site using Java Script. This method allows you to display in the storefront of products anywhere in the partner site, taking into account the design and settings of the quantity of goods and the directory placement. The method supports connecting several windows at the same time.
<script src="http:// /phpshop/modules/partner/lib/js/phpshop-partner-lib.js" id="phpshop-lib-xml"></script> <script> var PHPShopXmlManager1 = new PHPShopXmlManager(); PHPShopXmlManager1.url = 'http:// '; PHPShopXmlManager1.imgwidth = 100; PHPShopXmlManager1.partner = XXX; PHPShopXmlManager1.category = 11; PHPShopXmlManager1.limit = 5; PHPShopXmlManager1.load(); </script>
Description of settings:- .partner = XXX; - partner identifier
- .category = 11; - Category ID for the withdrawal of goods. If this parameter is omitted, special offers are displayed.
- .limit = 5; - limit of withdrawal of goods
The product output scheme can be personalized using a custom product output template.
Shop4Partner Utility
One of the easiest ways to place a product catalog on a partner’s website is to use the Shop4Partner utility. Just a few clicks are required to generate the HTML code of the product display window, which is easy to use on partner sites. The utility automatically takes into account the partner identifier and has several design templates.

Catalog Module
As a system for displaying products via an affiliate program, you can also use the full-featured free content management system
PHPShop Micro with the Catalog module to broadcast products via an affiliate program.
PHPShop Micro is an ideal solution for small sites, it does not require a database and works exclusively on files, and therefore is suitable for free hosting. The content management system has more than 120 unique themes and supports the display of a product window through Java Script.

In order to start broadcasting products using PHPShop Micro, you need to download the archive by
link , unpack it, upload it to your partner’s FTP site and determine the appearance and output settings for the Catalog module.
The configuration of the Catalog module is in the file phpshop / modules / catalog / inc / config.ini
- enabled = "1"; - switching on the module (0 - switching off)
- partner = "1"; - partner ID
- right = "11"; - Directory IDs separated by commas for output in the right column
- left = "6.3"; - ID directories separated by commas for output in the left column
- limit_left = 4; - the number of products in the left column
- right_left = 5; - the number of products in the right column
PHPShop.CMS Micro operation example with the included module Catalog:
micro.phpshopcms.ruLearn more about working with the Partners module
wiki.phpshop.ru/index.php/Partner_Module