S
S
sagaton2022-04-07 13:36:47
1C-Bitrix
sagaton, 2022-04-07 13:36:47

How to make a detailed view of the product?

Good afternoon.
There is a catalog (a complex component), through which I display a smart filter and a list of products.
When you try to go to the detailed view, an Ajax request occurs and the page remains the same, only instead of the list of goods, the details of the selected product are displayed, but if you refresh the page, the list of goods becomes again.
How to make a detailed catalog product page?

URL страницы информационного блока: #SITE_DIR#/catalog/
URL страницы раздела #SITE_DIR#/catalog/#SECTION_CODE#/
URL страницы детального просмотра #SITE_DIR#/catalog/#SECTION_CODE#/#ELEMENT_CODE#/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Роман Морозов, 2022-04-07
@Q_BASIC

Раз у вас ajax там появился, вы видимо его включили в параметрах компонента каталога. Там же рядом со включением ajax есть еще параметры. На сколько помню вам надо включить AJAX_OPTION_HISTORY.
Поиграйтесь с параметрами
Все ajax настройки у компонента:
"AJAX_MODE" => "Y",
"AJAX_OPTION_SHADOW" => "N",
"AJAX_OPTION_JUMP" => "N",
"AJAX_OPTION_STYLE" => "Y",
"AJAX_OPTION_HISTORY" => "Y",

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question