Служба поддержки работает 24/7 — мы всегда на связи по вопросам хостинга и серверов.Открыт прием заявок на аренду выделенных серверов и размещение оборудования в дата-центре.Напоминаем: рекомендуем включить резервное копирование для дополнительной защиты данных.Доступна новая линейка VPS/VDS с NVMe-дисками и увеличенной производительностью.Технические работы на части серверов завершены. Все сервисы работают в штатном режиме.

MODULE FOR 1C-BITRIX

Andrew Zahalski

AWZ: Stock Limitation for a Single Warehouse

The module adds a delivery restriction rule that verifies whether all items in the cart are available on a single selected warehouse. If any item is missing in the required quantity at the warehouse, the delivery method becomes unavailable for the order. The module integrates with the OnSaleComponentOrderJsData and OnSaleComponentOrderDeliveriesCalculated events.

Technical details

Published
11.03.2026
Updated
26.08.2026
Version
1.0.4
Installed
Less than 50 times
Responsiveness
No
Composite Mode Support
No
Compatible with Sites24
No
Developer
Andrew Zahalski

What this solution does

The module adds a delivery restriction rule that verifies whether all items in the cart are available on a single selected warehouse. If any item is missing in the required quantity at the warehouse, the delivery method becomes unavailable for the order.

The module integrates with the OnSaleComponentOrderJsData and OnSaleComponentOrderDeliveriesCalculated events. This enables dynamic updates to the list of available delivery methods and displays notifications to the user.

During delivery calculation, the system analyzes the cart contents and the quantity of each item. It then checks stock availability at the warehouses specified in the restriction rule settings. If all items are available in the required quantities at any warehouse from the list, the delivery method is activated. If items are available only at a subset of warehouses, the system keeps only those options active and hides the rest, displaying an appropriate message to the user.

The module checks for the availability of all order items at a single warehouse. If the required items are missing from all selected warehouses, delivery becomes unavailable, and an error message is displayed to the user.

The technical implementation relies on the class \Awz\Dlvronestore\AwzCheckOneStoreDeliveryRestrictions, which extends Bitrix\Sale\Delivery\Restrictions\Base. The core validation logic is implemented in the check() method. Integration with the checkout component is handled via event handlers in the Handlers class.

The module has no separate settings in the administration panel. Configuration is performed through the Bitrix interface: within a delivery profile, navigate to the 'Restrictions' section, add a rule named 'By availability of all items at one warehouse', and configure its parameters.

Rule parameters:

Message for unavailable delivery: text displayed to the user if none of the warehouses have all order items.

Message for unavailable delivery at some warehouses: text displayed if items are available only at some of the warehouses.

Warehouses to check: list of warehouses where stock availability will be verified. Multiple warehouses can be selected.

General iT can install and configure this module and check how it works on your website.

UPDATE HISTORY

What’s new

3 releases
1.0.4 (26.08.2026)Latest update

- bug fixes in logic; added an additional parameter (central warehouse = logistics center).

1.0.3 (23.02.2026)

- bug fix.

1.0.2 (22.02.2026)

- bug fixes;

- first version.

YOUR PROJECT INFRASTRUCTURE

A home for your website

BEFORE YOU ORDER

Let’s go through the details.

How do I purchase a solution?
Submit a request on the solution page. A manager will check your selection, confirm the terms and arrange the purchase. We can also help with installation and setup.
Is a 1C-Bitrix licence included?
The default price covers the solution itself. If the developer offers a bundle with a 1C-Bitrix licence, you can select it separately on the solution page.
Can I try a solution first?
Available online demos and trial periods are shown on the solution page. The trial length depends on the solution.
How much does renewal cost?
Renewal is calculated as 50% of the full solution price before discounts. A manager will confirm the renewal terms and period before you order.
Can you help implement the solution?
Yes. We can build a website or store based on a template, or install, configure and check a module for compatibility. The scope and cost of the work are agreed separately.

GENERAL iT

Let’s discuss your project

Получатель: ООО «Дженерал Ай Ти Рус»

1C-BITRIX

Install solution

Enter a domain with or without https://. The installer will open in your website control panel in a new tab.

Solution screenshots

Solution screenshot