Спасибо, воспользовался данным примером из api_help:[CODE]<select name="LOCATION">
<?Bitrix\Main\Loader::includeModule('sale');
$db_vars = CSaleLocation::GetList(
array(
"SORT" => "ASC",
"COUNTRY_NAME_LANG" => "ASC",
"CITY_NAME_LANG" => "ASC"
),
array("LID" => LANGUAGE_ID),
false,
false,
array()
);
while ($vars = $db_vars->Fetch()):
?>
<option value="<?= $vars["ID"]?>"><?= htmlspecialchars($vars["COUNTRY_NAME"]." - ".$vars["CITY_NAME"])?></option>
<?
endwhile;
?>
</select>[/CODE]
<?Bitrix\Main\Loader::includeModule('sale');
$db_vars = CSaleLocation::GetList(
array(
"SORT" => "ASC",
"COUNTRY_NAME_LANG" => "ASC",
"CITY_NAME_LANG" => "ASC"
),
array("LID" => LANGUAGE_ID),
false,
false,
array()
);
while ($vars = $db_vars->Fetch()):
?>
<option value="<?= $vars["ID"]?>"><?= htmlspecialchars($vars["COUNTRY_NAME"]." - ".$vars["CITY_NAME"])?></option>
<?
endwhile;
?>
</select>[/CODE]