S
S
strify_252019-09-24 22:18:06
1C-Bitrix
strify_25, 2019-09-24 22:18:06

Is there tagging in the Bitrix directory?

Hello. Is it possible to make it possible to create tagging by product properties in the Bitrix catalog? For example, several products have the color property set to red. It is necessary not to create a page like /catalog/color-red/ through a filter and display such links in sections

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2019-09-24
@strify_25

For example, you can make the following rule in urlrewrite:

array (
    'CONDITION' => '#^/catalog/([a-zA-Z_]+)-([a-zA-Z_]+)/([\\?\\#].*)?$#',
    'RULE' => 'PROP=$1&VAL=$2',
    'ID' => '',
    'PATH' => '/catalog/byprops.php',
    'SORT' => 10,
  ),

And accordingly in /catalog/byprops.php:
And below is a regular catalog component by this filter.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question