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.







