Blog Sections Open

Filtering Ditto Output by TV Values Without Losing Folder Control

Catalog structures in Evolution CMS often grow several levels deep, and that is where simple Ditto calls start colliding with hideFolders , level extenders, and TV-based filtering. The original question behind this topic

Catalog structures in Evolution CMS often grow several levels deep, and that is where simple Ditto calls start colliding with hideFolders, level extenders, and TV-based filtering. The original question behind this topic emerged from exactly that situation.

Common Tension

  • you want items from deep levels
  • you do not want container folders in the output
  • you still need TV-based filters such as size, type, or capacity

Typical Ditto Call

[[Ditto?
 &tpl=`tovar`
 &filter=`razmer,XS,1`
 &hideFolders=`1`
 &depth=`5`
]]

What to Watch

Once folder hiding and filters are mixed, first confirm which resources are actually included in the source set. Many “filter does not work” reports come from the selection layer, not from the filter syntax itself.

Recommended Debug Path

  1. render the same Ditto call without the filter
  2. confirm the correct resources are included at the chosen depth
  3. add the TV filter back
  4. only then adjust folder visibility and extenders

This order keeps catalog debugging manageable and prevents you from chasing the wrong parameter.

Newer post

Making shk_widget Render the Right Product Parameter

How to debug Shopkeeper parameter TVs when shk_widget outputs the wrong value or uses the wrong identifier.

Older post

Using @CHUNK Bindings in DropDown TVs for Country Lists

How to populate a DropDown List TV from a chunk and when this pattern is useful for long country or region selectors.