What this solution does
This module is developed independently and is not an official product of Belposhta, which does not provide support for this solution.
The module provides full integration with the Belposhta delivery service.
Pickup point management: automatic loading and weekly updating of the list of pickup points via a background agent based on API data.
Cost calculation: retrieval of current delivery rates depending on package weight, destination region, and selected pickup point via API.
Delivery profiles: configuration of multiple profiles with individual parameters for each.
Map integration: display of pickup point locations on Yandex Maps using the JavaScript API.
Access control: flexible system for managing access to module settings and pickup point information.
Architecture:
Handler: the main delivery service handler, extending the base class.
Profiles\Pickup: the "Pickup" delivery profile, serving as the primary delivery type.
Settings:
Yandex Maps: input fields for the JavaScript API key to display maps and the geosuggest API key for address autocomplete.
Data management: function to remove pickup points from the local database.
AWZ: Belposhta, pickup point selection on map. Developer: Andrew Zahalski.
The module includes a function to update the pickup point database by launching a background download agent. Location matching is configured to align cities between the Belposhta service and the Bitrix platform for accurate pickup point mapping.
Delivery profile settings allow configuration for each delivery option, including the default pickup point code and address. An address formatting template is available with variables for the pickup point identifier, name, branch address, operating hours information, and contact phone number.
An option exists to display all available pickup points if no suitable branches are found in the specified city.
General iT can install “AWZ: Belposhta, selection of pickup points (pickup points) on the map”, configure its settings and verify its operation in the existing project.