Setting up a 1C-Bitrix affiliate program

Our company is engaged in the development, support and maintenance of Bitrix and Bitrix24 solutions of any complexity. From simple one-page sites to complex online stores, CRM systems with 1C and telephony integration. The experience of developers is confirmed by certificates from the vendor.
Our competencies:
Development stages

Configuring Affiliate Program in 1C-Bitrix

Bitrix has built-in affiliate module (affiliate) — it's part of the sale module and available on "Small Business" licenses and above. The module allows partners to earn commission for attracted orders through referral links.

Enabling and basic configuration

Settings → Product settings → Modules → Partner program — install affiliate module.

After installation, section appears in menu: Store → Partner program.

Basic settings (Store → Partner program → Settings):

  • Minimum payout amount — accumulated commission threshold
  • Commission calculation method — from order amount or profit
  • Order status for crediting — recommended binding to "Paid" status, not "New"
  • Link parameter — name of GET parameter in referral link (aid by default)

Data structure

Key module affiliate tables:

Table Purpose
b_affiliate Partners (linked to users b_user)
b_affiliate_plan Commission earning plans
b_affiliate_deduction Earned rewards
b_affiliate_order Order-partner relationship

Commission plans

Store → Partner program → Plans:

  • Type: percentage of order amount or fixed amount
  • Binding to product groups or catalog categories
  • Minimum and maximum commission amount

Different plans can be assigned to different partners — for example, higher percentage for top affiliates.

Referral link and tracking

When following link like https://site.ru/?aid=123 Bitrix records affiliate ID in session and cookies. On order placement, partner is linked automatically via OnSaleOrderBeforeSaved handler.

Cookie storage time configures in module parameters (default 30 days).

Partner personal account

Partners need personal account section with bitrix:sale.affiliate component. Template displays: balance, earning history, referral link. Component connects to personal account page standardly.

Estimated timeframes

Basic affiliate program setup with one plan and partner personal account — 4–8 hours. Multi-level partner program with multiple plans and custom reports — 1–2 business days.