Answer the question
In order to leave comments, you need to log in
[[+content_image]]
How to filter the output of materials using pdoResources on the fly without reloading the page?
Hello.
There is a page on MODX, where material cards are displayed using pdoResources from different sections. Here is the output code (it is standard):
[[pdoResources?
&parents=`195, 239, 271, 280, 297`
&tpl=`brick_item`
&includeTVs=`mini_image, priceSHT, sort, format, marka, zavod`
&tvFilters=`format==Одинарный`
&limit = `0`
&prepareTVs=`1`
&processTVs=`mini_image`
]]
<div class="filter_block size">
<ul>
<li class="chkd">1х</li>
<li>1,5х</li>
<li>Евро 0,7</li>
<li>Евро 0,9</li>
</ul>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question