Setting up units of measurement in 1C-Bitrix

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 Units of Measure in 1C-Bitrix

On importing products from 1C or filling catalog manually without configured units of measure, you get: no unit in product card ("pcs", "kg", "m"), no label on quantity button, blank fields in invoices. Units of measure in Bitrix — separate catalog module entity, without setup correct catalog operation impossible.

Where Units of Measure Are Located

Shop → Catalog → Units of Measure

Data stored in b_catalog_measure table. Fields: ID, CODE (numeric code per GOST), IS_DEFAULT (default unit), MEASURE_TITLE (name), SYMBOL (symbol: pcs, kg, l), SYMBOL_INTL (international symbol).

Standard Units and GOST Code

Bitrix uses GOST codes (Russian classification of units). Most common:

GOST Code Name Symbol
796 Piece pcs
163 Gram g
166 Kilogram kg
113 Meter m
112 Centimeter cm
111 Liter l
778 Package pkg

On 1C import units matched by GOST code — therefore important that codes in Bitrix match codes in 1C.

Default Unit of Measure

Only one unit can be marked as IS_DEFAULT = Y. Applied automatically to all new products if not specified explicitly.

Changing default unit via API:

// First reset current default
\Bitrix\Catalog\MeasureTable::updateMulti(
    ['IS_DEFAULT' => 'N'],
    ['IS_DEFAULT' => 'Y']
);
// Set new one
\Bitrix\Catalog\MeasureTable::update($measureId, ['IS_DEFAULT' => 'Y']);

Units of Measure for Trade Offers (SKU)

For products with trade offers, each offer can have its own unit — e.g., base product in pieces, package in boxes. Configured in trade offer card: Trade Catalog → Unit of Measure.

Conversion Ratios

Bitrix allows creating derivative units with conversion ratio. For example: "Package 10 pcs" with ratio 10 to "pcs". Used in wholesale orders when customer selects package quantity, system recalculates to pieces for stock.

Execution Timeline

Setup standard units set and product binding — 1–2 hours. If need bulk unit change for existing products or ratio setup — 2–4 hours.