Blog Sections Open

Building Multiple Independent Filters on One Page with Ditto

When one filter helper cannot model the interface you want, it is often better to design explicit filter logic around Ditto rather than fight the helper.

Projects often start with a simple filter helper and then hit a wall when the page needs several independent filters at once. In that situation, the better route is usually to treat filtering as explicit listing logic rather than expecting one addon to handle every combination.

A practical approach

  1. collect filter inputs from GET or POST parameters
  2. normalize them into a clear set of conditions
  3. build the Ditto call or supporting data source from that normalized state
  4. keep each filter independent so combinations remain predictable

This gives you more code than a one-line helper, but it also gives you much more control over UX, query logic, and future extension.

Newer post

Parsing a Template Through the Evolution CMS API Before Output

How to load and parse a template through the API when you need the rendered result before the normal page output stage.

Older post

Planning Product Exports for Yandex Market from Evolution CMS

A practical overview of what an Evolution CMS project needs before exporting catalog data to Yandex Market.