web_99
Боевой сайт 2 months ago
parent a03ba8435a
commit 0130d4b305
  1. 3
      local/templates/.default/components/bitrix/catalog/main/section_vertical.php
  2. 2
      products/index.php

@ -16,7 +16,6 @@ use Bitrix\Main\ModuleManager;
use Bitrix\Iblock\SectionTable; use Bitrix\Iblock\SectionTable;
Loader::includeModule('iblock'); Loader::includeModule('iblock');
// Устанавливаем SEO мета-теги // Устанавливаем SEO мета-теги
@ -37,7 +36,7 @@ global $sotbitSeoMetaFile;//для установки изображения
// echo $sotbitSeoMetaFile;//вывод изображения // echo $sotbitSeoMetaFile;//вывод изображения
if (!empty($sotbitSeoMetaH1)) { if (!empty($sotbitSeoMetaH1)) {
$APPLICATION->SetTitle($sotbitSeoMetaH1); $APPLICATION->SetTitle($sotbitSeoMetaH1);
} }
if (!empty($sotbitSeoMetaTitle)) { if (!empty($sotbitSeoMetaTitle)) {
$APPLICATION->SetPageProperty("title", $sotbitSeoMetaTitle); $APPLICATION->SetPageProperty("title", $sotbitSeoMetaTitle);

@ -3,7 +3,7 @@ require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetTitle("products"); $APPLICATION->SetTitle("products");
?><?$APPLICATION->IncludeComponent( ?><?$APPLICATION->IncludeComponent(
"bitrix:catalog", "bitrix:catalog",
"main_bx_url", "main",
array( array(
"ACTION_VARIABLE" => "action", "ACTION_VARIABLE" => "action",
"ADD_ELEMENT_CHAIN" => "Y", "ADD_ELEMENT_CHAIN" => "Y",

Loading…
Cancel
Save