Setting up a minimum order quantity for 1C-Bitrix products

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 Minimum Order Batch for Product in 1C-Bitrix

A minimum order batch is a restriction where a buyer cannot purchase a product in a quantity less than the set value. In Bitrix, this is implemented at the catalog properties level, not the cart: the MIN_QUANTITY field in the b_catalog_product table.

Where It's Stored and How It Works

Each product in the Bitrix catalog has a record in b_catalog_product, where in addition to price and stock levels are stored:

  • MIN_QUANTITY — minimum quantity for order
  • STEP_QUANTITY — quantity change step (multiplicity, separate setting)

When adding a product to cart, the catalog module checks MIN_QUANTITY. If the buyer specified less — the quantity is automatically raised to the minimum, or an error is displayed (depends on component settings).

Configuration via Admin Interface

Catalog → [select product] → Trade Offers/Quantity:

Field "Minimum order quantity" — enter a whole number. Value 0 or 1 means no restriction.

For bulk assignment of minimum batch, use import via CSV or XML (Catalog → Import), where in the MIN_QUANTITY column you specify the needed value for each position.

Configuration via API

For programmatic setup via CIBlockElement::SetPropertyValues or via \Bitrix\Catalog\Model\Product::update:

\Bitrix\Catalog\Model\Product::update($elementId, [
    'MIN_QUANTITY' => 10,
]);

Display in Cart Component

The standard bitrix:sale.basket.basket component (and bitrix:catalog.element) reads MIN_QUANTITY and when attempting to decrease quantity below the minimum, returns the quantity to the allowed level. If using a custom component or headless frontend, this behavior must be implemented separately — read MIN_QUANTITY from the catalog API and validate on the client.

Combination with Multiplicity

If both minimum batch and multiplicity (STEP_QUANTITY) are set, the minimum quantity should be a multiple of the step. For example, MIN_QUANTITY = 6, STEP_QUANTITY = 3 — correct. MIN_QUANTITY = 5, STEP_QUANTITY = 3 — will lead to incorrect cart behavior. This consistency must be controlled when filling in data.

Timelines

Setting minimum batch for individual products or bulk via import — 2–4 hours, including checking display in cart components.