- Модуль: catalog
- Путь к файлу: ~/bitrix/modules/catalog/lib/component/usestore.php
- Класс: BitrixCatalogComponentUseStore
- Вызов: UseStore::getCodesStoreByZone
static function getCodesStoreByZone() :array
{
switch (self::getPortalZone())
{
case 'ru':
$result = [
self::STORE_ALIEXPRESS,
self::STORE_OZON,
self::STORE_SBERMEGAMARKET,
self::STORE_WILDBERRIES,
];
break;
case 'by':
$result = [
self::STORE_ALIEXPRESS,
self::STORE_OZON,
self::STORE_WILDBERRIES,
];
break;
case 'ua':
$result = [
self::STORE_ALIEXPRESS,
];
break;
default:
$result = [];
break;
}
return $result;
}