Y
Y
yooooooman2021-02-19 19:00:27
URL Handling
yooooooman, 2021-02-19 19:00:27

How is a cnc faceted filter made?

Good day!

How to do a faceted search-filter of goods with cnc (friendly url). Filter example https://basicdecor.ru/lyustry-potolochnye/artemide... . More precisely, the question is how programmatically in such CNC filters it is recognized that "dostavka-bistro" and "dostavka-pod-zakaz" refer specifically to the "delivery" attribute when the url is processed? I work with the yii2 framework, I understand how to make the filter Search%5Bid%5D=&Search%5Bdate_from%5D=&Search%5Bdate_to%5D=, etc. But I can’t figure out how to make a friendly url and at the same time, so that you can still select more than 1 value by attribute. In general, it is planned to write a filter-search for products in conjunction with elasticsearch or sphinx.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question