$arParams["ELEMENT_SORT_FIELD"] = "CATALOG_PRICE_".$codepr;
$APPLICATION->IncludeComponent(
"bitrix:catalog.section",
"",
array(
"ELEMENT_SORT_FIELD" => $arParams["ELEMENT_SORT_FIELD"],
"ELEMENT_SORT_ORDER" => $arParams["ELEMENT_SORT_ORDER"],
"ELEMENT_SORT_FIELD2" => $arParams["ELEMENT_SORT_FIELD2"],
"ELEMENT_SORT_ORDER2" => $arParams["ELEMENT_SORT_ORDER2"],
...
<?=$APPLICATION->ShowViewContent("search_pagination");?>
JsHttpRequest.query(
address, // the path to backend
data, // the JavaScript array with data you want to pass
onreadyfunc(result, errors), // the function is called when an answer is ready
nocache // if set to TRUE, caching will be disabled
);
Проблему решил, подключив биб-ку в футере.