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
Latest works
  • image_website-b2b-advance_0.png
    B2B ADVANCE company website development
    1175
  • image_bitrix-bitrix-24-1c_fixper_448_0.png
    Website development for FIXPER company
    811
  • image_bitrix-bitrix-24-1c_development_of_an_online_appointment_booking_widget_for_a_medical_center_594_0.webp
    Development based on Bitrix, Bitrix24, 1C for the company Development of an Online Appointment Booking Widget for a Medical Center
    564
  • image_bitrix-bitrix-24-1c_mirsanbel_458_0.webp
    Development based on 1C Enterprise for MIRSANBEL
    747
  • image_crm_dolbimby_434_0.webp
    Website development on CRM Bitrix24 for DOLBIMBY
    655
  • image_crm_technotorgcomplex_453_0.webp
    Development based on Bitrix24 for the company TECHNOTORGKOMPLEKS
    976

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.