What this solution does
Bastionplus: Regions is a multi-region module for online stores built on the 1C-Bitrix platform. One website serves multiple cities: visitors select a region manually or the system determines it automatically via GeoIP. Based on the location, the system displays local contacts, prices, and stock availability, while orders are placed with the correct address attached.
The module is suitable for stores with branches and city-wide delivery that do not require a separate website for each location. It is effective for projects using custom templates and enables rapid deployment of regional features without complex implementation.
The solution supports various URL modes: a single domain with the city selection stored in a cookie, subdomains (such as msk.example.ru), separate domains for each region, or a path prefix (example.ru/msk/…).
Key features include a regions directory containing codes, names in various grammatical cases, contact details, the ability to set a default city, and options to mark favorite locations. Integration with Bitrix locations (Sale Location) is supported, along with the import of city data for regions. A city selection widget is provided with search functionality and GeoIP confirmation.
Content supports automatic substitution of tags such as #REGION_NAME#, #REGION_NAME_IN#, #REGION_PHONE#, #REGION_ADDRESS#, and others. Catalog price types and warehouses can be configured per region. During checkout, location information is automatically inserted, and delivery methods and payment options are filtered based on the selected region. Separate robots.txt files and sitemaps are generated for subdomains and domains. GeoIP support is based on the GeoLite2 database, which can be downloaded or uploaded manually.
The module supports importing regions from CSV files, includes a setup wizard, and provides a readiness diagnostic tool. Content and product placement by city is managed through infoblock properties: if a property is empty, the data is displayed in all regions.
Environment requirements:
PHP version 8.2 or higher, with the Highload-Blocks module active.
For prices, warehouses, and order processing, the Trade Catalog and Online Store modules are required (Small Business edition or higher).
On the Start edition, contact details, tags, widgets, and SEO features are available, excluding the store functionality.
Using subdomains or separate domains requires DNS and SSL configuration on the hosting server.
Downloading the GeoIP database on the server requires the cURL and Phar extensions.
Limitations:
The module does not replace the Bitrix multisite architecture for creating completely independent websites.
It is not designed to operate alongside other regionalization modules on the same site.
The GeoLite2 database is a third-party product by MaxMind and requires periodic updates.
The Regions module includes a menu with sections: Overview, Wizard, Regions, GeoIP, Settings, and Instructions. To integrate the functionality into the site template, add the city selection component. A detailed step-by-step guide is available in the Instructions section of the module administration panel.
General iT can install “Bastionplus: Regions”, configure its settings and verify its operation in the existing project.