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
- render the same Ditto call without the filter
- confirm the correct resources are included at the chosen depth
- add the TV filter back
- only then adjust folder visibility and extenders
This order keeps catalog debugging manageable and prevents you from chasing the wrong parameter.
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.
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.