Setting up order volume-based pricing in 1C-Bitrix

Tiered prices are entered manually, and at scale the catalog starts making mistakes: managers calculate discounts themselves, margin slips away. We configure order volume-based price calculation in 1C-Bitrix turnkey — rules, tiers, and invoice recalculation work automatically. The time to prepare a proposal is reduced many times over, and pricing errors stop reaching the customer.
Frequently Asked Questions

Why price setup in 1C-Bitrix breaks at order volume

Price setup by order volume in 1C-Bitrix breaks not on arithmetic, but because the same amount is calculated by two different mechanisms.

The storefront applies cart rules to current contents, while the invoice and export to the accounting system are built from price types in the product items.

While the cart has two or three line items, the discrepancy is unnoticeable; at the third or fourth dozen lines it turns into an incorrect price recalculation, and the order goes to the manager for manual correction.

In the catalog, prices by order volume are set in two ways: quantity thresholds for a specific line item and quantity discounts for the entire cart.

The rules have priority and application order — product conditions run first, then order conditions, and rounding is performed for each line item separately.

If the threshold in storefront rules does not match the threshold in the product item card, the total matches “approximately”: the difference accumulates exactly at volume.

The second half of the failure is the data source for the invoice. A wholesale catalog lives on several price types, and they come via exchange from the accounting system.

If a wholesale price type is not exported or not linked to an agreement, the document is generated at the base price, even though the storefront showed a discount. The user sees one amount, the manager another, and both sides consider the system unreliable.

The cost of such a failure is measurable: every large cart requires manual reconciliation, invoice issuance time grows, and recalculation errors come back after shipment, when correction is most expensive.

Price cache suffers separately: after a quantity change, recalculation runs on outdated data, and the client sees the price from the previous step.

This is closed not with patches in the cart template, but with a unified procedure: one source of rules, explicit discount priorities, consistent thresholds in the storefront and product items, forced recalculation on every change in order composition. Below we examine how this is configured.

What volume-based calculation gives: speed, margin, fewer errors

Tiered prices stop living in several places. Volume ranges, thresholds, and rounding rules are described once — in the catalog and price types — and the same logic calculates the price for the product card, cart, invoice, and export to the accounting system. The client, manager, and accounting see the same figure.

Checkout speed grows due to recalculation at the moment quantity changes, not after approval.

The buyer immediately sees which tier applied and how much is missing until the next threshold — the cycle “request, manager recalculation, invoice” disappears along with some abandoned carts.

Order margin is built into the rule itself.

The discount threshold is tied to cost and customer type: wholesale gets its own grid, retail its own, and stacking of promotions and volume discounts is defined explicitly, not “however it turns out.” The manager sees the remaining margin per line before confirming the deal.

In 1C-Bitrix this maps to standard price types and cart rules; customization is needed only for specifics.

It also removes the class of errors that is most expensive in support: price discrepancy in invoice and order, outdated figure in the catalog after a price increase, manual edit directly in the database.

The share of orders with manual recalculation falls, and discrepancies are caught by validation before the document is sent.

Price setup by order volume: comparison of approaches

Volume price is assembled from several mechanisms, and the choice between them determines where the logic will live: in the cart, in price types, or in the accounting system.

Standard quantity discounts calculate quickly, but they do not know about contractual terms and price types — the site shows one amount, the invoice another.

The second issue is rule priority. If an amount discount, quantity tier, and contract price trigger simultaneously, the result depends on application order, so the order is fixed explicitly, and rounding rules are applied last — otherwise the total does not match the document.

Options and their limits

Option When it fits Where it breaks
Standard cart discounts simple retail, discount from amount or quantity does not account for price types and contract, is lost when moving to invoice
Tiered levels by price types wholesale grid of fixed volume ranges rigid grid, does not cover bundles and cumulative conditions
Rules on the accounting system side contract prices, multiple warehouses and currency conditions calculation goes into an external call — caching and timeout handling are needed
Custom cart calculation non-standard logic: bundles, weight, cross-discounts requires rounding tests and rule priority regulations

Choosing an option is a trade-off between flexibility and predictability: the more conditions, the more important it is that the same price is produced in the cart, order, and invoice.

For mixed scenarios, a combination is more often used — base price from the accounting system, tiers and rounding on the site side, with an explicit rule application order.

Implementation stages: from catalog audit to handover

Price calculation by order volume affects not only the product card: it is connected to the cart, warehouse stock, promotions, and exchange with the accounting system. Therefore we proceed in stages — each closes a risk that would otherwise appear already on production orders.

Work sequence

  1. Catalog audit. We export the structure of sections, price types, trade offers, and properties through which discounts are already set. We record where rules are duplicated or contradict each other and which items fall into the new calculation.
  2. Calculation scheme. We agree on the volume scale — quantity, amount, weight, or product set — rule priority when discounts and promotions overlap, rounding order, and the impact of conditions on delivery cost.
  3. Price calculation implementation. We configure rules on the accounting system side and in the catalog so the price is recalculated identically in the product card, cart, and checkout.
  4. Data exchange. We check that recalculated prices and discounts are correctly exported to the catalog and that discrepancies do not accumulate during partial exports.
  5. Test orders. We run scenarios on real orders: scale boundary, mixed cart, repeat purchase, cancellation. We reconcile the total with the accounting system calculation down to the last line item.
  6. Settings handover. We provide the rule table, priority scheme, instructions for adding new scales, and change log — so conditions can be updated by your team.

Configuration, regulations, and documentation at output

Price setup by order volume does not end at launch — it ends with a package of materials that the customer can use and change logic with without us.

We record all calculation rules as diagrams, tables, and instructions so the logic does not remain only in the developer's head and is not reconstructed from code on the first edit.

  • Settings map — where exactly in the system discounts, thresholds, and condition groups are set, which sections are responsible for price recalculation in the cart and order.
  • Calculation rule scheme — sequence of condition application: what is checked first, how overlaps of promotions, personal conditions, and volume conditions are resolved.
  • Condition matrix — table “order volume × product group × customer type → discount amount” with priorities indicated; rules are edited from it without a developer.
  • Pricing regulations — who changes thresholds and in what order, how exceptions are approved, when a rule is considered published.
  • Manager instructions — how to check the applied discount in an order, what to do when it differs from the customer's expectation, where to escalate a disputed case.
  • Maintenance regulations — procedure for checking new rules on test orders, rollback of an erroneous condition, control that recalculation did not affect already placed orders.
  • Change log — versions of the rule set with effective date, to understand after which edit the price changed and to revert to the previous configuration.

Such a package reduces time for any subsequent edit: the manager handles a typical case according to instructions, and development is involved only for new scenarios. Describe the task — we will come back with an estimate and plan for what will be included in handover.

Case: wholesale catalog moved to volume-based calculation

A wholesale catalog with several thousand items and three levels of dealer prices: each of three hundred regular customers has their own set of agreements.

Volume discount lived in the manager's head and was confirmed via correspondence, so the cart price and invoice price regularly diverged. Manual correction took about 40% of orders, and an invoice for an order of two dozen line items was issued in almost an hour.

The calculation was moved into 1C-Bitrix rules. The volume tier is calculated for each line item separately, not by the total order amount — otherwise a large purchase gave a wholesale price for an item bought individually.

A single calculation assembles the price value: the cart, invoice, and export to the accounting system take it from one source, and manager editing the price in the invoice became impossible.

What changed after moving the calculation

  • Share of orders with manual price correction: 40% → 3%.
  • Order processing time from checkout to ready invoice: 40–60 minutes → 2–3 minutes.
  • Disputed line items where the customer challenged the price: about 60 per month → 2–3.

The remaining edits are one-off contract terms, not calculation errors, and they are visible in the change log. The catalog grew, the number of price levels too, while manager workload fell: they work on the order, not on reconciling figures.

How do tiered levels differ from cumulative discounts?

A tiered level is a condition on the current order volume: once the quantity or amount threshold is crossed, the price is recalculated immediately, still in the cart.

A cumulative discount is a customer attribute: the threshold accumulates from confirmed purchases over a period, and the new price applies only to subsequent orders.

They differ primarily in the calculation base. For tiers, the base includes the volume of a specific line or the entire order taking into account already applied conditions — the result is visible on every quantity change.

For cumulative discounts, only closed and paid orders count: cancelled, unpaid, and returns are subtracted, so the level may roll back.

Mixed carts require a separate decision: whether promotional items participate in volume accumulation or the threshold is calculated only from base price list lines.

If this is not specified explicitly, the customer reaches volume with cheap promotional items and gets a discount on the entire order.

Returns and recalculation behave differently. A return for the order that lifted the customer to a level cuts the accumulated amount — retroactive recalculation and clear handling of orders already shipped at the old price are needed. For tiers, recalculation is local: return a line — that line's price returns.

In 1C-Bitrix these mechanics are separated: levels live in cart rules, accumulation in discounts on the customer profile and its groups. You cannot combine them into one rule — you will get double application and a discrepancy between cart, invoice, and shipment.

Tiers are used for wholesale and “buying a lot now” logic, accumulation for retaining regular customers; when combined, the calculation base is specified separately for each level.

Technical questions asked before start

Standard discounts in 1C-Bitrix cover simple scenarios: a discount from cart total or product quantity is configured via the admin panel without code changes.

When price depends simultaneously on customer group, cart contents, and pack multiple, combinations exceed what the interface allows — then a calculation module for our rules appears.

The five questions below are usually asked before start: they determine the scope of work and the order of migrating conditions.

Are standard discounts enough?

While there is one condition — yes. If a volume concession stacks with a personal price and must not apply to a promotional item, we describe priorities explicitly: otherwise two promotions produce a double concession.

What happens to already placed orders?

They retain the price at the moment of confirmation. New rules apply to the cart and new orders; retroactive recalculation only by separate decision and with a change log.

How to reconcile prices with the accounting system?

Exchange is by product items and customer groups, so reference data must match. We set reconciliation as a regulation with a discrepancy report, not a one-time export.

Where does the customer see their price?

In the customer account, the price is recalculated for their group and volume; there they can also see how much is left until the next threshold. Managers stop calculating this manually.

What about old conditions and rollback?

We migrate in stages: first the rules calculate the price in parallel with the current one, then they are enabled. Rollback is by restoring the previous rule set, without editing orders.

Let’s discuss the task and come back with an estimate and plan

Analysis starts not from a ready technical specification but from what already exists in the system: maps of price types, recalculation rules, and order history.

This is enough to see where logic diverges from real sales scenarios and propose a scheme, rather than rewrite everything.

  • map of price types and how they are assigned: by customer group, contract, warehouse, or manually in the card;
  • volume threshold rules — from what quantity recalculation starts, whether it is calculated by line or by the whole order;
  • export of product items and trade offers linked to base prices;
  • two or three orders where the price should have been recalculated but was not — they show at which step the logic breaks;
  • roles and user groups with access to wholesale prices and how they log in to the customer account;
  • access to a test environment or database copy to check rules on live data without affecting the production system.

In response we send a solution scheme: where exactly we calculate the price — in the catalog, cart, or checkout — so the total matches documents sent to 1C during export.

The scheme includes a list of work by blocks, sequence and timing of stages, and separately — what we do with already placed orders and how we roll back changes if a rule turns out to be erroneous. Describe the task and send what you have: we will come back with an estimate and plan.

Our competencies:

Latest works

  • B2B ADVANCE company website development
    B2B ADVANCE company website development
    1543
  • Website development for FIXPER company
    Website development for FIXPER company
    1060
  • Development of an Online Appointment Booking Widget for a Medical Center
    Development of an Online Appointment Booking Widget for a Medical Center
    837
  • Development based on 1C Enterprise for MIRSANBEL
    Development based on 1C Enterprise for MIRSANBEL
    928
  • Website development on CRM Bitrix24 for DOLBIMBY
    Website development on CRM Bitrix24 for DOLBIMBY
    865
  • Development based on Bitrix24 for the company TECHNOTORGKOMPLEKS
    Development based on Bitrix24 for the company TECHNOTORGKOMPLEKS
    1223