Regional subdomains and subfolders without using a multi-store!
Features:
- built-in 170 cities with a population of > 100,000 thousand people (with Russian postal addresses)
- Without multi-store
- The ability to use a multi-store in parallel to create a new website with its own set of subdomains and subfolders.
- Usage toponyms (in Moscow, Samara) and address substitution
- Your own shortcodes
- Separate robots.txt for each city (with the ability to mass edit)
- Using subdomains and subfolders together on one website (for example samara.site.ru and site.ru/perm/)
- All shortcodes starting with config_... replace the standard store settings, for example config_address or config_telephone. This means that if you add a shortcode with that name, it will automatically be replaced wherever it is used by the system.
Concepts:
- Shortcode - the name of the column that you create in the module. All columns are shortcodes that will be replaced with the value in the line of the desired city.
Using shortcodes:
- Anywhere on the site in the format %rs_[название колонки]%. For example, a column with the toponym "in Moscow" is called city_gde - which means you can use the shortcode %rs_city_gde%
Get shortcode data in the controller:
- All shortcodes in an array: $this->config->get('regional_domain')
- For example, getting cities: $this->config->get('regional_domain')['city']
Important:
- For subdomains to work, before installing the module, make sure that the server (hosting) is configured so that any subdomain is accessible and links to the folder with the main site. For example, if everything is configured correctly, the subdomain sfafssasf.site.ru should open your website. For example, in ISP Manager this is very easy to set up: in the alias (alias) of the main domain, just add the entry *.site.ru
Nuances:
- There may be problems with caching modules or templates that cache things like menus. You need to disable caching of links (menus and other things)!
- Working with the Mega Filter Plus module is not guaranteed!
How to update
1. Go to the modifiers page
2. Remove the "Regional Store" modifier
3. Update the modifier cache.
4. Install a new modifier through the modifier installer.
5. Refresh your cache
What's new in version 1.2
- Important correction of the robots.txt column
1.1
- Adaptation for opencart 3
- Fixing bugs of the previous version
- Optimization code
Paid?:
Opencart version:
PHP verision:
Activation:
Getting files:
Protection:
VQmod:
Ocmod:
Events:
Uploaded:
08.08.2021
Updated:
23.01.2026
Viewed:
29725
Sales:
149
Файлы будут доступны после покупки
На запросы реагирует быстро, ещё быстрее решает возникающие вопросы.
Никогда не отказывает в просьбах проработать дополнительный функционал или исправить возникшие ошибки, даже если они возникают не на стороне модуля.
Что касается модуля, отличная работа, прост в настройках, лёгок в управлении.
Рекомендую, не пожалеете.
Андрей, спасибо за адаптацию и консультацию!
Решил сделать магазин на поддоменах, причем не стандартный а с работой под собственные настройки, конечно кастомные.
Связался с автором, он быстро откликнулся. В начале обговорил с ним детали, автор написал что мои хотелки сделать возможно. Составил для него подробное ТЗ для оценки работ. Разработчик оценил за пару дней, договорились о цене.
Автор сделал все мои настройки описанные в ТЗ для работы магазина именно так как написано в ТЗ что соответствовало моим требованиям
Выражаю разработчику большое респект за оперативность и профессионализм. Рекомендую