S
S
siroper2020-05-04 01:04:15
1C-Bitrix
siroper, 2020-05-04 01:04:15

Why smart_filter bitrix gives 404?

Hello.

The question is exactly like in this thread , faced exactly the same problem.

The CNC is configured so that the category: https://site.ru/catalog/rozetki/retro/
Product URL: https://site.ru/product/12345/

Settings: The
5eaf3df055cf7121171564.png

number of products counts when filtering
5eaf3f34f3cbf863253009.png

But when clicking on " show" redirects to https://site.ru/product/filter (respectively 404).

Help me understand, I don’t understand what’s the matter, I look everywhere where possible ...

urlrewrite.php - I don't know if it's needed for the filter or not, but apart from these directory-related entries, there are no others in it.
29 => 
  array (
    'CONDITION' => '#^/catalog/#',
    'RULE' => '',
    'ID' => 'bitrix:catalog',
    'PATH' => '/catalog/index.php',
    'SORT' => 100,
  ),
  30 => 
  array (
    'CONDITION' => '#^/product/#',
    'RULE' => '',
    'ID' => 'bitrix:catalog',
    'PATH' => '/product/index.php',
    'SORT' => 100,
  ),

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2020-05-04
@rpsv

You have 2 product and catalog sections (and apparently the catalog component is used both there and there). Bring everything to 1 component and then check (your filter should probably point to /catalog/filter, not /product/filter ).
PS The URL of the product does not have to correspond to its physical location, for this, routing was invented

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question